Sign In

kojiru-agentkit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kojiru-agentkit

Kojiru Recourse Layer™ ActionProvider for Coinbase AgentKit — plug-and-play credit primitives (ACS™, stake, slash, draw, anchor, records) for autonomous agents on Base.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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,          // your existing wagmi / cdp / viem wallet provider
  actionProviders: [kojiru],
});

// Your LLM agent now has six Kojiru actions:
//   kojiru_get_acs_score
//   kojiru_get_agent_stake
//   kojiru_verify_recourse_route
//   kojiru_request_credit_line
//   kojiru_post_intent_anchor
//   kojiru_get_evaluator_records

What each action does

ActionPurpose
kojiru_get_acs_scoreAgent's current ACS™ tier, credit ceiling (USD), current APR
kojiru_get_agent_stakePosted seller-bond in KOJI + USD equivalent + tier band
kojiru_verify_recourse_routeProve a tx routed slashed collateral to the harmed party
kojiru_request_credit_lineDraw against the ACS™-derived ceiling
kojiru_post_intent_anchorAnchor a signed spending intent for later dispute resolution
kojiru_get_evaluator_recordsERC-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

Keywords

kojiru

FAQs

Package last updated on 12 Aug 2026

Related posts