Working with the agent
How the agent behaves in a chat, what it runs and reads, and how it works in web and Slack channels.
Conversations#
- Responses stream in real time as the agent works
- A message you type while a response streams is queued rather than lost. Queued
messages show in the chat under the response being written and send together
as one follow-up once the response finishes. Send now under them, or
⌘Enter(Ctrl+Enter) in the composer, stops the response, keeps what it wrote and sends them right away. Pointing at a queued message, or looking beside it on a phone, shows Edit, which moves it back into the composer, and Discard. A/command queues the same way and runs on its own when its turn comes - On Slack, a thread reply sent while the previous answer is still streaming waits instead of interrupting it, since Slack has no composer to hold it in. It runs once that answer finishes, merged with anything else sent in the meantime into one follow-up reply
- Escape, or the Stop button, ends the response and returns anything queued to the composer. An errored response, or one that ends by asking a question, does the same and sends nothing
- When the agent asks you through a card on the web, such as a question with buttons, a form or a confirm card, the chat shows as waiting on you. An amber dot marks it in the sidebar and on the Chats page until you answer the card or it expires after 24 hours. A question in plain text leaves no dot. Slack has no such list
- Ask the agent which model answers a chat and it reports the model this chat runs on, whether a fallback is serving, the model each of Auto, Fast and Slow runs for you with who chose it, and the models behind read aloud, dictation and calls. It shows no key. Changing a model or voice stays on the Models and Voice settings pages
- Long conversations are summarized to keep things fast while preserving important information. The earlier messages stay in the transcript. An "Earlier messages summarized" divider marks where the agent's view was cut, and a spinner row shows while the summary is being written
- The agent can search your past conversations, including the channels and direct messages you can read, and names the channel each match came from. Ask it about one channel by name to search that channel alone
Scheduled task messages#
A scheduled task messages you only when its instructions call for a message. On the web, everything a run says that way arrives once the run ends, as one message from Ghostlyn in the task's own channel. That channel sits as one row in Chats, titled with the task's name.
The run's whole chat becomes that message's thread. Replying there continues the same run with its context and its projects, billed like any personal chat. Each run starts fresh in a new thread, so a long-running task never carries earlier runs into the next one. A push and an email follow each run unless the channel is muted.
In Slack the message arrives as a direct message instead, and a reply in its thread continues the run the same way. A run with no task behind it, such as one a webhook starts, still opens a chat of its own for each message.
Background tasks#
Asking for long work in the background, such as research across several sites, starts a task that runs on its own while the conversation carries on. The tool call's card reads the task name followed by "background" and links to its page under Tasks. That page says "Waiting to start", then "Starting", then streams the run as it works.
The agent picks the result up and replies in the same chat once the task finishes, on the web and in Slack, with no need to ask what it found. A canceled task, or one that finishes while a card in that chat waits for an answer, is reported the next time you write there or answer the card. The agent offers another pass on the result rather than starting one itself.
A background task sees nothing of the conversation, only the instructions it was handed. It gets the projects switched on in the chat that started it, or only the ones a skill names when it starts the task, so a skill can hand a check to a task that holds a single project. It can read files, so a skill passes a file's path rather than its text.
Two background tasks run at a time per person, across the web, Slack and the CLI. A third one asked for meanwhile waits for one of those to finish first. A background task cannot ask questions, start another background task or send a notification. Canceling it from its page reports it as canceled in the chat.
Archiving a chat, by hand or through /clear, cancels every background task and
batch it started that is still waiting or running. It also stops any command
still running on its computer. Unarchiving starts none of them again, and the
agent reports what was canceled when the chat comes back. A scheduled task the
chat created keeps running, since a task has its own Pause.
Batches#
A batch works through a long list, such as a few hundred investors to research, with the same instructions for every item. The list comes from a table query, a connector's results or a file rather than being retyped. Ghostlyn splits it into parts of about 10 items, at most 50 parts, and runs two parts at a time in the background. It starts at once unless the organization's Tool approval setting asks before writes. Then a confirm card names the item and part counts first. A typed reply to that card cancels it, so Run on the card is what starts the batch.
A card under the call shows whether the batch is running, finished or stopped. It carries a bar and counts of done, running, waiting and failed parts, with the reason for each failed part. It also shows the share of the monthly budget the batch has spent and the time left or taken. Stop on the card lets the at most two running parts finish and cancels the rest. Once every part ends, the agent replies once in that chat with one summary.
Each part writes its results where the instructions say, such as into the table. A second pass takes a fresh list of what is still empty, such as a query for rows whose field is empty, rather than rerunning the whole batch. In Slack there is no card, so asking how the batch is going reads its counts and asking to stop it stops it the same way.
Reviewed writes#
When an organization's Tool approval is Review writes, a write that would otherwise show a confirm card goes to a fast model first. It sees what you asked for in that chat, or for a scheduled task its instructions and the descriptions of its active skills. It also sees the calls made earlier in the turn and the pending call. It never sees the agent's own replies or what a tool returned, so text inside an email or a web page cannot talk it into anything.
A write that was asked for, or is a routine step toward it, runs with no card. A write nobody asked for, or one that reaches further, is held. That covers deleting, sharing outside the organization, changing access, writing many records at once and moving money. In a chat a held write shows the usual confirm card with the review's reason as its first line. In a scheduled task it stops the run and tells you the reason. When the reviewer cannot be reached, the write falls back to the card in a chat and stops a scheduled run.
A send never goes to this review, so under Review writes it goes to a person. A webhook task, a background task the agent started and a request from an outside agent are not reviewed either, and stop at their first write as under Ask before writes. A tool set to Needs approval on its Tools page always goes to a person.
Held sends#
In your own chat, a send that would otherwise go out with no card, such as an email under Allow all, first checks that you asked for it. An email, a chat message, a post, a share or an invite all count. The check reads only your own messages in that chat, never the email thread or page the agent read.
A send you asked for, such as "reply to kapil@partner.example and send it" with that address as the only recipient, goes out with no card. Ghostlyn stands behind a recipient only when you typed the exact address, it is your own address, or it belongs to the one colleague whose name you used. A send to an address you never typed stops on the card, a reply included, so "reply to Kapil and send it" opens the card naming the address. It stops the same way when two colleagues share the name you used. A request to check, summarize, review, prepare or draft stops on the usual send card, and so does one that says not to send yet or a chat with no message of yours. Anything less clear, such as "follow up with kapil@partner.example" or a request in another language, goes to the same fast model as Review writes, which holds the send unless you asked for this message to go to these people. A held send shows the card with the reason as its first line, and Send sends it once. A scheduled task keeps its own approved recipients, and a webhook task or a request from an outside agent is not checked.
Steps that delete data#
A tool that deletes or overwrites what nothing brings back always stops at a
confirm card in a chat with a person in it. That holds under Allow all, Review
writes and Ask before writes, and even when you asked for the step. The card
opens with "This cannot be undone" above every argument of the call, and Run
runs that one call. A second call asks again. The Review writes reviewer never
sees it. A skill's tool tagged @destructive is one, and so is a connector tool
whose server marks it destructive or that is not read-only and has delete,
destroy, purge, erase or wipe as a word in its name.
An organization admin lifts the card by setting that one tool to Always allow on its Tools page. In a personal organization its owner does the same, and a member's own setting never lifts it. Where nobody can answer a card, such as a scheduled task, a webhook task or a request from an outside agent, the step is refused with nothing run, unless an admin set the tool to Always allow. A project, skill or connector attached to a channel, a direct message or a company task as Viewer never offers such a tool.
Running code#
The agent writes and runs small JavaScript and TypeScript programs in a sandbox.
One-off code handles a single job, and a script stored as scripts/NAME.ts in a
project, skill or app is called by its path.
A script is not limited to computing on its own data. It can call the agent's own tools, so one script can read files, search the web and plot a chart in a single step. The tools of a loaded skill, app or connector are reachable the same way.
Some tools stay out of scripts by design:
- Connector tools that reach an outside service under your sign-in
- Tools that send something outward, such as a message
- Tools that ask you a question or show a form, since a script returns one value and cannot wait for your answer
A stored script reads and writes the tables of the project or skill it belongs to. One-off code belongs to nothing, so it names the project or skill and reaches the tables active in the chat, with the same access you have. One save takes up to 500 records and saves all of them or, when a row fails its check, none, naming the failing rows. That is how the agent imports a large file into a table: a script reads the file, up to 2 MB, and saves its rows in a few steps rather than the agent retyping them.
Libraries for Word, Excel, PowerPoint and PDF files are built in, along with charting, data tables and statistics. Other packages and direct network or file access are not, so everything outward goes through the agent's tools.
Downloads and uploads#
The agent downloads a file and saves it into a project in the same step, such as a photo into Home. A PDF or Office file saved this way keeps its extracted text, so the agent can read it afterwards. A scanned PDF has no text, so on a model that can see images the agent reads its pages as images instead, the first 10 unless it asks for more. A scanned PDF attached in a chat is transcribed once at upload, so reading it returns that text and the pages stay one request away. The reply says what was saved, its size and its type, so a login page saved under an image name shows for what it is. Only a successful response is saved.
The agent can also upload a stored file or a chat attachment to an outside address, but only before it reads any outside content in that turn, as Privacy and access explains. Asking again in a fresh message works. A multi-step transfer, such as download then upload, belongs in a script, which has no such limit.
Google Drive takes a chat attachment or a stored file by its path, so a PDF dropped into the chat lands in a Drive folder as it is. Its contents never pass through the model on the way. The only tokens spent are on whatever text the agent reads to act on it, such as the parties and dates for a register record. Reading one back works the same way: the agent saves a PDF, Word, Excel or PowerPoint file from Drive as a stored file, which extracts its text, and reads that text alone rather than the file's bytes.
Google Drive reaches a team's shared drives as well as My Drive and Shared with me. A folder in a shared drive that is shared with the connected account lists, reads and takes uploads like any other. A file the account has no access to comes back as File not found rather than as a permission error. That message means the file was never shared with the account the connector signed in as.
A script moves binary files too. It sends and receives bytes up to 2 MB inside the sandbox, and saves a larger download straight to a file, up to 5 MB.
Images, audio and video#
The agent can look at a jpeg, png, gif or webp file it reads out of a project, skill or app, or one pasted into the chat, as long as the chat runs a model with vision. It sees the actual image and can answer questions about what it shows.
A model without vision, or a binary file outside those four types such as an svg, a font or an archive, gets a description instead. That is the file's path, its type and its size, plus the caption already stored for a pasted image when one is ready.
When the agent links or shows a temporary file in its reply, such as a screenshot from a connector or a PDF it built, a copy is kept with that reply and stays after the temporary file expires. A picture shows in the reply and any other file appears as a download card in the web chat, or as a file under the reply in Slack. A reply keeps at most 10 such files.
An audio file attached in the chat or posted in Slack, a Slack voice clip included, reaches the agent as a machine transcript. The file is transcribed in the background and a turn waits up to 60 seconds for it, or stops waiting when you press Stop. A transcript still unfinished then is read by later turns once it lands. The agent sees the text under a header that names it a machine transcript, or a note saying why there is none. Transcription bills the seconds of audio to whoever sent the file. A file from someone at another company bills your organization.
A video attached in the chat or posted to the agent in Slack reaches it the same way. Gemini writes a machine description in the background, with timestamps, the text on screen and what is said. A turn waits up to 60 seconds for it. The description can be wrong about on-screen text, so the agent checks details against frames. It copies the video onto its computer, pulls frames with FFmpeg and reads them, which needs a model with vision. The description bills whoever sent the file as model use.
Paid built-in skills#
Some built-in skills and connectors call a paid outside service for each use, such as a LinkedIn profile lookup. Each call draws on the monthly budget, the same one the agent's own model use draws on.
The Speech skill is one. It turns text, a post or a document into an mp3 file in a project, read aloud by Soniox. It bills each character it speaks, about 70 cents an hour of audio. One call records about five minutes, so a longer piece takes several calls, each adding to the same file. It can also narrate a script as one clip per scene with a list of when each word is spoken, which a video or slideshow uses to time itself. It bills the seconds it transcribes for that.
The Video skill builds on it. It turns a brief into a narrated explainer of about a minute, with your own logo, images and colours. It saves an mp4 with a poster and captions in the project you pick, Home unless you name another. It needs the chat's computer, where it installs its renderer and a browser, so it works in a chat or a team channel that has one. It shows the script for approval first, then a sheet of one frame per scene, and renders only once you approve that too. Only the narration is billed, as Speech bills it, while the computer's time counts as computer use.
The Images skill is another. It creates a picture from a description, or edits up to four pictures you already have. It saves the result as an image in the project you name, shown in the reply and uploaded to a Slack thread. Standard quality runs Google's Nano Banana 2.1 through OpenRouter at about 3.5 cents an image. Best quality runs OpenAI's GPT Image 2.5 at about 13 to 21 cents and suits a picture that must carry readable text. Both vendors process the prompt outside the EU. Each picture bills what the vendor reported for it, and a call takes 10 to 60 seconds.
Every built-in skill is available in every chat without installing, and the agent loads the one that makes what was asked for. A simple icon is drawn by hand, while a picture of a thing comes from Images. You can switch Images off for yourself under Settings, Features, and an admin can switch it off for everyone under Organization, Features.
Deleting table records#
The agent deletes either named rows from a table or every row matching a
condition, such as every topic whose status is done. One request takes one form
or the other, never both. A condition names a field the table declares and one
of the operators ==, !=, >, >=, < and <= for each clause. Anything
else is refused before a row is touched, so a mistyped condition never deletes
the whole table. There is no cap on how many rows one request removes, since
every delete is recoverable.
Deleted rows move to a trash rather than disappearing outright. A row stays there for 30 days before it is permanently purged. Click Revert on the tool call in the chat to bring the rows back within that window. A revert past the window, or of a call already reverted, fails with a message under the tool call instead of silently doing nothing.
Web channels#
Members of an organization talk to each other in channels on the web, from
Channels in the sidebar. A message that mentions @Ghostlyn always gets an
answer. A mention at the top level starts a thread under that message where it
replies. Mentioning it in a thread people started brings it in with the earlier
replies quoted, so it sees the question. In a thread, it reads the files and
images on the message the thread started from, as well as those posted in the
thread.
Without a mention the agent decides for itself. It reads a reply in a thread it
already answered in, and a top-level message in a channel where it posted in the
last 10 days. It answers only when someone states a need it can meet, briefly
and in a thread. Thanks, chatter, announcements and a question for a named
colleague get no answer. Ask Ghostlyn to stay out of a thread and it stays quiet
there until the next mention. In a direct message it answers only a mention,
unless a member switches on Respond automatically in the conversation's …
menu.
The agent there runs as the organization's shared agent. It reaches built-in skills and the projects linked to the channel, never a member's own chats, files or connections. It knows whether the channel is private and what its description says. It can look up who is in a channel, who manages it and which projects it links. A channel keeps no memory of its own. A channel that wants the agent to keep notes links a project it can change, and the team reads and corrects those notes on that project's page. Each turn draws on the monthly budget.
Slack channels#
Ghostlyn also works inside Slack. If your organization has set it up, you can chat with the agent in direct messages in Slack, with threads for multi-turn conversations.
In a public or private channel, invite Ghostlyn with /invite @Ghostlyn, then
mention it to start a thread at your message. /remove @Ghostlyn takes it out
of the channel. Mentioning it inside a thread quotes the messages since its own
last reply there, or the whole thread when it never replied, so it sees the
question. Without a mention it decides for itself, as in a web channel. It reads
a reply in a thread it already answered in and a top-level message in a channel
where it posted in the last 10 days. Each turn draws on the monthly budget, and
a person without a Ghostlyn account is asked to get an invitation.
The agent in a channel uses only the projects, connectors, skills and apps attached to it. The agent is never a member of a project, so a project's Sharing panel cannot invite it, and asking to add Ghostlyn there finds nobody. Whoever administers a project, connector, skill or app attaches it to any channel they are in, Slack or web. They use Attach to a channel in the Channels section of its own Sharing panel, behind a confirmation on a Slack channel. An organization admin also attaches from Settings, Organization, Organization settings, Integrations, using Attach on the channel's row under Channels.
A member who administers nothing there asks the agent in the channel for what they need. The agent sends a notice to the people who can attach it, each linking to that Sharing panel with the channel filled in. Nothing attaches until one of them attaches it, and the asker gets a notice back saying who did. A channel shared with another company stays with organization admins, and a personal connector can never be attached.
On Slack and the CLI, widgets appear as a link after the reply. The link opens in a browser and needs you to sign in, and in Slack you choose Sign in with Slack. A public shared chat page shows a widget's result, such as a chart a tool call drew, but allows no interaction that writes and offers no fullscreen view.
Slack Connect channels#
A channel shared with another company through Slack Connect works too. Anyone in it, the other company's people included, can mention the agent. It answers as the company whose Ghostlyn they mentioned. When both companies installed Ghostlyn, each mention reaches the Ghostlyn it names, and a message naming both reaches both.
A reply to someone from the other company draws on the organization's monthly budget, and each outside person is paced on their own. Every message from the other company reaches the agent marked external. In a shared channel the agent answers only a mention, so it never joins a conversation by itself.
A shared channel starts with nothing attached. An admin attaches a project or a connector as Viewer or Editor on the channel's page in Integrations. A warning names the other company first, since anyone in the channel can then have Ghostlyn read what is attached, or change it at Editor. A connector or a project with its own code attached as Viewer offers only its read-only tools, so writes there need it attached as Editor. An admin can attach a built-in connector such as Trainerize as Editor, which lets anyone in the channel, the other company's people included, ask for its writes through the channel's shared account. The agent in a shared channel cannot list the company's other channels or members or reach its company tasks. It never asks the other company's people to approve a write or connect an account, so a step that deletes data or needs a card is refused for them, whatever the organization allowed.
When a channel becomes shared, or another company joins it, every attachment is detached with a notice to whoever attached it. Open requests and questions close, the channel's scratch files are deleted, and a thread that started before the sharing cannot continue. A direct message from someone outside the workspace gets one reply saying Ghostlyn only takes direct messages from people in the workspace. Privacy and access covers what the other company can see.
Slack accounts and plans#
Being in a Slack workspace that installed Ghostlyn is not membership. An admin invites your email address from the organization's Members page, and the invitation also decides whether you are an admin. The person who installs the app into a Slack workspace with no members yet becomes its first admin. "The Slack bot says you need an invitation" in Troubleshooting has the steps.
Ghostlyn works on every Slack plan, the free one included, since it uses no paid-only Slack feature. On the free plan it takes one of the 10 apps a workspace may install, and searching Slack reaches only the 90 days of history the free plan keeps.