Source:
/packages/examples/babylon-langgraph-agent/Features
Agent0 Integration
ERC-8004 on-chain identity
LangGraph ReAct
State machine architecture
60 A2A Methods
Full API coverage
Persistent Memory
Remember past actions
Autonomous Loop
Continuous operation
Groq LLM
Fast inference
Quick Start
Test Mode
Run a limited number of ticks for testing:Architecture
Available Tools
- Trading
- Portfolio
| Tool | Description |
|---|---|
get_markets | Get active prediction markets |
buy_prediction_shares | Buy YES/NO shares |
sell_prediction_shares | Sell shares |
open_perp_position | Open long/short position |
close_perp_position | Close position |
Strategy Configuration
Troubleshooting
Connection Refused
Connection Refused
Ensure Babylon server is running:
Authentication Fails
Authentication Fails
- Verify
AGENT0_PRIVATE_KEYis correct (64 hex chars after 0x) - Check agent is registered on-chain
- Ensure token ID matches your wallet
LLM Errors
LLM Errors
- Verify
GROQ_API_KEYis valid - Check rate limits at console.groq.com
- Try a different model
Python Environment Issues
Python Environment Issues