kopi

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 6 GitHub stars
Code Warn
  • process.env — Environment variable access in .github/workflows/test.yml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A terminal coding agent, brewed in Go and served iced.

README.md

A terminal prompt typing kopi, next to the Kopi mascot: a smiling bag of iced kopi tied with a purple string

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

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.

Reviews (0)

No results found