Agent runtime
Give an agent a goal, wallet, chain, and available tools. Provider fallback and routing stay inside the framework; write readiness depends on module configuration.
Read the agent API ↗Web3 Agent Kit is a Python framework for onchain agent workflows across EVM and Solana, with wallets, protocol integrations, and transaction-safety primitives. Write-path readiness varies by module.
The toolkit
The hard part is not calling a contract. It is making the whole path observable, composable, and safe to operate.
Give an agent a goal, wallet, chain, and available tools. Provider fallback and routing stay inside the framework; write readiness depends on module configuration.
Read the agent API ↗Spend limits and fail-closed pre-sign gate primitives. Application authorization is required, and write-path coverage is not yet uniform.
SAFETYSwaps, quotes, approvals, lending, yield, bridges, DCA, and portfolio operations through one typed interface.
ONCHAINEthereum · Base · Arbitrum · Optimism · Polygon · BSC · Avalanche · Robinhood Chain · Solana
Use the Python API, the wak CLI, or expose selected actions through FastAPI.
COMPOSABLEHow it fits together
Separate planning from execution. Keep decisions inspectable before anything is signed.
Beta software; write controls have limits. The wallet gate fails closed, but coverage is not uniform. Gated signing requires an application authorization provider, and the current authorization fingerprint omits gas-limit and fee fields. Review known limitations before using real funds.
Review the security model ↗03 / Start here
Install the package and start with read-only workflows. Before enabling writes, review the gate requirements and module readiness.
Read the getting started guide ↗# install
pip install web3-agent-kit
# start with a read-only agent flow
from web3_agent_kit import Agent, Wallet, Chain
wallet = Wallet.from_key("0x...")
agent = Agent(wallet=wallet, chains=[Chain.BASE])
result = agent.run("check my balances")Open source. MIT licensed.
Built in public.