Skip to main content
Koharu Agent is a project assistant inside the editor. It runs on any model you can pick for translation that calls tools: a hosted model, a subscription such as ChatGPT, or one of Koharu’s general local models.
1

Connect a provider

Add an API key or sign in under Settings → Providers, or skip this step to use a local model. See translation providers.
2

Open the Agent panel

Open a project and select the Agent tab on the right, beside Layers and Story.
3

Choose a model

Select a model and a reasoning level under the message box. Provider default uses the model’s own level, and Off turns reasoning off where the model allows it. More reasoning can help with ambiguous edits but takes longer. New chat beside them starts the conversation over.

What context is shared

Each request starts with the open project’s outline: its pages and their layers. The Agent renders and attaches a page image only when it calls its page-view tool; it does not attach every page. A hosted model’s provider receives what the Agent sends it.
The Agent and translation share provider connections, but not models: the Agent’s model and reasoning are saved in the [agent] section of ~/.koharu/config.toml, apart from translation’s. The Agent’s system prompt is Koharu’s own and can’t be changed.

Connect other agents over MCP

While Koharu runs, it serves the same tools to agents in other programs over MCP’s Streamable HTTP transport. Add this URL to an MCP client on the same machine:
The URL is the same at every launch; if another program already uses port 7878 when Koharu starts, the server doesn’t run. The server works on whichever project is open, accepts connections from this machine only, and refuses requests from web pages.

Work with a project

Give the Agent a precise scope, review its edits, and use project history.