Autonomous Intelligence
◆ Agent SDK

Drop-in crypto tools for AI agents

Give any AI agent the power to discover tokens, rug-check them, quote and swap — non-custodially. Zero-config SDKs for JavaScript and Python, plus adapters for the popular agent frameworks. The agent signs every swap locally; keys never leave your environment.

Get a free key → What is this?

Fastest path: MCP (one line)

If your agent speaks MCP (Claude, Cursor, Windsurf, VS Code, ChatGPT), skip the SDK entirely:

npx -y autonomousintelligence-mcp # stdio # or hosted: https://autonomousintelligence.io/mcp

JavaScript / TypeScript (zero-dep)

import { openaiTools, execute, register } from './ai-agent-tools.mjs'; const tools = openaiTools(); // OpenAI/Anthropic tool loop const q = await execute('get_quote', { inputMint, outputMint, amount }); const { key } = await register('my-agent'); // one-time, self-serve const b = await execute('build_swap', { quoteResponse: q.quote, userPublicKey }, { apiKey: key }); // ...sign b.unsignedTx locally with the user's wallet... const r = await execute('submit_swap', { signedTransaction, build_id: b.build_id }, { apiKey: key });

Python (stdlib only)

from ai_agent_tools import execute, openai_tools, register tools = openai_tools() quote = execute("get_quote", {"inputMint": IN, "outputMint": OUT, "amount": "50000000"}) key = register("my-agent").get("key") built = execute("build_swap", {"quoteResponse": quote["quote"], "userPublicKey": PUBKEY}, api_key=key)

Framework adapters

The same 7 tools plug into LangChain, Vercel AI SDK, LlamaIndex, CrewAI, ElizaOS, and OpenAI/Anthropic function-calling — wiring snippets are in the README.

Files

No key needed for discovery (quote, safety, gems, token info). A free self-serve key at /keys unlocks execution. Full REST reference: /openapi.json · setup guide: /docs#agents.

Get a free key → Full setup guide