Skip to content

AI Agents

Build autonomous agents that pay for their own compute and inference — no API keys, no billing dashboards. Your agent holds a wallet, calls LibertAI models via x402, and manages its own Aleph Cloud credits to stay alive.

When to use this

The LibertAI agent stack is a thin layer over Coinbase AgentKit, not a full framework. Pick it when you want:

  • Wallet-funded inference — the agent pays per call in USDC, no one issues it an API key.
  • Onchain interaction — you need a wallet, tool calling, and EVM action primitives in one bundle.
  • Self-hosted runtime — you ship a Docker image to your own Aleph VM with one command.

If you mainly want orchestration (memory, planning, tracing) on top of an OpenAI-compatible endpoint, a framework like LangGraph or CrewAI pointed at https://api.libertai.io/v1 with a regular API key is a simpler path. See Quickstart. The two approaches compose — you can run a LangGraph agent inside a wallet-funded loop.

How it works

  1. Wallet — the agent has a private key with USDC on Base
  2. Inference — each LLM call is paid individually via x402 (no API key needed)
  3. Compute — the agent monitors its Aleph credit balance and buys more when needed
  4. Actions — using Coinbase AgentKit, the agent can interact with any onchain protocol

Stack

LayerWhatTypeScriptPython
FrameworkCoinbase AgentKit@coinbase/agentkitcoinbase-agentkit
InferenceLibertAI API (OpenAI-compatible)openaiopenai
Paymentx402 protocol@libertai/x402libertai-x402
PluginWallet, credits, tools bridge@libertai/agentkit-pluginlibertai-agentkit-plugin

Get started

  1. Getting started — build the agent locally (TypeScript and Python parity)
  2. Deployment — push it to an Aleph Cloud VM with one command

See also