CriogenAI is an open-source AI agent framework with a core engine written in Rust, supporting the building of agents and workflows in Python, TypeScript, and Rust. Its goal is to provide capabilities such as tool calling, human approval, persistent threads, memory, and audit trails while keeping overhead low, and to unify access to multiple model providers.
Main capabilities:
- Low overhead: The agent loop, tool scheduling, validation, and saving all run in Rust. The official claim is that framework overhead is approximately 0.29 milliseconds per agent turn, and 1000 concurrent agents run in approximately 0.42 seconds.
- Crash recovery: Every step and every tool call is saved to SQLite or Postgres. After a crash, execution can continue from where it stopped without re-executing completed tools.
- Human approval: Risky tools can be marked as requiring approval, and the run pauses and waits before calling them. Approval, editing, or rejection can be performed from any process.
- Compliance support: Provides encryption at rest, hash-chained audit trails that do not contain message content, retention rules, and redaction before content is sent to providers.
- Multi-language sharing: Python, TypeScript, and Rust share the same engine, error codes, and save format, and conversations can continue across different languages.
Usage:
- Precompiled versions support Windows x64, Linux x64 and ARM64, and macOS Apple Silicon and Intel, with no Rust toolchain required.
- The Rust crate can also be used directly, but it has not yet been published to crates.io and must depend on this repository.
- Requires Rust 1.88+, Python 3.9+, and Node.js 18+.
- Provides a tutorial that step by step builds a support agent with approval, saved conversations, and memory; you can also experience 19 agent patterns in the browser (a real engine based on WebAssembly, with no installation or keys required).
Use cases: Suitable for agent and workflow development that requires tool calling, human approval, persistent conversations, memory, and audit trails, especially scenarios with requirements for crash recovery and compliance.
Limitations and notes:
- The project is in early development (0.1), and APIs may change between 0.x versions.
- Tests use mock models and do not call real models.
- Dual-licensed under Apache 2.0 or MIT.
- Specific fees, prices, platform support details, and similar information are not yet provided.