
pacifio/cersei
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
pacifio/cerseiは、https://github.com/pacifio/cersei.からインポートされたMCPサーバー候補です。
概要
pacifio/cerseiは、https://github.com/pacifio/cersei.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
コーディングエージェントを構築するための完全なRust SDKです。
Cerseiは、ツール実行、LLMストリーミング、サブエージェントのオーケストレーション、永続メモリ、スキル、MCP統合など、プロダクションコーディングエージェントのすべての構成要素を構成可能なライブラリ関数として提供します。Claude Codeの代替を作ったり、アプリにエージェントを埋め込む、あるいはまったく新しいものを作成したりできます。
MITライセンスアディブ・モーシンによって構築 |ドキュメント |GitHub
なぜサーセイなのか
| クロードコード | OpenCode | サーセイSDK | 抽象CLI | |
|---|---|---|---|---|
| フォームファクター | CLIアプリ | CLIアプリ | ライブラリ****CLIアプリ | |
| 埋め込み可能 | いいえ | いいえ | はい | いいえ(SDK使用) |
| 提供者 | 人用のみ | マルチプロバイダー | マルチプロバイダー | マルチプロバイダー |
| 言語 | タイプスクリプト | タイプスクリプト | Rust | Rust |
| カスタムツール | プラグイン | プラグイン | impl Tool / #[derive(Tool)] |
SDK経由 |
| 起動 | ~269ms | ~300ms | 該当(ライブラリ) | ~34ms |
| バイナリ / RSS | 174MB / 330MB | — | 該当なし | 5.8MB / 4.9MB |
| メモリ | ファイルベース | SQLite | ファイル+グラフ | ファイル+グラフ |
| スキル | .claude/commands/ |
.claude/skills/ |
両方のフォーマット****両方のフォーマット |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
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.
use cersei::prelude::*;
#[tokio::main]
async fn main() -> anyhow::Result {
let output = Agent::builder()
.provider(Anthropic::from_env()?)
.tools(cersei::tools::coding())
.permission_policy(AllowAll)
.run_with("Fix the failing tests in src/")
.await?;
println!("{}", output.text());
Ok(())
}
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 | impl Tool / #[derive(Tool)] |
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 | .claude/commands/ |
.claude/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. One binary, zero runtime dependencies, graph memory by default.
# Install
cargo install --path crates/abstract-cli
# Use
abstract # Interactive REPL
abstract "fix the failing tests" # Single-shot
abstract --resume # Resume last session
abstract --model opus --max # Opus with max thinking
abstract --no-permissions --json # CI mode with NDJSON output
Abstract vs Claude Code
All numbers from run_tool_bench.sh --full.
| Metric | Abstract | Claude Code | Winner |
|---|---|---|---|
| Startup (warm) | 32ms | 266ms | Abstract (8.2x) |
| Binary size | 6.0 MB | 174 MB | Abstract (29x) |
| Memory (RSS) | 4.9 MB | 333 MB | Abstract (68x) |
| Tool dispatch | 0.02-17ms | 5-265ms+ | Abstract |
| Memory recall | 98us (graph) | 7,545ms (LLM) | Abstract (77,000x) |
| Memory write | 30us (graph) | 20,687ms (agent) | Abstract (689,000x) |
| MEMORY.md load | 9.6us | 17.1ms | Abstract (1,781x) |
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →