Skip to content

Hermes Session

The hermes-like session as one block: HermesHeader's banner and toolset panel, then the hermes parts you put in it, in any order.

On this page

Examples

A block: the hermes-like surface and its header, with the parts you put in it. The same as CliFrame preset="hermes-like". Every part in all eight looks is on Agent CLI.

Installation

npx knowns-ui@latest add agent-cli-hermes-session
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

agent / model / cwd
string
Passed to the header: who is running, on which model, in which folder.
mark / meta
ReactNode
Passed to the header.
welcome
CliWelcome
The header's welcome, news, tips or menu.
children
ReactNode
The parts, in any order: messages, tool calls, diffs, the prompt, the status.
time
number
Default0
Replay time in ms, for spinners.
label
string
Default"<agent> session"
Accessible name.
className / style / ref
-
On the section.

When to use

When to use

  • A hermes-like screen built from its own parts, for a plugin page or a product demo.
  • A still screen with your own tool, result view and status segment in place.

When not to use

  • A session replayed from a script, with play and seek: use Agent CLI.
  • Commands a person approves in your app: use Agent Terminal.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Hermes Session to my app and wire it to my own data.
  • I need a hermes-like screen built from its own parts, for a plugin page or a product demo. Set that up with the Knowns UI Hermes Session.
  • Which Hermes Session props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "agent-cli-hermes-session" }) and search_docs({ query: "hermes session" }).

Need help?

Stuck on Hermes Session, or found something off? We read every message.