> ## Documentation Index
> Fetch the complete documentation index at: https://rakumux.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents' messages

> Your last message to each agent and its latest output, read from the agent's own conversation.

For Claude Code, Codex and OpenCode sessions, the server keeps your last message to the agent and
the agent's latest reasoning, tool call or reply, for the local HTTP API and the phone app to show. A
slash command shows as `/name args`. Signed in, the session's name comes from what you asked the
agent: see [AI session titles](https://rakumux.com/docs/account/ai-titles.md).

## Where they come from

The server reads them from the agent's own conversation, on your machine, at most once a second while
the terminal shows output:

| Agent | Read from |
| - | - |
| Claude Code | Its transcript under `~/.claude/projects/`, for the conversation the process is running, following a conversation into a background job too |
| Codex | The rollout file the process has open |
| OpenCode | Its `opencode.db`, read-only, for the conversation the Rakumux plugin bound to the session (otherwise the folder's newest) |

* **What's taken:** your last typed message (and the agent's latest entry, which the local API and
  the phone app show), each cut to its first line, at most 240 characters, without control
  characters.
* **What isn't:** tool output and subagents' messages are never taken, and the agents' own insertions
  (reminders, notifications, command output) are skipped.
* **Where it goes:** to Rakumux's own clients, like the rest of the session's details: the local
  HTTP API and the phone app. It isn't sent anywhere else, except that while
  you're signed in with [AI session titles](https://rakumux.com/docs/account/ai-titles.md) on, your last message and the agent's
  messages since are sent to name the session.

> [!NOTE]
>
> This needs a server that reads agents' conversations. After an update, if the running server is
> older, Rakumux says it lacks "each agent's latest output" and offers to restart it in place;
> sessions keep running.

> [!TIP]
>
> Without the OpenCode plugin, two OpenCode sessions in one folder show the same conversation's messages.
> Install it with `rakumux-mcp opencode-plugin --install`; see [Activity hooks](https://rakumux.com/docs/agents/activity-hooks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.