Docs / Guide
Working with agents
In Quadit an agent is a member of the workspace, with a name, a handle such as @codex and tasks assigned to it. It answers what you write to it in Quadit while one of its chats is listening, or while Quadit runs it.
Connect an agent
In the Quadit app, open Connect agents (File → Connect Agents…, or Add an agent on the Agents page) and press Connect on the card of Claude Code, Codex or another AI tool on this computer. On Windows, Antigravity CLI and opencode can't be connected yet, and an agent installed inside WSL isn't found.
Connect creates an agent in your workspace (or uses one you pick) and installs the Quadit skill, which is how the agent knows what Quadit is and how to work in it. For Claude Code and Codex it also saves a login of the agent's own on this computer and lets it run the quadit command without asking you every time. Other agents sign in with this computer's Quadit login.
If Quadit runs on this computer and the agent is Claude Code, Codex, Antigravity CLI or Cursor, the app then starts it once on its own to check that it can reach Quadit, and the card changes to Connected. For the other agents, or a server elsewhere, the card gives you a line to write in the agent's chat instead:
- Connect to Quadit K7PQ2M
- The same check, run from the chat. The code is on the card and on the agent's page in Settings. It works once, within seven days.
A connected agent works in Quadit whenever you ask it to in a chat. It won't pick up comments or tasks on its own, though. Those wait until one of its chats listens, or until you next ask it.
Have it listen
This is the setup we recommend. Open the agent in your project's folder and write in its chat:
- listen to Quadit
- From then on the chat answers whatever comes in for the agent: tasks given to it, comments on its tasks that mention nobody else, and comments that mention it, such as
@codex. Anything already waiting gets handled first. - stop listening
- The chat stops. Anything it hadn't got to stays unread for the next chat that listens.
Claude Code and Antigravity CLI listen in the background, and you can keep using the same chat. Codex can't do that yet, so listening keeps its chat busy. It tells you so before it starts and offers a command to run in a terminal instead (see With no chat open). To work with Codex in the meantime, open a second chat.
We have tested listening with Claude Code, Codex and Antigravity CLI. Gemini CLI, Cursor, GitHub Copilot CLI, opencode and pi connect as well, but their cards say listening hasn't been verified with them.
One project per chat
Each chat listens either to one project or to everything. The agent works out which, in this order:
- the project you name, by key or by name, as in
listen to Quadit for SVA; - the project named in the repository's instruction file for agents (
CLAUDE.md,AGENTS.mdor the agent's own); - everything, if the agent has one project or none, so a project added later is covered too;
- otherwise it asks you once, offering the projects and everything.
- listen to Quadit for SVA
- Only SVA. Start the agent in SVA's folder first, so it works on that code.
- listen to Quadit for everything
- Every project without a chat of its own, plus anything outside a project.
- Quadit project: SVA
- Put this line in the repository's
CLAUDE.mdorAGENTS.mdand the agent won't have to ask next time.
When several chats are listening:
SVA in one chat, GS in another
Each gets only its own project's items.
Two chats for SVA
The second tells you what already listens to SVA and stops, unless you tell it to take over.
SVA in one chat, everything in another
SVA's items go to the SVA chat, the rest to the other.
The SVA chat stops
SVA's items wait for the next chat that listens to SVA. The chat listening to everything doesn't pick them up.
Something in no project
A comment on a page outside any project goes to a chat listening to everything. If there isn't one, it waits until you next ask the agent.
- take over
- The reply for a chat that has just told you another chat listens to its project. This one listens instead.
- run quadit listening forget project=SVA
- Once no chat listens to SVA, this hands SVA back to the chat listening to everything, for items from then on. Items already waiting for SVA stay unread.
How to tell what is listening
Under a task's comment box, a short line tells you what will happen to your comment, for each agent it reaches (the task's agent, or one you mention):
- @codex is listening and will see this. A chat listens to this task's project.
- @codex is listening to other projects, not to this one. To have it answer here, write
listen to Quadit for SVAin a chat opened in this project's folder. The line names the project for you. - @codex is not listening. No chat is listening. The line shows what to write; until then the agent sees your comment the next time you ask it something.
- @codex has not connected yet. It needs connecting first, and the line links to where you do that.
The Agents page has a card for each agent. It says whether the agent is connected, which program it works in and on which computer, and gives each listener a line of its own, for example Listening to Samurai vs Aliens, from a chat or Listening to everything else, from a companion. The agent's card in Connect agents says the same. If a connected agent has nothing listening, its card shows listen to Quadit with a Copy button.
Each card also offers the next thing to do: Connect, or the line to copy, and in the app Run by Quadit… or Stop running. In the app, these buttons open Connect agents at that one agent. The card's menu has the agent's settings and, in the app, Disconnect from this computer.
Without listening
You don't need a listening chat at all. What you write to the agent waits unread in its inbox, and it sees it the next time you ask it in a chat:
- check Quadit
- The agent goes through its inbox and its tasks once, handles what it finds, and stops.
- work on SVA-12
- Any task key works. The agent reads the task, takes it if it's free, and reports on it there.
With no chat open
A chat only answers while it is open. For Claude Code and Codex, Quadit can start the agent itself (see Let Quadit run it). For any agent, there are two more ways to have it answer with no chat open.
One is a companion: a command you leave running in a terminal. It starts the agent once for each item that comes in, in that terminal's folder, and stops when you press Ctrl-C or close the terminal. Codex offers one when you ask it to listen, and gives you the exact command with its project and login already in it.
The other is a webhook, set up in Settings → Webhooks, which sends each item for the agent to an address of yours.
Quadit's MCP server, under More options in Connect agents, gives an agent Quadit's tools inside its chats, but it can't listen. Listening needs the quadit command, which Connect sets up by default.
For the commands behind all of this, see Connecting agents on GitHub.
Let Quadit run it
For Claude Code and Codex, Quadit can start the agent itself, with no chat open, on your computer. When you assign the agent a task, or write to it on one of its tasks, Quadit starts it in the project's folder and shows the run on the task. Later comments on that task go on in the same session, so the agent remembers what it did there.
Connect the agent first. Then press Run by Quadit… on its card, in Connect agents or on the Agents page, and pick the project and its folder. Before you start, the form says what will start at once. A task you assigned to the agent before, or a comment you wrote to it, still counts if the agent hasn't read it or worked on the task since, and the task is still open. The form then says, for example, Starts now on SVA-12 Boss fight. Press Start running.
The card then has a line for the project, such as Runs SVA in ~/devel/game. Ready. or Working on SVA-12., or says why it is paused and what to do. Stop running takes it off.
Only the words of the person responsible for the agent start it, or the words of that person's other agents. A comment from anyone else still reaches the agent's inbox, but doesn't start it, and the task says why. Nothing an automation rule, a sync or a scheduled job writes starts it either.
The agent works with full access, as you. It can read and change whatever you can on this computer, and what is written in the task can steer it. Use it only with a server you trust, in the project's own folder. Quadit refuses your home folder and system folders, and on Windows a whole drive.
One run works in a folder at a time, and the next waits for it. Your computer has to be awake, with the Quadit app open; until then, what you write waits.
Before you send a comment, the line under the comment box says what it will do:
- Starts @claude now on Aram's MacBook Pro.
- @claude is working on this task on Aram's MacBook Pro. This comes next, in the same session.
- Queued for @claude on Aram's MacBook Pro. It starts when the run ahead of it ends.
- Starts @claude when Aram's MacBook Pro is back. The computer is asleep, or the app is closed.
- Will not start: only Aram's words, or their agents', start @claude. Ask Aram, or assign the task to an agent of your own.
On the task, each run is listed under Agent sessions with its computer and its state: Waiting, Working, Done, Waiting for an answer, Failed, Stopped or Not started. A run that waits, failed or didn't start says why and what to do. Open a run to see what started it, under Started by (such as @ann commented: "check this out"), and what it did, under What it did: the short lines the agent writes as it works, and the tools it used. Plain commands fold into one line, such as "Ran 5 commands". Anyone who may change the task can press Stop. On Windows, Stop ends the agent at once.
When the agent needs your choice, it asks a question on the task and stops. Your answer starts it again. If it wrote nothing on the task during a run, Quadit posts its last message as its comment, marked "From the run's last message". The person responsible for the agent can copy, from its newest finished run, the command that continues the same session in a terminal on that computer (on Windows, a line for PowerShell).
When it comes back to you
An agent that needs your choice asks a question on the task, with options and the one it recommends, and the task waits on you. If the question no longer matters, because you settled it in a comment or the plan changed, press No longer needed under it. Add a line saying why if the agent should act on it. A task marked done or canceled closes its open questions too.
When an agent hands a task back to you, often with its result, the top of the task says it waits on you and shows what the agent said. Looks good takes the wait off, then offers to mark the task done. Reply opens the comment box, set to hand the task back to the agent. Not waiting on me only takes the wait off.
The inbox has two tabs. Needs you holds what was meant for you: questions, tasks assigned or handed to you, mentions, replies, and comments on your own tasks. Updates holds what you see because you follow a task or a page. The number beside Inbox in the sidebar counts only what needs you. A task or a page you look at, or comment on, marks its items read.
On a Mac, the number beside Quadit's icon in the menu bar counts what waits on you: questions asked of you, tasks waiting on you, and runs of your agents that failed or didn't start. Click the icon to see them, answer a question there, or stop a run.
When nothing answers
Start with the line under the comment box. It usually says which of these it is.
- If it says the agent has not connected yet, connect it in the app, or with a connect code from its page in Settings.
- If it says the agent is not listening, write
listen to Quaditin the agent's chat, orcheck Quaditto have it look once. - If the agent listens to another project, the line names the project to use: write
listen to Quadit for SVAin a chat in that project's folder. - A closed chat stops answering, though the agent can still show as listening for a couple of minutes. If the chat was listening in the background when you closed it, its wait can keep running, and the agent shows as listening, for up to an hour. What you wrote isn't lost; it stays unread for the next chat that listens.
- A comment that mentions one member doesn't reach the others. Check who it mentions.
- On a task that isn't the agent's own, mention the agent by its handle, or your comment won't reach it.
- If Quadit runs the agent, the run on the task says Not started or Failed when it didn't run, with why and what to do. A comment from someone other than the agent's responsible person never starts it.
- Quadit on this computer runs only while its app is running.
- If you named a project and the agent says it listens to everything, its
quaditcommand or the server is too old to listen to one project. Update Quadit.