You
|
'-- Sensei (one per person, every workspace you belong to)
|-- threads ...... one subject each, run side by side
| '-- cards ... what needs your decision
|-- tasks ........ code changes, each on its own branch and sandbox
'-- agents ....... Build, Merge, Deploy, Job and Cron, each asking through a card
Sensei
You have one Sensei, not one per workspace. It reaches every project of every workspace you belong to, and nobody else can read it, workspace admins included. Ask it what needs you, ask it to file or start work, or ask about your inbox and calendar, and it does that as you. It reads your private Memory at the start of every turn. See Ask Sensei.
Sensei also works without being asked. With Watching on, new messages on the services you chose reach it. Crons and automatic runs run on a schedule.
Threads
A thread is one conversation about one topic. Every message you send from New thread starts one, and threads run at the same time. The app also opens a thread for anything that needs you and has none yet, such as a session, a project's Deploys or a Cron. Each thread is Needs you while it holds an open card, Working while Sensei works on it, and Done otherwise. See Threads.
Cards
The app writes what happens to your sessions, pull requests, Deploys and Crons into the thread that holds it, as a one-line event. Sensei reads the new events and decides whether something needs you. If so, it draws a card: a short statement of what it asks, the evidence, and one verb. Approve it, reply in your own words, or turn it down. In the Deck you take cards one at a time and can leave one for Later. A card can reach your phone, Mac or watch as a notification. See Cards and the Deck.
Tasks
A task is real work Sensei runs for you in its own sandbox: it plans it, builds it, tests it and gets it ready to merge. You do not need to watch. It shows under Tasks, and Sensei comes back to its thread with a card when it needs you. Behind each task is a chat session on a branch of a GitHub repository. See Tasks.
The agents
Sensei hands work to agents and speaks for them. Each card says which agent asks, with its own face, and a push for it reads, for example, "Build Agent needs you".

| Agent | What it does | What it asks you |
|---|---|---|
| Build Agent | Works in a task's chat session: builds the change, tests it and opens the pull request. | Its questions, and decisions on its pull request |
| Merge Agent | Each project's Merge agent merges pull requests that have the go-ahead, one at a time. See The Merge agent. | A merge plan, or a problem on the way to a merge |
| Deploy Agent | Works out how to run your app, starts it in the project's main sandbox, and fixes a failed Deploy. See Deploy your project. | Values only you hold, or the fix for a failed Deploy |
| Job Agent | Takes a long job you asked for in a thread, works on it out of the conversation, and posts its result in that thread. | Decisions its result needs |
| Cron Agent | Runs a cron's prompt in a disposable sandbox on its schedule. See Crons. | What a run found, or why it failed |
A card about a message, a calendar event, a ticket or your Memory names no agent.
The code part
Every code change happens in a chat session. A session gets its own branch, sandbox and Preview. The agent works in turns, you try the result, and the session ends with a pull request that merges on GitHub.
Project (a GitHub repository)
|
|-- Deploy ............ main sandbox
|
'-- Chat session
|-- branch ....... its own, cut from the start branch
|-- sandbox ...... its own copy of your running app
|-- Preview ...... your app as this branch runs it
'-- turns ........ your message, the agent's work, its reply
|
v
ask the agent --> pull request on GitHub --> merge --> Completed
The project and its deploy
A project is a GitHub repository your workspace imported. Importing it starts its first deploy, and no session can start before that deploy succeeds. A session you ask Sensei to start meanwhile waits in Todo and starts by itself when the deploy lands. The deploy agent reads the repository and works out the services, commands, ports and environment variables your app needs. It saves that configuration and starts the app in the project's main sandbox. Every session's sandbox starts from the saved configuration. See Deploy your project.
A session and its turns
Press New task on the workspace's Tasks page, describe the change, pick the Repository and press Create and start. Create task files it as Todo to start later. Starting the session creates its branch from the start branch and gives it a sandbox, so several sessions can run side by side.
Each exchange with the agent is a turn. You send a message, the agent works in the sandbox, and it replies. While it works, you can watch the Preview and read the diff in the Changes tab. A message you send mid-turn steers that turn, so the agent changes course. If the agent needs a decision, it asks and ends the turn. Your answer starts the next one. See Messages and steering.
The agent commits and pushes its changes at the end of each turn.
A sandbox costs money while it is awake. It pauses when nobody uses it. Sending a message or pressing Start preview wakes it. See Preview and sandboxes.
Review and the pull request
When the change is right, ask the agent in the chat to open a pull request. The agent commits
any pending work, pushes the branch and opens a pull request against the project's Target
Branch. /kosuke:ship opens it and marks it ready itself. The pull request opens ready for
review unless you ask for a draft, and its number shows in the band above the conversation. A ready pull request moves the session to Under
Review. Send a message to keep working: the agent turns the pull request back into a draft
when it changes it. Press Resume to turn it back into a draft yourself.
With a GitHub Connection, your GitHub account authors the commits and opens the pull request. Without one, the Kosuke App does both. Merge the pull request on GitHub, and the session moves to Completed. See Open a pull request.
Session statuses
Every session has one of five statuses. On the workspace Tasks page, Backlog reads Todo, Active and Under Review read In progress, Completed reads Done, and Archived stays Archived.
| Status | What it means | How a session gets there |
|---|---|---|
| Backlog | A prompt waiting to start. It has no branch or sandbox yet. | Create task in the New task modal, or Sensei when you ask it to file a task. Moving a session back to Todo deletes its work and chat history. |
| Active | The conversation is open and the agent takes messages. A pull request, if there is one, is a draft. | Create and start, or Start on a Todo task. A message to an Under Review session, or Resume. A pull request turned back into a draft on GitHub. |
| Under Review | The pull request is ready for review. A member's message resumes it, and so does Resume. | A pull request that opens ready for review, or /kosuke:ship or /kosuke:open-pr --ready on a draft. A pull request marked ready on GitHub. |
| Completed | The work is done. The session has no sandbox and cannot move again. | Merging the pull request on GitHub. A Todo task can also be marked done without code work, from its ⋯ menu. |
| Archived | Set aside without a merge. Its pull request is closed and its sandbox removed. | Archive in the session's menu, or closing the pull request on GitHub. Restore reopens the pull request as a draft and returns the session to Active. A session that never started returns to Backlog. |
When you import a repository, its open pull requests arrive as sessions. A draft arrives Active, and a pull request that is ready for review arrives Under Review. See Chat sessions and tasks for the statuses and what moves a session between them.
Whose credentials run what
Workspace tasks, their Delegated Runs, workspace Deploys and workspace Crons use workspace Credentials only. Assignment and the sender change nothing. Personal tasks, Sensei, personal-project Deploys and Personal Crons with or without repositories use the member's Subscriptions, or Sensei free while they hold none. A member of a paid workspace runs their personal tasks, Sensei and Personal Crons on that workspace's Credentials instead of Sensei free, for each provider they hold no Subscription of. Free works like a personal Subscription within its allowance. Sensei picks one Source for each chat session, Sensei thread Turn, Deploy or Cron run. Delegated Runs use their parent Turn's model and Source. If a Source reaches its limit, is paused or is removed, Sensei moves the work automatically. Its model, Source and provider stay hidden. AI providers has the full rule.