PyVax story sequence background
Native Python on Avalanche

SMART CONTRACTSFOR AGENTS

Use one Python codebase to power web apps, backend services, AI agents, and on-chain games with verifiable execution on Avalanche C-Chain.

BUILT FOR DEVELOPERS SHIPPING THE NEXT WAVE OF ON-CHAIN APPS, AGENTS, AND ECONOMIES ON AVALANCHE C-CHAIN
01

Build Onchain Apps

From DeFi protocols to data markets — PyVax gives you a clean Python SDK with composable contract primitives. Ship production apps without touching Solidity.

Composable Primitives
One-Line Deployment
ABI Auto-Generation
Explore SDK docs →
deploy_app.py
from pyvax import Contract, deploy, network

# Define your onchain app
app = Contract("TokenVault")
app.set_network(network.AVALANCHE_C)

# Add contract functions
app.fn("deposit", ["uint256"])
app.fn("withdraw", ["uint256", "address"])

# Deploy in one line
receipt = deploy(app)
print(f"Live at: {receipt.address}")
Deployed to Fuji Testnet · 12ms
02

Agents With Onchain Actions

Give your AI agents a wallet, a contract interface, and the power to execute onchain logic autonomously — entirely in Python.

Agent Wallet SDK

Programmatically generate wallets, manage keys, and sign transactions per agent instance — no external wallet required.

WALLET

Contract Execution

Call any deployed contract from agent code. PyVax handles gas estimation, retry logic, and error surfacing so your agent stays unblocked.

EXECUTOR

Onchain Memory

Write agent state directly to chain. Persistent, verifiable, and composable across multi-agent networks and sessions.

MEMORY
AGENT RUNTIME — LIVE
[0x4a2f..c1] calling swap() on 0xDeFi3a.. 9ms
[0x4a2f..c1] writing agent_state to 0xMem9f.. 11ms
[0x9c1e..88] spawning sub-agent 0xAgent77.. deployed
[0xBB02..41] calling price_oracle() on 0xOracle1.. 6ms
[0x4a2f..c1] executing rebalance() on 0xVault2.. 14ms
03

Onchain Game Infrastructure

True asset ownership, verifiable loot drops, and deterministic game logic — all enforced by Avalanche, all scripted in Python.

Asset Ownership
ERC-1155 multi-token items. Mint, burn, equip — all onchain.
Verifiable Randomness
Chainlink VRF integration. Loot drops that are provably fair.
Leaderboards
Write scores onchain. Immutable, public, cheat-proof.
View game SDK examples →
INVENTORY12 / 64 ITEMS
⚔️
🛡️
👑
🏹
🗝️
💎
🌿
🧪
🦴
🪙
📜
🎣
🪵
🍏
🧵
◆ LEGENDARY◈ RARE· COMMON
THE AGENT ERA IS NOW

START BUILDING

"PyVax is open-source. Deploy your first smart contract in under 5 minutes."