Apps

yagami

your signed-in claude code cli as a self-hosted, anthropic-compatible api — or an embeddable library for driving claude code from your own apps.

Version
v0.6.1
Stars
1
on GitHub
Category
typescript
Developer
justin06lee
Language
TypeScript
License
MIT
Runs on
claude code, library

Your signed-in coding-agent CLIs as one self-hosted Anthropic- and OpenAI-compatible API. Claude Code, Codex, OpenCode, Gemini CLI and any ACP agent — point any Anthropic or OpenAI client at your own subscriptions, or embed the engine as a library with zero config.


yagami does the T3-Code trick, generalized: it drives the coding-agent CLIs you already installed and logged into — Claude Code through the Agent SDK (pathToClaudeCodeExecutable), Codex through codex exec, and OpenCode, Gemini CLI, Copilot, Cursor, Qwen Code, Kimi, Goose and the rest of the ACP registry through the Agent Client Protocol. No API keys from any vendor, no separate auth — each spawned engine uses the same login your terminal sessions do.

There are two doors in, and they're deliberately different:

Who it's forWhat you get
Server — the yagami binaryA machine that should hand out an API key (a home server, a box your other apps talk to)yagami start prints a URL + API key that works with any app that accepts an Anthropic or OpenAI base URL + key
Library@justin06lee/yagamiAn app running on the machine with the signed-in CLIsnew Yagami()no URL, no API key, nothing to configure. It finds the CLIs itself and syncs with the binary's config

Personal use only. This exists so you can point your own tools at your own subscriptions. Offering subscription-backed access to other people is against every one of these vendors' terms. Keep the endpoint private and don't share keys.

What’s New

Version History

Version 0.6.1

Bug fixes and performance improvements.

Show version history
  1. Version 0.6.0

  2. Version 0.5.0

  3. Version 0.4.1

  4. Version 0.4.0

  5. Version 0.3.0

Information

Developer
justin06lee
Category
typescript, claude code, api, library
Compatibility
claude code, library
Language
TypeScript
License
MIT
Updated
aug 27, 2026
Year
2026

More by justin06lee

  • thehifzproject.com

    an app & website to memorize the quran with spaced repetition.

    open
  • lanyard

    a floating name tag for whichever claude code session you're currently…

    open
  • themephile.dev

    a visual syntax-theme editor — design a theme in your browser and…

    open
  • betterboard

    an infinite whiteboard desktop app for pen displays —…

    open