Skip to main content

Module agent

Module agent 

Source
Expand description

Agent identity and configuration.

An agent’s name is the key it is declared under in layover.toml. Everything else here describes what the agent is for, which matters more than it looks: layover_peers() hands these descriptions to a running agent so it can decide where to route work. An agent with no description is a name the mesh cannot reason about.

Structs§

Agent
A configured agent.
AgentName
The name of an agent, as written in layover.toml.

Enums§

Access
Whether an agent may write to the shared workspace.
PromptSpec
Where an agent’s standing instructions come from.
PromptSpecError
Why an agent’s prompt configuration is unusable.