The tool router for coding agents.
Tenjin suggests tools when they can help your agent, and one local wallet pays per call. Your agent can also browse the catalog and choose a tool directly. This repository contains the CLI and Claude Code/Codex integrations. For the product overview and getting started, visit tenjin.sh.
Why · Install · Try it · Tools · Wallet · Development
Why
Giving your coding agent good tools is a chore:
- A key for every tool. Sign up, pick a plan, paste an API key. Five tools, five accounts.
- MCP servers crowd the context. Each one loads its tool list into every session, needed or not.
- Your agent forgets anyway. It reaches for plain web search, so you write rules, and it still slips.
- Some tools you need once. A one-off lookup isn't worth the setup.
With Tenjin, install once and keep working. The router suggests tools when they help; the agent can also look for a tool itself. One wallet replaces separate provider accounts and keys for the tools in the catalog.
Install
Ask your agent
Paste this into Claude Code or Codex:
Install Tenjin from tenjin.sh
Install it yourself
macOS / Linux — no Node.js or npm required:
curl -fsSL https://tenjin.sh/install.sh | shWindows — run in PowerShell:
irm https://tenjin.sh/install.ps1 | iex
npm — on any platform:
npm install -g tenjin-cli tenjin install
Setup asks about spending limits. It then offers Add funds, which opens the fund page in your browser to pay or enter a code; Tenjin carries on as soon as the money lands. With Not now, your agent asks when a task first needs a paid tool. Follow the activation step.
Claude Code is supported; Codex is experimental. Supported systems, setup and permissions →
Try it
Once funded and activated, choose one prompt to try:
Look up a company
Use Tenjin to find the company profile for stripe.com.
Generate an image
Use Tenjin to generate a hero image of plum blossoms in ukiyo-e style.
Make a voiceover
Use Tenjin to make a 10-second welcome voiceover for my app.
What your agent can do
| Your agent needs | Provider examples | Provider price |
|---|---|---|
| Library docs | Context7 | free |
| Web search and page reads | Exa, Firecrawl | 0.1¢ to 1.5¢ |
| Math and live crypto prices | Wolfram Alpha, CoinMarketCap | 1¢ to 2¢ |
| People, companies and emails | Apollo, Hunter, CompanyEnrich | 0.8¢ to 5¢ |
| X and Reddit | glim | 0.1¢ to 1¢ |
| Images | GPT Image, Nano Banana, Recraft | 3.5¢ to 14.4¢ |
| Voiceovers, sound effects, music | ElevenLabs, Google Lyria | 1¢ to 12¢ |
| Video clips | MiniMax Hailuo | 15.5¢ to 84¢ |
| Papers and SEC filings | arXiv, PubMed, SEC EDGAR | 0.3¢ to 4¢ |
| Instagram, TikTok and Google Maps | Scrape Creators, Google Maps | 2¢ |
| PDFs, screenshots and hosting | Cloudflare and others | 0.2¢ to 50¢ |
| Subagents | Gemini 4 Neon | Usage-based |
Example provider prices vary by tool and inputs and exclude Tenjin's routing fee. The quote for your call applies; the full catalog has every tool and its current price →
Browsing and inspection are free. A selected tool pays only its provider; selected Context7 docs need no wallet or routing fee.
Wallet and limits
| Automatic spending | Default |
|---|---|
| Daily budget shared across chats | $5 |
| Per-call limit | $1.00 |
A new chat does not reset the daily budget. Set any non-negative per-call USD limit with up to 6 decimal places; 0 blocks positive automatic payments. Routing fees vary by answer. Tool charges are separate. Limits and approval →
Commands
| Command | What it does |
|---|---|
tenjin fund 5 |
Add $5 in your browser, and watch it land |
tenjin balance |
Your balance and limits |
tenjin status |
On or paused, balance, accounts and settings |
tenjin usage |
What lookups cost, by day |
tenjin config |
Your rules: block, prefer or limit tools |
tenjin config names exa |
Every name a rule can use, such as Exa |
tenjin connect apify |
Use your own Apify, fal, Firecrawl or Exa account |
tenjin disconnect apify |
Forget a connected account here |
tenjin doctor |
Check setup and payment readiness |
tenjin update |
Update Tenjin |
tenjin uninstall |
Remove Tenjin from your agent; your balance stays |
tenjin fund --usdc shows the address to send USDC to from a crypto wallet instead. tenjin wallet fund and tenjin wallet balance still work. Have a code? Run tenjin fund and enter it under Have a code? on the page.
Calls on your own account bill its plan, not your Tenjin balance. Your own accounts →
Privacy and help
Routing sends relevant task context to Tenjin, with known secrets masked. Tool-result bodies are excluded. The wallet key stays local. What is sent and retained →
- Setup and permissions: installation, activation, spending and sharing.
- Troubleshooting: a failed install, locked wallet or missing tool.
- CLI/MCP reference: request forms, payments and host details.
- Safety model: trust boundaries and remaining limitations.
- Request a tool or report a bug.
Development
See CONTRIBUTING.md for the local build and targeted tests. RELEASING.md covers exact-package checks, release acceptance and recurring QA.
Integrating another agent host? Start with the request tool and host contracts, then the server's API reference.
