agenti

The money layer for AI agents.
🌐 Website: https://agenti.cash
An agent that can think but can't pay is half an agent. Agenti gives every AI — Claude, GPT-4, Llama, Gemini, or any custom LLM — the ability to hold, spend, earn, and receive cryptocurrency natively, autonomously, across any chain.
import { agenti } from '@agenti/sdk'
const agent = agenti({ evm: { privateKey: process.env.AGENT_KEY } })
const data = await agent.pay('https://api.example.com/premium-data')
One line. The agent now has money.
Vision
Every AI agent will need a wallet. Not a wallet managed by a human — a wallet the agent owns, funded by its work, spent on its needs, earning yield when idle.
Right now, if an AI agent needs to pay for an API, buy a resource, compensate another agent, or receive payment for its own work — a human has to step in. That breaks autonomy. Agenti removes that bottleneck entirely.
Agenti is the infrastructure for the agentic economy:
- An SDK so developers can give any agent financial capability in minutes — LangChain agents, AutoGen pipelines, CrewAI crews, custom LLM loops
- An MCP server so Claude, Cursor, Windsurf, and any MCP-compatible client can use money as a native tool without writing code
- A protocol layer built on open standards (x402, EIP-3009, ERC-8004) so agent payments interoperate across frameworks, chains, and wallets
- A payment network where agents pay each other for work, data, and compute — fully autonomous, no human intermediaries
The domain is agenti.cash. The name is the mission.
Packages
| Package | Description | Install |
|---|
@agenti/core | Wallet generation for EVM + Solana | npm i @agenti/core |
@agenti/sdk | Full developer SDK — pay, receive, balance | npm i @agenti/sdk |
@agenti/mcp | MCP server — plug into any LLM client | npx @agenti/mcp |
@agenti/market | 59 market, news, DeFi and on-chain data tools | npm i @agenti/market |
@agenti/gateway | Paywall any Express API with x402 (Base + Solana), on the official @x402/* packages | npm i @agenti/gateway |
Not on npm yet. The @agenti scope has not been published to, so the
install commands above will 404 (tracked in
#126). Until the first
release is tagged, use the repo directly:
git clone https://github.com/nirholas/agenti && cd agenti && pnpm install && pnpm build
Quick Start
Give an agent a wallet
import { agenti, generateWallet } from '@agenti/sdk'
// Generate a fresh wallet (EVM + Solana in one call)
const wallet = generateWallet()
console.log(wallet.evm.address) // 0x... (Base, Arbitrum, Ethereum, Polygon)
console.log(wallet.solana.address) // base58 (Solana mainnet)
// Or load an existing wallet
const agent = agenti({
evm: { privateKey: '0x...' },
solana: { privateKey: Uint8Array.from([...]) },
})
Pay for anything
// Automatic x402 payment — if the server returns 402, agenti pays and retries
const response = await agent.pay('https://api.example.com/data')
const json = await response.json()
// POST with body
const result = await agent.pay('https://ai-service.com/generate', {
method: 'POST',
body: JSON.stringify({ prompt: 'summarize this document' }),
})
Check balances
const balances = await agent.balance()
// [
// { token: 'USDC', amount: '42.00', chain: 'base' },
// { token: 'SOL', amount: '1.5', chain: 'solana' }
// ]
Receive payments
// Create a payment request
const invoice = await agent.receive({ amount: 5, token: 'USDC', chain: 'base' })
// {
// id: 'uuid',
// address: '0x...',
// amount: '5',
// token: 'USDC',
// chain: 'base',
// expiresAt: Date
// }
MCP Server — Plug Into Any LLM
The @agenti/mcp package turns every tool in the SDK into an MCP tool that any LLM client can call — no code required.
Setup: Claude Desktop / Claude Code
{
"mcpServers": {
"agenti": {
"command": "npx",
"args": ["@agenti/mcp"],
"env": {
"AGENTI_EVM_PRIVATE_KEY": "0x...",
"AGENTI_SOLANA_PRIVATE_KEY": "hex-encoded-64-byte-key"
}
}
}
}
Setup: Cursor