Honcho #
The Honcho extension looks up memories when a person prompts an enrolled Albedo session. It also delivers the conversation to the configured Honcho workspace. Albedo installs the extension with its default selection off.
Configure the destination #
Set the honcho section in extensions.json to identify the destination. Use
the same human peer across conversations that should share memories. The
assistant peer must have a different ID. Set endpoint to the base URL of a
self-hosted server to use it in place of the default hosted endpoint.
{
"enabled": { "honcho": true },
"honcho": {
"workspace": "my-workspace",
"humanPeer": "aly",
"assistantPeer": "albedo"
}
}
Open settings on the web or /settings in the terminal. Choose
extensions, then Honcho. Use sign in beside account on the web,
or open the account row in the terminal. You can also store a bearer key
under honcho.apiKey in creds.json by hand. Sign-in uses Honcho's device
grant: the client shows a code, you confirm it in your browser, and the daemon
saves its own grant as a Honcho account. The
sign-in module
declares that sign-in. A saved honcho section is still read when no account is
signed in. The
OAuth module refreshes
the access token before it expires, writes the rotated grant back under the
settings lock, and reports a refused grant as a paused delivery. Refresh tokens
are single-use, so give each daemon its own sign-in instead of copying a grant
another program refreshes, such as the one Hermes keeps in its honcho.json.
The
configuration module
owns field validation. See settings for daemon settings and
credentials.
Older ordinary chat and skill submissions lack a separately saved original text. Backfill skips these human messages. It can still send their assistant replies.
Enroll a session #
Set enabled.honcho to true as shown above and restart the daemon. New
sessions inherit this setting and enroll automatically when they start. Sync
begins at enrollment. Use /honcho backfill only if you also want to send the
earlier transcript.
To keep a session private, turn Honcho off in its extension selection. To enable Honcho for one session while the default is off, turn it on in that session. Reload a running session after changing its selection. Choose inheritance to follow the daemon default again.
When the selected composition enters service, the delivery extension binds a new remote session and records the current end of the transcript. Opening a tool menu or preparing a candidate that the runtime rejects cannot enroll a session. Reload after configuring a destination if the session was already running.
When the daemon default enables Honcho, open the /honcho page to choose an
action, or specify it directly, for example /honcho backfill. The
operator service
serves GET /extensions/honcho/sessions/{session_id} and accepts POST on that
path with an action field. The page shows the binding, pending message count,
last delivery, next retry, fork copy state, and any reason delivery paused.
Disabling Honcho for a session revokes its local grant. Requests already sent
can still complete. Re-enabling starts from the new transcript boundary and
drops any old pending deliveries. A destination change pauses capture and recall
until you run /honcho bind. Binding the new destination starts a fresh remote
session.
Delivery and recovery #
The worker wakes at turn start, turn end, and daemon startup. It reads committed conversation text in pages, then saves each eligible message and its scan position in one transaction. Each part carries its original timestamp when known and a source key for receipt lookup. Long messages split at 25,000 Unicode scalars. A worker handles one part at a time. It waits outside the database while contacting Honcho.
In daemon.log, honcho: marks worker startup and the first acknowledged
delivery for an operator session binding. A session line also marks the first
retry in a series, a wait for a missing receipt, or a pause. Open /honcho in
that session for the current delivery state and pause reason.
A definite temporary failure schedules another attempt. If a connection breaks
while a message is being sent, the worker searches Honcho for a receipt with the
same source key. Missing receipts are checked again. Use /honcho retry after
fixing a configuration or credentials error to resume delivery or check a
receipt. Use /honcho resend only when you intend to authorize a new send of
the paused part: the original may still arrive.
/honcho backfill includes the transcript before initial enrollment. The
backfill has its own durable cursor. Repeating the command resumes the same
interval. A fork omits the prefix copied from its source, including during
backfill. Rewinding drops unsent parts beyond the retained position. Previously
transmitted data remains in Honcho. Local deletion removes the binding and its
queued data. Moving a session leaves its binding with the source daemon, which
stops sending to it. Run /honcho bind on the target to enroll the moved
session from its current position.
Copy a fork's remote history #
Enroll the child and use /honcho clone before sending its first message to
Honcho. Albedo must have captured the checkpoint map when it created the fork.
Forks created before this feature lack that map. The parent must have been
enrolled at the time. Both bindings must still point to the same destination.
The worker waits for pending parent messages through the checkpoint. It copies
the acknowledged parts that belong to the fork into the child's own Honcho
session before sending new child messages. Repeating the command or restarting
the daemon resumes the same copy. Use /honcho cancel-clone to abandon the
remaining copy and continue normal child delivery. Parts already accepted by
Honcho remain there.
The fork mapping
records contiguous runs of copied transcript positions. Each confirmed part has
a remote receipt. The worker reads that exact message from Honcho, preserving
its remote text, peer and timestamp. Entries added independently to the parent
in Honcho have no Albedo receipt and stay in the parent. Copies request
reasoning.enabled = false to avoid deriving memories a second time. Honcho's
native clone operation assigns a new session ID on each call. Albedo instead
uses the child's stable session ID and reconciles lost receipts as it does for
ordinary delivery. See the
Honcho session clone contract.
Recall #
The prompt hook queries the human peer's representation using the human submission from the opening turn inputs. A successful lookup adds up to 4,000 Unicode scalar values to the model's context. Albedo saves that text as a note attributed to the extension. When an observation ends with a statement time that repeats the date and minute in its heading, the note formatter omits that clause from the new note. A different statement time stays visible. An empty or failed lookup lets the turn continue.
Use await honcho.status() in a Python cell to check this session's enrollment,
pending delivery count, last delivery, and pause reason before concluding a
memory is missing. The paused field is None during normal delivery and
contains the reason when delivery is paused. Honcho can continue deriving
conclusions after delivery.
Use await honcho.ask("What did I ask you to test in this session?") in a
Python cell. The kernel binding uses the
calling session's enrollment. The
HTTP client sends the
question and the remote_session shown by honcho.status() to the human peer's
chat endpoint. This gives Honcho the current conversation as context for the
question. You can also ask about earlier conversations with that peer. Albedo
allows up to 3 seconds to connect and up to 60 seconds total for the chat
request, including the time Honcho spends generating the answer.
Discord senders and audiences #
A Discord-connected session can receive messages from many people and channels. When Honcho is enabled for that session, each accepted human message goes to a peer scoped to the bot, its current credentials, the exact channel or DM, and the author's Discord user ID. A thread has its own channel ID. A display-name change preserves the peer. The same person speaking in a DM and a server channel has separate memories in each.
Send !recall What did I say about release timing? in Discord to ask about your
messages in that audience. The bot sends the question with the sender's Honcho
session for that audience and replies to the requesting message in the same
channel. Recall uses the messages Honcho has acknowledged. If one send is
waiting for a receipt, later questions can still be answered. Anyone who can
read that channel can read the answer. Discord admission still applies,
including DM approval, channel selection, and mentions-only settings. The shared
session's model does not receive the native recall command or its answer.
While a bot is attached, Honcho suspends ordinary transcript export, operator
peer recall, and the session's honcho.ask route. This keeps the operator's
memory out of new shared turns. Attaching a bot keeps the session’s existing
transcript, including any memory notes already present. Start with a fresh
Albedo session when introducing a new audience. After removing the bot, use
/honcho bind to resume ordinary memory from a new transcript boundary. See the
Discord extension for bot setup and channel permissions.