cersei  by pacifio

Rust SDK for building advanced coding agents

Created 3 weeks ago

New!

276 stars

Top 93.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary Cersei is a Rust SDK for building sophisticated coding agents, providing composable library functions for tool execution, LLM streaming, graph memory, and sub-agent orchestration. It targets developers seeking to create custom agents, embed agentic capabilities, or build drop-in replacements for tools like Claude Code, emphasizing high performance and flexibility.

How It Works The SDK abstracts LLM providers (Anthropic, OpenAI, Ollama) and offers 30+ built-in tools, extensible via #[derive(Tool)]. A key differentiator is its high-performance, three-tier memory system: flat files, CLAUDE.md hierarchy, and an optional Grafeo graph database for sub-millisecond memory recall. It supports sub-agent orchestration and MCP integration for complex agentic workflows.

Quick Start & Requirements Library install: cargo add cersei = { git = "https://github.com/pacifio/cersei" }. The abstract-cli agent installs via cargo install --path crates/abstract-cli. Requires Rust toolchain and LLM provider API keys. Official documentation is available at cersei.pacifio.dev/docs.

Highlighted Details

  • Performance: abstract-cli benchmarks show dramatic improvements over Claude Code (e.g., 8.2x faster startup, 29x smaller binary, 68x less memory, 77,000x faster graph memory recall).
  • Tooling: 34 built-in tools (file, shell, web, planning, orchestration); custom tools are easily implemented.
  • Memory: Three-tier system (files, CLAUDE.md, Grafeo graph) offering extremely fast recall and storage.
  • Orchestration: Supports sub-agent spawning, task coordination, and message passing.

Maintenance & Community The project is built by Adib Mohsin. No specific community channels or roadmap links are detailed in the provided README.

Licensing & Compatibility Cersei is released under the MIT License. This license is permissive for commercial use and closed-source integration.

Limitations & Caveats Performance data primarily relates to the abstract-cli application built upon Cersei. The README notes Cersei is a "reverse-engineered Rust port" of Claude Code's architecture.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
3
Issues (30d)
9
Star History
279 stars in the last 25 days

Explore Similar Projects

Starred by Travis Fischer Travis Fischer(Founder of Agentic), Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), and
8 more.

claw-code by ultraworkers

1.0%
189k
Agent harness engineering framework
Created 4 weeks ago
Updated 7 hours ago
Feedback? Help us improve.