kopi
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Uyari
- process.env — Environment variable access in .github/workflows/test.yml
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A terminal coding agent, brewed in Go and served iced.

Kopi
kopi (n.): coffee, in Singapore.
Send a prompt, go for a kopi, come back to click approve.
Kopi is a terminal coding agent in Go, one binary, built on PiG. PiG runs the agent loop, sessions, providers, compaction, the MCP client and skill parsing; Kopi owns the interface, tools, subagents, workflows, permissions and the OS sandbox.
It starts in plan mode and asks before acting outside the sandbox.
Install
With Homebrew on macOS or Linux:
brew install keyute/tap/kopi
To build from source instead:
- Needs Go (version in
go.mod) and Task to build; the built binary needs nothing else at runtime. - Builds for macOS, Linux and Windows; releases and CI cover macOS and Linux.
task build # writes bin/kopi
Quick start
kopi login # list providers
kopi login <provider>
Setting a model is optional. Without model, Kopi uses the default model of a provider with a credential, and with none the fullscreen interface asks which provider to log in to (see configuration). To pick one, set it in ~/.kopi/config.json ($KOPI_HOME overrides the home):
{ "version": 1, "model": "openai-codex/gpt-5.6-luna" }
kopi # fullscreen interface, starts in plan mode
kopi -p "explain main.go" # print mode
git diff | kopi -p "review this"
Shift+Tab or /execute switches from plan to execute mode.
Documentation
- Usage: fullscreen and print mode, commands, keys
- Configuration:
config.json, key bindings, status line, themes - Providers: login, models, plan limits
- Tools: modes, built-in tools, background tasks, web tools
- Permissions: rules, approval dialog, classifier
- Sandbox: the OS sandbox for
Bash - MCP servers
- Trust and instructions: folder trust,
AGENTS.md - Skills
- Subagents
- Workflows
Contributing
See CONTRIBUTING.md.
Credits
Built on PiG by Michael Kinsy (MIT). Other dependencies are listed in go.mod.
The Seatbelt policy in internal/sandbox/codex/ is adapted from OpenAI Codex (Apache-2.0); its LICENSE and NOTICE are in that directory. The Linux listener handoff in internal/sandbox/handoff_linux.go follows Codex's design; no code is copied. The Linux sandbox's mount plan in internal/sandbox/bwrap.go is adapted from Anthropic's sandbox-runtime (Apache-2.0); its LICENSE is in internal/sandbox/srt/. The domain entry syntax and matching in internal/sandbox/domain.go and the proxy environment variables follow the same project (same licence and LICENSE).
License
MIT, see LICENSE.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi