You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+86-31Lines changed: 86 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,75 @@
1
-
# Peri
1
+
<divalign="center">
2
2
3
-
Peri is a terminal coding agent, built the **Nobody Coding** way — powered by **DeepSeek-V4-Pro** and **GLM-5.1**. Peri is compatible with Claude Code — your `.claude/` config just works. It grew out of [OpenLangGraphServer](https://github.com/konghayao/open-langgraph-server) and [Zen Code](https://github.com/konghayao/zen-code). Built in Rust, runs on my little RISC-V dev board.
3
+
# Peri Code
4
4
5
-
> Recent commits are almost entirely DeepSeek and GLM. Claude was just there in the beginning.
5
+
**A Rust-built coding agent — fast, lean, Claude Code compatible, any LLM.**
One **13 MB binary**, **~50 MB of RAM**, **98% cache hits**. Bring your own API key — DeepSeek, GLM, Qwen, or Anthropic, switch on the fly. Your existing Claude Code config works today, not eventually: skills, hooks, MCP, plugins, sub-agents. **Zero migration, zero lock-in.**
16
+
17
+
99% of the codebase was written by AI (DeepSeek & GLM-5.2), shipped by humans who decided *what* to build. The agent files its own bugs, fixes them, and writes the lessons back into the repo. More on that [below](#built-by-ai-published-by-human).
18
+
19
+
---
6
20
7
21
## Why Peri
8
22
9
-
-**Rust, not Node.js or Bun.** Fast startup, ~50MB memory footprint, no runtime overhead. Won't sneak up to 1GB while you're not looking.
10
-
-**Context optimized.** System prompt frozen at session start, dynamic content isolated behind a boundary marker, tool definitions stable across rounds.
11
-
- 95-99% prompt cache hit rate — minimal token waste.
12
-
- No agent memory / auto-dream / extra calls to waste your tokens.
13
-
- Only core tools in every request. Other tools lazy-loaded on demand using Tool Search.
14
-
-**Any LLM, not just one.** Anthropic, OpenAI-compatible APIs — DeepSeek, GLM, whatever works for you.
15
-
-**Drop-in compatible.** Your `.claude/` config just works. Zero migration.
16
-
- Agents, skills, hooks, and MCP servers.
17
-
- Plugins from the Claude Code ecosystem.
18
-
- Sub-agents with the same `.claude/agents/` definitions.
19
-
- Auto compact — long sessions stay fast and cheap.
20
-
-**Streaming Markdown.** Full Markdown rendering as the agent types — code blocks, tables, diffs, all live.
21
-
-**IDE-ready via [ACP](https://github.com/Azure/agent-client-protocol).** Connects to [Zed](https://zed.dev) and other ACP clients out of the box. We're also building a "Cloud Code" platform where any ACP-compatible agent can plug in and go.
22
-
-**Unchecked but ready.**
23
-
- Built-in LSP.
24
-
- Background agents: fork work to sub-agents that run while you keep going.
23
+
- 🦀 **Rust, not Node.js**
24
+
- 13 MB binary, ~50 MB RAM. Won't sneak up to 1 GB while you're not looking
- Anthropic, OpenAI, DeepSeek, GLM, Qwen. Swap mid-session, no restart
29
+
- 🔌 **Drop-in Claude Code compatible**
30
+
- Existing Claude Code config just works. Skills, hooks, MCP, plugins — zero migration
31
+
- 🔍 **Tool Search**
32
+
- The LLM only sees what it needs. ~14 core tools, rest discovered on demand — lean prompts, fat cache hits
33
+
- 📝 **Streaming Markdown**
34
+
- Code blocks, tables, diffs — fully rendered as the agent types, not after
35
+
- 🤖 **Sub-agents & background agents**
36
+
- 7 built-in specialists (coder, explorer, code-reviewer, web-researcher…). Fork work to the background and keep going
37
+
- 🗜️ **Auto Compact**
38
+
- Hours-long sessions stay fast and cheap, automatically
39
+
- 📦 **agm**
40
+
-`agm install` any skill or agent. One lockfile, any tool
41
+
- 🔧 **Built-in LSP & observability**
42
+
- Language-aware intelligence out of the box. Langfuse traces, token usage, cache monitor
43
+
44
+
---
45
+
46
+
## Architecture
47
+
48
+
Peri is not just a TUI. It's a layered platform where the **agent core** is decoupled from the **frontend** via the [Agent Client Protocol](https://agentclientprotocol.com). The same core powers three entry points:
**One core, three frontends.** Terminal users get `peri-tui`. IDE users connect via ACP (Zed today, more to come). Headless / CI / cloud scenarios use the Stdio transport. Change the agent logic once — every frontend benefits.
First launch guides you through model and API key configuration — no config file editing required.
93
+
94
+
---
45
95
46
-
**Nobody Coding** means exactly what it sounds like. No human wrote a single line of Peri — not the architecture, not the TUI, not the harness tuning that makes open-source models reliable in a Agent loop. Humans decide *what*. AI figures out *how*. You're not pair programming — you're product managing an engineer that never sleeps. 99% of Peri was built this way.
96
+
## Built by AI, Published by Human
47
97
48
-
A typical pipeline:
98
+
Peri's code is 99% AI-generated, primarily by DeepSeek and GLM-5.2. The development workflow is a closed loop the agent drives itself:
49
99
50
-
| When you... |Pipeline kicks off |
100
+
| When you... |The loop kicks off |
51
101
|---|---|
52
-
|**Find a bug or piece of tech debt**|`issue-create` → `systematic-debugging` → `writing-plans` → `subagent-driven-development` → `issue-archive` → improve CLAUDE.md |
53
-
|**Want to build a new feature**|`grill-me` → `writing-plans` → `subagent-driven-development`|
Each fix that reveals a non-obvious constraint gets written back into `CLAUDE.md` as a **TRAP** — a hard rule the agent follows on every subsequent iteration. The dozens of TRAPs in the repo weren't authored by humans; they were extracted by the agent at the scene of each bug. That's how quality compounds without human code review.
107
+
108
+
→ Read the full story: [Nobody Coding](docs/blogs/ai-coding-paradigm/nobody-coding.md)
109
+
110
+
---
56
111
57
112
## Acknowledgments
58
113
59
-
-[Claude Code Best](https://github.com/claude-code-best/claude-code) — invaluable community support and feedback
114
+
-[Claude Code Best](https://github.com/claude-code-best/claude-code) — community support and feedback
60
115
-[Superpowers](https://github.com/obra/superpowers) & [Matt Pocock's Skills](https://github.com/mattpocock/skills) — the skill suites that drive Peri's AI engineering workflow
61
-
-[ACP](hhttps://agentclientprotocol.com/) — open protocol for agent-IDE communication
116
+
-[ACP](https://agentclientprotocol.com) — open protocol for agent-IDE communication
0 commit comments