The Toko logo: three hearth stones with a fire, and the word TOKO

If you work with several coding agents at once, you probably know these:

  • You hit Enter instead of C-j and send an unfinished prompt.
  • You hit the up arrow to edit, land in the prompt history and lose your edit.
  • You juggle five threads, and the constant context switching burns your energy.
  • You wrote a great prompt last week. In which tool? No idea.

I had all of them. So I built Toko, and I've used it to build all my recent projects (Toko included).

Here is the workflow, step by step.

1. Capture: one idea, one card

Toko is a board. One note is one card.
Double-click the board to create one, or press Ctrl+Shift+N from any page. You can also drop text on the desktop widget, or write from your phone.

Then arrange the cards, link them, and group them in frames.

A new card on the board, then four cards grouped in a frame

2. Forge the prompt in a real editor

Don't write your prompt in the agent CLI.
Write it in a card: jot the idea, come back later, edit it at will. Enter is just a new line.

When the prompt is ready, you have two options:

  • Copy as Markdown (Ctrl+Shift+C) and paste it anywhere: a web chat, a desktop app, a CLI.
  • Send it straight to an agent (next step).

3. Send it to an agent

Drag an agent onto the card, or use Send to agent....
Send it now, at a given time, or when the agent is idle. Each agent has its own queue.

The output streams live. Then the answer comes back as a reply card linked to your prompt, with the model, the time, the tokens and the cost.

A card goes to a coding agent, its answer streams, then shows as a reply card linked to the card

Which agents?

  • Directly: Claude Code and pi, with no other tool.
  • Through Herdr: Claude Code, pi, Codex, OpenCode, Gemini, Amp and more, on your computer or on SSH hosts.

4. Keep the conversation in threads

Reply to the reply card, and the agent continues the same session.
You end up with a thread of cards on the board. Collapse it, expand it, or open it as a chat in the Threads view.

The Threads view: a reply to the agent, then its answer streams in

Later, send the whole thread to a new agent, and it keeps the context of the entire discussion. Useful for you, and token efficient too.
You can also fork a thread, or export it as Markdown or Org.

5. Find and reuse your best prompts

Every prompt and every answer stays on your boards, whatever tool you sent it to.

  • Full text search on all boards and the library, with a preview.
  • Tags to sort cards across projects.
  • Rating (stars) to find your best prompts again.

The search palette finds the cards with the word review on two boards

6. Plan your agents instead of watching them

This is the step that saved me from AI burnout.

Instead of randomly checking and steering the agents, schedule the sends:

  • Queue cards for when the agent is idle, or for a given time.
  • Let agents work while you sleep or do something else.
  • Get a notification on your desktop or your phone (ntfy) when an agent finishes or needs you.

You time-block your interactions with the agents, and you get the most out of your AI subscriptions.

Your data stays yours

All data lives on your computer, in a local SQLite database. The app works offline.
Only the optional parts use the network.

Prefer Emacs?

There is a port: Toko.el, the same workflow inside Emacs 32.
It brings the essential features of Toko, plus integration with built-in packages like project.el and Org mode.

Toko.el: a card goes to claude, the answer comes as a card, then the thread view, a stack, the command palette and the tag panel

Try it

  • Toko: download the binary for Linux, macOS or Windows from the releases page. It's very lightweight: the installer is under 10 MB (.deb, .rpm, .exe, .msi), and 14 MB for the universal .dmg. For comparison, the T3 Code .deb is over 200 MB, and its .dmg is over 230 MB. Just the essentials to start working.
  • Toko.el: build Emacs 32 first. One script does it for you, see the install guide.

Both are open source: Toko under AGPL-3.0, Toko.el under GPL-3.0.

GitHub logo donovan-ratefison / toko

A desktop board for ideas and prompts. Send a card to Claude Code, pi or any CLI coding agent, and get the answer back as a linked card. Local first: SQLite, works offline. Tauri app for Linux, Windows and macOS. Emacs port: toko.el.

Toko: three hearth stones with a fire, and the word TOKO

Capture ideas on a board. Send them to your coding agents.
The original Toko, for the desktop. Prefer Emacs? Try toko.el.
Website

Latest release CI License: AGPL-3.0-or-later Desktop: Tauri 2 Agents: any CLI coding agent Emacs port: toko.el

What Toko is

Toko is a board where you capture ideas, notes and prompts. One note is one card. Capture fast: double-click the board, press Ctrl+Shift+N from any page, drop text on the desktop widget, or write from your phone. Then arrange the cards, link them and group them in frames.

When a note is ready to act on, send it to a coding agent. The agent works in its project folder, and its answer comes back as a card linked to your note. The board keeps the whole path of your work: the idea, the prompt, the answer and the next step.

Toko works with the CLI coding agents, not with one vendor:

  • Direct agents: Toko runs Claude Code or pi itself, with no other…




GitHub logo donovan-ratefison / toko.el

A prompt board for coding agents in Emacs: send cards to Claude Code, pi or any command line agent, get the answers back as linked cards, continue the conversation, read it as a chat. Queue, scheduled sends, permissions, Org and Markdown cards. Built on the rary canvas.

Toko: three hearth stones with a violet fire, and the word TOKO

A prompt board for coding agents, in Emacs.
The Emacs port of Toko, the desktop app

Latest release CI License: GPL-3.0-or-later Emacs 32 with canvas Agents: any CLI coding agent Desktop original: Toko Engine: rary

See it

A board with colored cards and tag styles: the action bar of a card, the Send dialog with the model opus, the live node with the answer as it comes and two tool lines, the answer card with its cost footer, the thread of the card with a reply and its answer, the chain of 4 cards collapsed into one stack, the command palette, and the tag panel with its preview, color swatches and style tiles

A card goes to claude, the answer comes as a card, then the thread view, a stack, the command palette and the tag panel.
Watch the video (53 s, MP4) · Read the manual

What toko.el is

toko.el is the Emacs port of Toko. You write prompts as cards, you send them to Claude Code, pi or another command line agent, and the answers come back as cards on the same board. Each send continues the conversation of the agent, so the board becomes the map of your work with your agents.

Agents that work with your board

An agent does more than answer a card. It can ask you to choose, show the files that it changed, and put a plan on the board. It can also search your…

If it helps your workflow, leave a star on GitHub. And tell me in the comments how you manage your prompts today.

The full story behind Toko is on my blog.