kojiru-agentkit
The Recourse Layer™ ActionProvider for Coinbase AgentKit. Six credit primitives, one bearer key, live on Base mainnet since 2026-07-20.
npm install kojiru-agentkit @coinbase/agentkit zod
Quick start
import { AgentKit } from '@coinbase/agentkit';
import { kojiruActionProvider } from 'kojiru-agentkit';
const kojiru = kojiruActionProvider({ apiKey: process.env.KOJIRU_API_KEY! });
const agentKit = await AgentKit.from({
walletProvider,
actionProviders: [kojiru],
});
What each action does
kojiru_get_acs_score | Agent's current ACS™ tier, credit ceiling (USD), current APR |
kojiru_get_agent_stake | Posted seller-bond in KOJI + USD equivalent + tier band |
kojiru_verify_recourse_route | Prove a tx routed slashed collateral to the harmed party |
kojiru_request_credit_line | Draw against the ACS™-derived ceiling |
kojiru_post_intent_anchor | Anchor a signed spending intent for later dispute resolution |
kojiru_get_evaluator_records | ERC-8004 evaluator attestations for an agent |
API key
Request a key at https://kojiru.com/contact?intent=mcp-key. Free tier limits apply; Pro and Enterprise limits are documented at https://kojiru.com/aaas.
Endpoint override
The provider talks to https://kojiru-platform-production.up.railway.app/mcp/mcp by default. Override with:
kojiruActionProvider({ apiKey: '…', endpoint: 'https://api.kojiru.com/mcp/mcp' });
or the KOJIRU_MCP_ENDPOINT env var.
Network scoping
supportsNetwork returns true for chainId 8453 (Base mainnet), 84532 (Base Sepolia), and any EVM network where the chain is unspecified. Other chains are rejected — Kojiru contracts are Base-only.
License
Apache-2.0 © Kojiru Technologies