The open source alternative to Amazon Bedrock AgentCore
90% cheaper โข Deploy anywhere โข No vendor lock-in
[โญ Star this repo] [๐ Report Bug] [๐ก Request Feature]
Amazon just launched Bedrock AgentCore. It's great, but:
- โ Expensive (standard LLM costs + AWS markup)
- โ AWS lock-in (can't deploy elsewhere)
- โ Closed source (can't see or modify code)
Atomic Agents solves all three:
- โ 90% cheaper via TDLN compression
- โ Deploy anywhere (AWS, GCP, Azure, self-hosted)
- โ Open source (MIT license)
Plus features Bedrock doesn't have:
- ๐ Structural governance (policy gates)
- ๐ Cryptographic audit trail (immutable ledger)
- ๐ Complete dashboard (included, no extra setup)
- ๐ฐ Explicit cost modes (mechanic vs genius)
docker pull danvoulez/atomic-agents
docker run -p 3000:3000 danvoulez/atomic-agentsgit clone https://github.com/danvoulez/Atomic-Agents.git
cd Atomic-Agents
npm install
npm run devCompresses natural language โ structured format โ 90% token savings
Example: Before: "Please analyze this auth module and refactor..." (1500 tokens) After: task:analyze target:auth.ts action:refactor (150 tokens) โ 90% reduction = 10x cheaper!
Structural governance that's impossible to bypass:
{
mode: "mechanic",
budget: { maxSteps: 20, maxCostCents: 50 },
tools: ["read_file", "run_tests"], // Only safe tools
enforced: true // Cannot be overridden
}Append-only, cryptographically verified audit trail: Every decision, tool call, and result is recorded. Cannot be altered or deleted. "If it's not in the ledger, it didn't happen."
| Provider | Tokens/Task | Cost/Task | Monthly Cost |
|---|---|---|---|
| Bedrock AgentCore | 15,000 | $0.50 | $500 |
| Atomic Agents | 1,500 | $0.05 | $50 |
| Savings | 90% less | 90% less | $450/month |
At scale (10k tasks/month): Save $4,500/month!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ User Interface (Web) โ โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Coordinator (TDLN) โ โ โข Compresses input (90% reduction) โ โ โข Routes to appropriate agent โ โ โข Enforces policy gates โ โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โโโโโโโโโโโดโโโโโโโโโโ โ โ โโโโโโโโโผโโโโโโโโโ โโโโโโโโผโโโโโโโ โ Mechanic Agent โ โ Genius Agentโ โ โข Fast, cheap โ โ โข Exploratoryโ โ โข Strict rules โ โ โข More tools โ โโโโโโโโโฌโโโโโโโโโ โโโโโโโโฌโโโโโโโ โ โ โโโโโโโโโโโฌโโโโโโโโโโ โ โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Ledger (Truth) โ โ โข Immutable event log โ โ โข Cryptographic hashes โ โ โข Complete audit trail โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Coordinator: Routes tasks intelligently
- Planner: Breaks down complex goals
- Builder: Executes code changes
- Tester: Runs tests and validates
- Evaluator: Assesses quality
- TDLN Compression: 90% token reduction
- Budget Enforcement: Hard limits per job
- Mode Selection: Mechanic (cheap) vs Genius (expensive)
- Tool Optimization: Read tools cheaper than write
- Policy Gates: Structural rules enforcement
- Ledger: Immutable audit trail
- Tool Separation: Read vs write clearly marked
- Budget Caps: Cannot exceed limits
- Complete Dashboard: Real-time monitoring
- Event Timeline: See every decision
- Cost Tracking: Per-job breakdown
- Quality Scores: Automatic evaluation
- Core agent system
- TDLN compression
- Policy gates
- Ledger
- Basic dashboard
- WebSocket support (real-time)
- Docker images
- Kubernetes manifests
- Enhanced evaluation
- More built-in tools
- Multi-model support
- Distributed execution
- Advanced memory system
- Plugin ecosystem
- Hosted option
We welcome contributions! See CONTRIBUTING.md
Areas we need help:
- ๐ Documentation improvements
- ๐งช More test coverage
- ๐ง New tools/integrations
- ๐จ UI/UX enhancements
- ๐ Translations
- Discord - Chat with us
- GitHub Discussions - Ask questions
- Twitter - Follow updates
MIT License - see LICENSE
Built with inspiration from:
- Amazon Bedrock AgentCore (validation of the concept)
- Model Context Protocol (MCP)
- OpenAI Agents
- LangChain
Special thanks to everyone who helped during 18 months of development!
This is independent open source software. Not affiliated with Amazon or AWS. "Bedrock AgentCore" is a trademark of Amazon Web Services.
Made with โค๏ธ by @danvoulez
If you find this useful, please โญ star the repo!
- LICENSE MIT License
Copyright (c) 2024 Dan Voulez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.