🧩 Framework & Thư viện•Mã nguồn mở•Đang hoạt động

Cersei

Rust SDK để build coding agents với tool execution, LLM streaming, graph memory, sub-agent orchestration, skills và MCP.

#cersei
Danh mục
🧩 Framework & Thư viện
Giá
Mã nguồn mở
GitHub Stars
⭐ 460
Ngôn ngữ
Rust
License
MIT
Ngày thêm
2026-04-08
Tóm tắt từ README GitHub
Cersei The complete Rust SDK for building coding agents. Cersei gives you every building block of a production coding agent — tool execution, LLM streaming, sub-agent orchestration, persistent memory, skills, MCP integration — as composable library functions. Build a Claude Code replacement, embed an agent in your app, or create something entirely new. MIT License Built by Adib Mohsin Docs GitHub --- Why Cersei Claude Code OpenCode Cersei SDK Abstract CLI --- --- --- --- --- Form factor CLI app CLI app Library CLI app Embeddable No No Yes No (uses SDK) Provider Anthropic only Multi-provider Multi-provider Multi-provider Language TypeScript TypeScript Rust Rust Custom tools Plugins Plugins / Via SDK Startup 269ms 300ms N/A (library) 34ms Binary / RSS 174MB / 330MB — N/A 5.8MB / 4.9MB Memory File-based SQLite File + Graph File + Graph Skills Both formats Both formats Cersei is built from the architecture of Claude Code (reverse-engineered Rust port) and designed so that anyone can build a complete, drop-in replacement for Claude Code, OpenCode, or any coding agent — as a library call. --- Abstract — The CLI Abstract is a complete CLI coding agent built on Cersei.
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

Cersei là Rust SDK để build coding agents theo kiểu library-first. Thay vì đưa sẵn một CLI cố định, repo này cung cấp các building blocks như tool execution, memory, LLM streaming, MCP và sub-agent orchestration để bạn tự lắp agent theo ý muốn.

Điểm mạnh của Cersei là tính composable và form factor kiểu SDK, khá hiếm trong mảng coding agents hiện tại vốn hay đóng gói thành CLI hoặc app hoàn chỉnh. Nếu bạn muốn nhúng coding agent vào sản phẩm của mình hoặc tự build một Claude Code replacement bằng Rust, đây là repo rất đáng xem.

Tính năng chính

  • Cung cấp Rust SDK đầy đủ để build coding agents từ các library functions có thể ghép lại
  • Hỗ trợ tool execution, LLM streaming, graph memory, skills và MCP integration
  • Có sub-agent orchestration và permission policy để kiểm soát agent behavior
  • Đi kèm Abstract, một CLI agent xây trên chính SDK này
  • Hỗ trợ multi-provider, không khóa cứng vào một model vendor duy nhất

Ai nên dùng

Hợp với developer muốn xây coding agent riêng, nhúng agent vào app, hoặc thử kiến trúc agent runtime bằng Rust thay vì TypeScript quen thuộc.

Hạn chế

  • Đây là SDK, nên người dùng phải tự lắp ghép và ra quyết định kiến trúc nhiều hơn so với dùng CLI có sẵn
  • Hệ sinh thái còn mới, tài liệu và examples cần thời gian để dày thêm
  • Rust là điểm cộng với người hợp gu, nhưng cũng là rào cản với team không quen stack này
Cersei | Atlas for AI