npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@meowlynxsea/koi

v0.2.65

Published

A coding agent built on Pi SDK with TUI + Bun runtime

Downloads

9,737

Readme

🌐  koi.ink  ·  📖  Docs  ·  📦  npm


⚡ Quick Start

# macOS / Linux
curl -fsSL https://koi.sh/install.sh | bash

# Windows
irm https://koi.sh/install.ps1 | iex

# From source
git clone https://github.com/meowlynxsea/koi.git && cd koi && bun install

Then run koi in any project directory.

ACP Agent Mode

Koi supports the Agent Client Protocol (ACP), allowing any ACP-compatible editor (VS Code, Zed, Cursor, etc.) to connect to Koi as a backend agent:

# Start Koi in ACP mode
koi --acp

In ACP mode, Koi communicates via JSON-RPC over stdio and exposes its full agent capabilities — tools, MCP integration, skills, and context engine — to the connected client.


🎨 What is KOI?

KOI (Keep on Improving) is a TUI coding agent that builds a living semantic map of your entire codebase — every function, every type, every relationship — stored locally on your machine.

Built with OpenTUI React on the Bun runtime. Every frame at 60fps. Every keystroke, instant.

┌──────────────────────────────────────────────────────────────────────────┐
│  koi — zsh                        [Build]  [Ask]  [Plan]                │
├──────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│  $ koi                                                                   │
│  KOI v0.2.20 — Keep on Improving                                         │
│                                                                          │
│  Build > Analyze and optimize this React component                      │
│  [KOI] Scanning codebase...                                              │
│  [KOI] Found 3 optimization points in 2 files                            │
│  [KOI] Applied changes ✓                                                 │
│                                                                          │
│  Ask > Explain the auth flow without changing anything                  │
│  [KOI] Reading auth.ts, middleware.ts, user-store.ts...                 │
│  [KOI] The auth flow uses JWT tokens with refresh rotation...            │
│                                                                          │
│  Build > █                                                               │
└──────────────────────────────────────────────────────────────────────────┘

✨ Core Features

🎭 Three Modes

Press Tab to switch. Each mode has its own tool allowlist and safety profile.

| Mode | Tools | Write | |:----:|:-----:|:-----:| | Build | All 20+ | ✅ | | Ask | Read-only | ❌ | | Plan | Read + Tasks | ❌ |

🧠 Cat's Context Engine

Your codebase, deeply understood.

  • Local embeddings (BERT, 384-dim)
  • Knowledge graph with semantic links
  • 12-slot working memory
  • File watcher auto-sync
  • Dream consolidation every 30min

🧩 Skills Ecosystem

Teach KOI your conventions.

  • SKILL.md with YAML frontmatter
  • Auto-discover from ~/.config/koi/skills
  • Conditional activation by path
  • Slash command invocation
  • Claude-compatible format

🔌 MCP Native

Connect any MCP server instantly.

| Transport | Protocol | |-----------|----------| | stdio | Local executable | | SSE | Server-Sent Events | | HTTP | REST API | | WebSocket | Real-time |

🖥️ Fluid TUI

A terminal UI that feels alive.

  • 60fps React rendering
  • Bracketed paste & image preview
  • Ink-wave idle animations
  • Real-time cost tracking
  • Screenshot analysis

🔒 Privacy First

Your code never leaves your machine.

  • 100% local embeddings
  • GPL-3.0 open source
  • Customizable modes & prompts
  • Own MCP servers & skills
  • Own external editor

🚀 Usage

Keyboard Shortcuts

| Key | Action | Key | Action | |:---:|:-------|:---:|:-------| | Shift+Tab | Cycle modes | Ctrl+S | Manage sessions | | Ctrl+G | External editor | Ctrl+F | Fork session | | Ctrl+V | Paste Image | Ctrl+C | Cancel operation |


📂 Project Structure

koi/
├── src/
│   ├── agent/          # Core agent & orchestration
│   ├── cce/            # Cat's Context Engine
│   ├── cli/            # CLI parsing
│   ├── commands/       # Slash commands
│   ├── config/         # Settings
│   ├── services/       # LLM providers, costs
│   ├── skills/         # Built-in skills
│   ├── tools/          # Agent tools
│   └── tui/            # OpenTUI components
├── native/             # Native modules
├── website/            # Docs site (koi.ink)
└── examples/skills/    # Skill templates

🛠️ Development

git clone https://github.com/meowlynxsea/koi.git
cd koi
bun install
bun run dev        # Development mode
bun run build      # Production build
bun run check      # Type check
bun run lint       # Lint

📚 Documentation

Full documentation at koi.ink


🌐 koi.ink · 📖 Docs · 💻 GitHub · ⚖️ GPL-3.0

Keep on Improving