Eigenwise/atomic-agents

Building AI agents, atomically

What it solves

Building reliable AI agents often sacrifices control and predictability. Many frameworks aim for autonomous multi-agent systems but end up producing inconsistent outputs that are hard to maintain. Atomic Agents tackles this by treating each component like a LEGO block: single-purpose, reusable, composable, and predictable. It lets developers define clear input and output schemas, keep all logic in plain Python, and fine-tune each piece individually—so you get consistent, reliable behavior that fits your business needs.

How it works

An agent in Atomic Agents is composed of a system prompt, an input schema, an output schema, conversation history, and optional context providers that inject dynamic information at runtime. You define schemas with Pydantic, and the framework (built on Instructor) handles structured calls to language models. Components can be chained by aligning the output schema of one agent or tool with the input schema of another, making it easy to swap tools or agents without rewriting your pipeline. The framework also includes a CLI (Atomic Assembler) for downloading tools, OpenTelemetry-based observability for every agent and tool run, and a rich set of examples covering chatbots, web search, RAG, orchestration, and more.

Who it’s for

Developers who want to build production-ready AI applications with the same discipline as traditional software. It’s suitable for teams that need predictable outputs, modular design, and the ability to extend or swap components without disrupting the whole system—while still keeping full control in plain Python.

Highlights

  • Built on Pydantic and Instructor for structured, validated inputs and outputs.
  • Works with multiple LLM providers via Instructor (OpenAI included by default; Groq, Anthropic, Gemini, and others as extras).
  • Chain agents and tools by simply matching their schemas—swap components freely.
  • Add dynamic context at runtime through pluggable Context Providers.
  • Full observability: every agent and tool run emits an OpenTelemetry span, compatible with Phoenix, Grafana, Datadog, and more.
  • CLI (Atomic Assembler) to discover and download tools, with more components coming.
  • Extensive, documented examples: deep research, orchestration, RAG chatbot, web search, YouTube summarizer, multimodal image analysis, and more.
  • First-class support for AI coding assistants (Cursor, Windsurf, Claude Code, etc.) via AGENTS.md and agent skills.
  • Free and MIT-licensed.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch