About
Lightweight Rust Agent support 16k+ Messages in ONE session only use ~80MB RAM, Multitask, Dynamic Workflow, Goal, Artifacts, Free Web Search, full feature and better support!
Developer ToolsMeasured star growth
- in 24h
- +1
- in 7 days
- +8
- in 15 days
- +10
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
Peri Code
All Coding for you.
A native Rust coding agent for macOS, Linux, and Windows.
Bring an Anthropic or OpenAI-compatible endpoint.
AGENTS, WORKING TOGETHER
Plan delivery. Coordinate agents. Delegate tasks.
01 / UltracodeWork as a team.Run agents in parallel, choose their models, and track progress. /ultracode
|
02 / Multitask (Built-in)Delegate and keep talking.Let agents work in the background while you stay in control. /multitask
|
🔌 MCP PlusMore than tools.Load remote skills and agents on demand. |
|
🛠️ MetaHarnessMake the agent yours.Customize prompts, capabilities, and built-in agents. |
🧩 MCP AppsConnect interactive apps.Use apps in a compatible ACP host, with Peri's tool permissions. |
📄 ArtifactsShare your results.Publish HTML or Markdown reports as public links. |
⏱️ Goals & AutomationKeep the work moving.Track goals across turns and schedule recurring tasks while Peri runs. |
The essentials, included.
Streaming Markdown · Compaction · Langfuse
Skills & hooks · Plugins · Model profiles
Rewind · Fork · Resume
Terminal · Headless · ACP
Get started
The installers download published agent-v* release binaries, not builds of the current branch. Set PERI_INSTALL_VERSION to a full tag from Releases to install that version. The scripts verify the release archive against its published SHA-256 checksum.
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/konghayao/peri/main/scripts/install.sh | bash
If direct GitHub downloads fail, this optional mirror supplies both the download and release API endpoints (中国大陆用户可选):
# The mirror is third-party; do not forward GitHub credentials to it.
curl -fsSL https://github-proxy-5ad00a.netlify.app/konghayao/peri/raw/main/scripts/install.sh \
| GITHUB_PROXY=https://github-proxy-5ad00a.netlify.app \
GITHUB_API_PROXY=https://github-proxy-5ad00a.netlify.app/api \
GITHUB_TOKEN= \
bash
Windows PowerShell
irm https://raw.githubusercontent.com/konghayao/peri/main/scripts/install.ps1 | iex
If direct GitHub downloads fail, the same optional mirror applies on Windows (中国大陆用户可选). The mirror variables are cleared after the install, so a later peri update cannot inherit them and forward credentials to the mirror.
# The mirror is third-party; do not forward GitHub credentials to it.
$env:GITHUB_PROXY = "https://github-proxy-5ad00a.netlify.app"
$env:GITHUB_API_PROXY = "https://github-proxy-5ad00a.netlify.app/api"
Remove-Item Env:GITHUB_TOKEN -ErrorAction SilentlyContinue
try {
irm https://github-proxy-5ad00a.netlify.app/konghayao/peri/raw/main/scripts/install.ps1 | iex
} finally {
# Keep the session clean so a later `peri update` cannot inherit the mirror.
Remove-Item Env:GITHUB_PROXY, Env:GITHUB_API_PROXY -ErrorAction SilentlyContinue
}
For a script-managed install, peri update --use-proxy (cross-platform) updates through this same mirror on macOS, Linux, and Windows. With mise, use mise to manage updates.
Also installable with mise through the github:KonghaYao/peri tool;
set version_prefix = "agent-v" to strip the release tag prefix.
The sandbox execution binary (peri-sandbox) uses a separate mise tool alias on the same github backend — see peri-sandbox-service/README.md:
[tool_alias]
peri-sandbox = "github:KonghaYao/peri"
[tools.peri-sandbox]
version = "0.2.0"
version_prefix = "peri-sandbox-v"
matching = "peri-sandbox-"
mise use -g [email protected]
mise install
peri-sandbox serve
Follow the installer's PATH instructions and run Peri from your project directory. If no usable model provider is configured, the interactive setup wizard opens before your first session.
peri --permission-mode default # Interactive session with approval prompts when policy requires
peri -c # Continue the most recent session in this directory
peri -p "Summarize this project" # Run a non-interactive task and exit
peri update # Update a script-managed installation
To self-host the swarm backend, see Docker Compose single-host deployment: peri-swarm replicas behind nginx with PostgreSQL, OpenObserve, a sandbox service, and an LLM gateway.
Without an explicit permission mode, the default is Bypass. Headless -p does not show approval prompts. Permission modes are not OS sandboxing; use an isolated workspace when running untrusted projects.
Configuration & runtime notes
- Use
/loginto manage providers,/modelto configure and select model profiles, and/threadsto browse saved sessions. - By default, global settings are in
~/.peri/settings.jsonand the local session database is~/.peri/threads/threads.db. Select different paths with--config-fileand--db-path. See configuration sources and precedence. - For an external ACP client, run
peri --setuponce in a terminal if model settings are not ready. After setup exits, configure the client to launchperi acp --cwd /path/to/projectas a stdio subprocess. Put global options such as--config-filebeforeacp. The stdio entry starts in Bypass; the client can select a different permission mode for the session. - Workflows require Node.js. Extensions may need other dependencies.
- Claude Code compatibility varies by feature. Caching depends on your provider and workload.
- Coordination uses skills and a shared runtime. MetaHarness changes apply to new sessions; MCP Apps needs a compatible host.
See peri --help and peri acp --help for the options supported by your installed version.
Build & contribute
Install mise and your platform's native compiler (Xcode Command Line Tools on macOS, Visual Studio C++ Build Tools and Git Bash on Windows).
git clone https://github.com/konghayao/peri.git
cd peri
mise trust
mise bootstrap packages apply --manager apt # Debian/Ubuntu build prerequisites
mise install --locked
mise tasks ls
mise run dev # loads the optional repository .env
mise run dev -- --cwd=examples/minimal # select the TUI workspace
mise run dev:tui -- --dump # component storybook without a TTY
mise run build # optimized local peri binary
./dev.sh and ./dev-tui.sh forward to the same tasks. Build and verification tasks use the patched Cargo entry point. See the tool ownership and update instructions.
AI-assisted development, with human responsibility for review and release.
See verification gates for the distinction between local hooks, ordinary CI, and release validation.
Repository guidance · Documentation · Architecture · Code index · Standards · Testing
Built with Ratatui, ratatui-kit, Tokio, ACP, and Langfuse. Thanks to Claude Code Best, Superpowers, and Matt Pocock's Skills.
Explore related projects
Loading…