Quickstarts atomr-agents projects: picking Cargo.toml feature flags, building a first Agent, wiring InferenceClient, and running end-to-end turns against MockRunner.
Ships in atomr-agents-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A composable agentic framework on the atomr actor runtime. Pluggable strategies, channelled state, durable checkpointing, parallel tool dispatch, retriever zoo — the LangGraph
Callable. Pipeline chains them. Decorators
(with_retry, with_fallbacks, with_config, with_timeout)
layer policies orthogonally.StateSchema declares one channel per
state key. Each channel carries a reducer
(AppendMessages, MergeMap, LastWriteWins, AppendList,
MaxByTimestamp). Checkpointer persists per-super-step
snapshots; fork(checkpoint, edits) creates a divergent run.InstructionStrategy,
ToolStrategy, MemoryStrategy, SkillStrategy, LoopStrategy,
TerminationStrategy — generic so the agent's hot path
monomorphizes; Box<dyn> opt-in for runtime config.tokio::JoinSet.
Streaming tool_call_delta parses OpenAI and Anthropic deltas
natively.[dependencies]
# Defaults: agent + tool + skill + memory + persona + instruction
atomr-agents = "0.2"
atomr-infer = { version = "0.6", features = ["openai"] } # or any provider
# Add features as needed:
# atomr-agents = { version = "0.2", features = ["harness", "eval", "embed"] }
# Or pull a provider runtime through the umbrella (skips the explicit
# atomr-infer dep — runner is re-exported under agent::providers::*):
# atomr-agents = { version = "0.2", features = ["agent", "provider-anthropic"] }
# atomr-agents = { version = "0.2", features = ["agent", "provider-openai"] }
# atomr-agents = { version = "0.2", features = ["agent", "provider-gemini"] }
# RAG-flavored:
# atomr-agents-retriever = "0.2"
# atomr-agents-ingest = "0.2"
# Test scaffolding:
# atomr-agents = { version = "0.2", features = ["testkit"] }
See docs/feature-matrix.md
for every feature flag and the canonical "shapes" (minimal agent /
RAG / production harness / multi-agent / kitchen-sink).
use std::sync::Arc;
use atomr_agents::prelude::*;
use atomr_agents::agent::{Agent, AgentBudgets, InferenceClient, LocalRunnerClient, Provider};
use atomr_agents::tool::{StaticToolStrategy, DynTool};
use atomr_agents::memory::{InMemoryStore, RecencyMemoryStrategy};
use atomr_agents::skill::StaticSkillStrategy;
use atomr_agents::persona::StaticPersonaStrategy;
use atomr_agents::instruction::{
ComposedInstructionStrategy, StaticBehaviorStrategy, StaticTaskStrategy,
};
use atomr_agents::observability::EventBus;
use atomr_infer_testkit::{MockRunner, MockScript};
let runner = MockRunner::new(MockScript::from_text(["the answer is ", "42"]));
let inference: Arc<dyn InferenceClient> =
Arc::new(LocalRunnerClient::new(runner, Provider::OpenAi));
let agent = Agent {
id: AgentId::from("a-1"),
model: "gpt-4o-mini".into(),
instructions: ComposedInstructionStrategy::new(
StaticPersonaStrategy::new("You are a helpful assistant."),
StaticTaskStrategy("Answer concisely.".into()),
StaticBehaviorStrategy("Always cite sources.".into()),
),
tools: StaticToolStrategy::new(Vec::<DynTool>::new()),
memory: RecencyMemoryStrategy::new(Arc::new(InMemoryStore::new()), 8, 40),
skills: StaticSkillStrategy::new(vec![]),
inference,
bus: EventBus::new(),
max_tool_iterations: 5,
};
let r = agent.run_turn("hi".into(), AgentBudgets::default()).await?;
println!("{}", r.text);
Swap MockRunner for any atomr-infer ModelRunner (OpenAI,
Anthropic, vLLM, Candle, …) and the same code runs unchanged. The
Provider enum tells the streaming tool-call parser which delta
format to expect.
use atomr_agents::callable::{Pipeline, with_retry, RetryPolicy};
let pipeline = Pipeline::from(prompt_handle)
.then(model_handle)
.then(parser_handle)
.build();
// Add retries on the model stage:
let resilient_model = with_retry(model_handle, RetryPolicy::default());
let pipeline = Pipeline::from(prompt_handle)
.then(resilient_model)
.then(parser_handle)
.build();
let output = pipeline.call(input, ctx).await?;
This is the LCEL prompt | model | parser shape.
| You need… | Reach for… |
|---|---|
| Channelled state + checkpointing | atomr-agents-state — see atomr-agents-state skill |
| Pause/resume / approval flows | atomr-agents-workflow::Interruptible — see atomr-agents-hitl skill |
| RAG | atomr-agents-retriever + atomr-agents-ingest — see atomr-agents-rag skill |
| Multi-agent topology | atomr-agents-org — see atomr-agents-multi-agent skill |
| Eval gates in CI | atomr-agents-eval + atomr-agents-registry — see atomr-agents-eval skill |
| Tracing into LangSmith | atomr-agents-observability — see atomr-agents-observability skill |
docs/index.md — documentation hubdocs/architecture.md — runtime layoutdocs/agent-pipeline.md — per-turn pipeline + tool-call loopdocs/feature-matrix.md — every feature flagcrates/agent/src/pipeline.rs — agent implementationcrates/harness/examples/research_harness.rs — sub-harness composition exampleProvider. The wrong provider parses
tool_call_delta for the wrong format and tools never fire.tools with max_tool_iterations > 1. Wastes inference
budget; if you have no tools, set max_tool_iterations = 1.MockRunner in production. It returns canned chunks; the
agent will appear to work but never actually consult a model.Agent across .await while sharing it. Agent
isn't Sync — wrap in Arc<RwLock<>> if multiple callers need it.cudarc into a remote-only build. Add atomr-infer's
remote-only feature to keep GPU deps out of the dep graph.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/atomr-agents-ai-skills:atomr-agents-quickstartfrom atomr-agents-ai-skills
npx claudepluginhub rustakka/atomr-agents --plugin atomr-agents-ai-skills14 skills in this plugin
/atomr-agents-evalUse when writing eval suites, picking a `Scorer` (Contains / LlmJudge / Rubric / Pairwise), gating publication on `RegressionGate`, queuing items for human annotation, or wiring online eval. Triggers on `EvalSuite { ... }`, `EvalSuite::run`, `LlmJudgeScorer::new`, `PairwiseScorer::compare`, `RegressionGate::check`, or `Registry::publish_gated`./atomr-agents-hitlUse when adding human-in-the-loop pause/resume — dynamic `interrupt()` from a step, static breakpoints (`interrupt_before` / `interrupt_after`), or driving resume with `Command::{Continue, Resume, Update, Goto}`. Triggers on writing `Interruptible { ... }`, calling `ctrl.interrupt(...)`, or porting a LangGraph `interrupt()` / `Command(resume=...)` flow./atomr-agents-langgraph-migrationUse when porting LangGraph or LangChain code to atomr-agents — translating `StateGraph` / `Runnable` / `RunnableSequence` / `MemorySaver` / `interrupt` / `Command` / `ToolNode` / retriever zoo / output parsers / `create_agent` middleware. Triggers on porting an existing LangChain / LangGraph project, or asking "how do I do X from LangGraph in atomr-agents"./atomr-agents-meetings-harnessUse when turning a diarized STT transcript into structured meeting artifacts in atomr-agents — building a `MeetingsHarness`, accumulating a `MeetingAnalysis` (attendees, notes, actions-with-owners, tiered summaries), picking batch vs live mode, persisting via the configured `Checkpointer` under the same `conversation_id` as the source transcript, or serving the meetings review UI (`meetings-harness-web`). Triggers on `MeetingsHarness`, `MeetingAnalysis`, "extract action items", "meeting summary", "attendees from transcript", "live meeting analysis", `atomr_agents.meetings_harness`./atomr-agents-middlewareUse when wrapping the agent's per-turn pipeline with cross-cutting policies — logging, retry, rate-limit, redaction, tool-error recovery, dynamic prompt override, before/after hooks. Triggers on `impl AgentMiddleware for`, `MiddlewareStack::new().push(...)`, or porting a LangChain `create_agent` middleware (`@wrap_model_call` / `@wrap_tool_call` / `@dynamic_prompt`)./atomr-agents-multi-agentUse when wiring an `Org` / `Department` / `Team` topology, picking a routing strategy (`RoundRobin` / `LoadAware` / `CapabilityMatch`), or building a supervisor / swarm / network / hierarchical multi-agent pattern. Triggers on `Team { unit: OrgUnit { ... } }`, `swarm_loop(...)`, `HandoffTool::new(...)`, `Policy::narrow`, or porting a LangGraph supervisor.