Agent runtime
Give an agent a goal, a wallet, a chain, and a bounded set of actions. Provider fallback and tool routing stay inside the framework.
Read the agent API ↗Web3 Agent Kit is a Python framework for building policy-controlled AI agents that read, simulate, and execute onchain workflows across EVM and Solana.
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, a wallet, a chain, and a bounded set of actions. Provider fallback and tool routing stay inside the framework.
Read the agent API ↗Immutable intents, spend limits, confirmation hooks, allowlists, and kill switches for every write path.
SAFETYSwaps, quotes, approvals, lending, yield, bridges, DCA, and portfolio operations through one typed interface.
ONCHAINEthereum · Base · Arbitrum · Optimism · Polygon · BSC · Avalanche · 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.
Designed for real operations. Read-only workflows are simple. Write workflows are explicit, bounded, and observable by design.
Review the security model ↗03 / Start here
Install the package, connect a wallet, and keep the execution policy close to your application.
Read the getting started guide ↗# install
pip install web3-agent-kit
# create a bounded agent
from web3_agent_kit import Agent, Wallet, Chain
wallet = Wallet.from_key("0x...")
agent = Agent(wallet=wallet, chains=[Chain.BASE])
result = agent.execute("check my balances")Open source. MIT licensed.
Built in public.