Expand description
#509: the bots this process declared, and the one agent each of them runs on.
A bot is a declaration ([bots.<name>] in config.toml) plus one long-lived session
whose origin is bot:<name>. Nothing here is a second runtime and nothing here is a second
conversation store: the agent is the same Agent the human’s own sessions run on, built from
the same config with three things overridden — the instructions named by the declaration are
added to the system prompt, the memory file is the bot’s own, and the skills it may see are the
ones it named.
Built once, at startup, by Bots::build. A bot whose agent could not be built keeps the
sentence that says why instead of vanishing: a declaration that does not work is a thing the
Bots tab has to be able to show, because the alternative is a bot that looks reachable and
answers nothing.
Structs§
Type Aliases§
- BotAgent
- One bot’s agent, or the reason it does not have one.