Expand description
Core types for the atomr-agents framework.
Re-exports§
pub use value::Json;
Modules§
- inference
- Re-exports of token/usage types from
atomr_infer_coreso downstream crates have a single import path for them.
Structs§
- Agent
Context - State the per-turn pipeline reads from. Strategies receive a
reference to this; they do not mutate it directly (they return
fragments which the
ContextAssemblermerges). - AgentId
- CallCtx
- Context passed to
Callable::call. Carries the budgets so a callable can refuse work it can’t afford. - Department
Id - Event
Envelope - Tagged envelope around an event with timestamp + correlation id.
- Harness
Id - Invoke
Ctx - Context passed to
Tool::invoke. - Iteration
Budget - Memory
Chunk - Retrieval unit. Memory strategies emit chunks; the assembler packs them into the prompt under the shared budget.
- Memory
Item - Stored unit. The strategy decides what to put in
payload. - Message
- Conversation message — mirrors
atomr_infer_core::batch::Messagebut lives at this layer so strategies can construct turns without pulling in the full inference crate. - Money
Budget - Money budget. Stored as integer micro-USD to avoid float drift.
- OrgId
- Persona
Id - RunId
- SkillId
- TeamId
- Time
Budget - Token
Budget - Token budget threaded through every strategy resolution. Strategies
consumefrom a shared budget; theContextAssemblerhonors the final cap when packing fragments. - ToolId
- Tool
SetId - Turn
Input - What a single agent turn consumes.
- Workflow
Id
Enums§
- Agent
Error - Event
- Structured event emitted by every observable boundary in the
framework. Fed to
atomr-telemetry, used by traces, metrics, and the eval-suite replay path. - Memory
Kind - Memory
Namespace - Where a memory item lives in the org/team/agent hierarchy. Reads cascade outward (agent → team → org); writes are gated by policy.
- Message
Role