Expand description
Agent runtime surfaces for SIM: agents, tools, memory, patterns, fixtures, fairness facets, and model-fabric contract re-exports.
Model placement is resolved through the model/at catalog. In-process
runners and registry site exports share that catalog: a loaded native or
wasm library can register an opaque site value under a placement symbol, and
this crate adapts that value into an EvalSite without adding site behavior
to the kernel. model/cached wraps placements in a content-addressed
cassette, so successful inference replies are replayable by normalized
request content, model identity, parameters, result shape, and capabilities.
Re-exports§
pub use atelier::AgentMission;pub use atelier::AtelierAction;pub use atelier::GuardCapability;pub use atelier::GuardDecision;pub use atelier::GuardEvaluation;pub use atelier::GuardRefusal;pub use atelier::RadarChunk;pub use atelier::RadarError;pub use atelier::RadarHint;pub use atelier::RadarIndex;pub use atelier::RadarQuery;pub use atelier::RadarReport;pub use atelier::RadarResult;pub use atelier::SelfHostingScenario;pub use atelier::SourceSpan;pub use atelier::cassette_content_hash;pub use atelier::evaluate_guarded_action;pub use atelier::guard_action;pub use atelier::retrieve_radar_hints;pub use atelier::self_hosting_scenarios;pub use atelier::validate_self_hosting_scenarios;
Modules§
- atelier
- Atelier agent-facing retrieval contracts.
Structs§
- Agent
- A live agent session: a named manifest of components with its own capabilities, isolation policy, and runtime state.
- Agent
Fabric - A swarm of agents that evaluates together as a single
EvalFabric, coordinating its members through an optional topology, planner, and shared blackboard. - Agent
Lib - The agent runtime library, registering agent functions, tools, and CLI
exports as a loadable SIM
Lib. - Agent
Manifest - The set of components composing an agent, grouped by role.
- Agent
Pattern - Descriptor of an agent pattern: an id, description, and named slot groups.
- Agent
Pattern Slot - One named entry within an agent-pattern slot group.
- Attribution
Card - Card-shaped attribution summary over an event ledger and effect ledger.
- Attribution
Evidence - One attribution row derived from a run event or effect record.
- Blackboard
Memory - Memory whose entries are shared across agents on a named blackboard.
- Budget
- Resource limits bounding an agent run.
- Counterfactual
- Minimal-change counterfactual found in a deterministic synthetic table.
- Counterfactual
Change - One feature delta in a counterfactual explanation.
- Decomposition
- Result of decomposing a goal and running the ordered subtasks.
- External
Runner Spec - Metadata needed to project an existing
ModelRunneras an agent runner. - Fairness
Group - Binary-outcome group counts for fairness summaries.
- Fairness
Summary - Fairness summary backed by the F4 disparate-impact metric.
- Fake
AsrFixture - Scripted output for one synthetic audio reference.
- Fake
AsrRunner - Local runner that maps synthetic audio references to scripted transcripts.
- Fake
AsrSegment - One deterministic speech transcript segment.
- Fake
Sensor Frame - One fixed sensor frame in a synthetic sensor stream.
- Fake
Sensor Stream - Fixed local stream over synthetic sensor frames.
- Fake
Vision Fixture - Scripted output for one synthetic image reference.
- Fake
Vision Runner - Local runner that maps synthetic image references to scripted vision output.
- File
Memory - File-backed episodic memory that persists entries to a log on disk.
- Model
Bid - One availability/score proposal produced for market-style runner selection.
- Model
Card - Metadata describing one runner/model candidate for routing and inspection.
- Model
Event - Structured streaming event emitted by a model runner.
- Model
Request - Normalized model request used across providers and local runners.
- Model
Response - Final response returned by a runner after inference completes.
- Model
Usage - Usage and accounting information attached to a model response.
- Persona
Memory - Memory holding evolving persona state, optionally persisted to a path.
- Planning
Output - Output captured after running one planning task.
- Planning
Task - Unit of work produced by planning combinators.
- Reflection
- Critique result, including a bounded retry when the runner asks for one.
- Synthetic
Record - One deterministic synthetic record used for counterfactual search.
- Tool
- A callable tool an agent can invoke, with shape-checked arguments and results, a category, and required capabilities.
- Tool
Spec - Specification for projecting a runtime value into a local
Tool. - Vector
Memory - Vector memory supporting similarity search, optionally persisted to a path.
- Working
Memory - In-process working memory holding entries in a shared buffer.
Enums§
- Agent
Role - Role an agent plays in a multi-agent exchange.
- Component
Kind - The role a
Componentplays within an agent. - Memory
Kind - Category of a memory backend.
- Runner
Backend - The strategy a runner component uses to produce model responses.
Constants§
- AI_
RUNNER_ CACHE_ CAPABILITY - Capability name granting an AI runner use of a response cache.
- AI_
RUNNER_ CAPABILITY - Capability name granting an agent the right to drive an AI model runner.
- AI_
RUNNER_ LOCAL_ CAPABILITY - Capability name granting an AI runner access to a local (on-host) model.
- AI_
RUNNER_ NETWORK_ CAPABILITY - Capability name granting an AI runner outbound network access.
- AI_
RUNNER_ RAW_ LOG_ CAPABILITY - Capability name granting an AI runner permission to emit raw request/response logs.
- AI_
RUNNER_ SECRET_ CAPABILITY - Capability name granting an AI runner access to secret material (e.g. API keys).
Traits§
- Component
- A pluggable agent building block (runner, tool, memory, planner, and so on)
that participates in evaluation as an
EvalSite. - Memory
Backend - Behavior shared by every memory backend: append, query, and snapshot/restore.
- Model
Event Sink - Sink for streaming model events emitted during inference.
- Model
Runner - Executable contract for a model backend or model-like runtime surface.
Functions§
- attribution_
card - Builds an attribution card from the evidence for one run.
- decompose
- Asks a runner to split a goal into deterministic ordered subtasks.
- decompose_
and_ run - Decomposes a goal, then executes each returned subtask in order.
- external_
runner_ value - Wraps a provider-neutral
ModelRunnerin the existing agent runner value. - fairness_
summary - Computes a deterministic fairness summary for two binary-outcome groups.
- install_
agent_ lib - Installs the agent library into
cx, pulling in the server lib, registering the agent address resolver and line driver, and loadingAgentLib. - install_
tool - Installs a tool into the registry, reusing any existing registration.
- minimal_
counterfactual - Finds the nearest synthetic record with the desired outcome.
- reflect
- Critiques an output and runs at most one retry requested by the runner.
- stamp_
envelope_ role - Stamps the role onto a frame envelope and increments its hop count.
- stamp_
frame_ role - Stamps the role onto a server frame’s envelope.
Type Aliases§
- Agent
Ref - A runtime value referencing an agent.
- Component
Ref - A runtime value referencing an agent component.
- Topology
Ref - A runtime value referencing an agent-network topology.