atomic is a Rust framework for small, typed, single-purpose agents, called atoms. An atom is a typed function from an input to an output that runs as one model turn and returns structured output that fits its JSON Schema. Workflows compose atoms, and they are durable: a workflow survives a crash without redoing finished work, and a person signs off at durable gates.
atomic builds on OpenAI's open-source Codex crates for running agents, and gets durable execution from a fork of durare.
Status: early development. Most of what the documentation describes is designed, not built yet; availability says what works today.
Declarative atoms use .atom.astro, with schema-generated types, local prompt
components and bounded interpreted expressions. atomic check validates them and
atomic render previews their developer/user prompt parts without a model call.
See Astro authoring.
- Documentation, starting with the mental model
- Examples, checked offline by
tools/check_examples.py - Developing atomic: the development container, tests and CI
- Security policy
atomic is licensed under the Apache License 2.0.