From Chatbots to Economic Agents: Autonomous Treasury Management on Base
Описание и применение
Автономный пайплайн управления казной на Base использует Python и Web3.py для расчёта целевых весов, проверки транзакций и их безопасного выполнения с минимальными газовыми расходами.
Задача
LLMs hallucinate parameters and lack financial skin, making them unsuitable for executing irreversible on-chain state changes.
Результат
The autonomous treasury pipeline achieved micro-rebalancing with sub-cent gas costs, enabling frequent loops without draining principal.
Рабочий процесс
- 1. Off-chain policy engine ingests price vectors and computes target weights.
- 2. Policy engine outputs unsigned transaction payload in JSON schema.
- 3. Execution kernel validates nonce, simulates slippage via RPC dry-run, and broadcasts transaction.
- 4. Agent polls Uniswap v3 and Aerodrome pools, simulates trade routes locally, and submits rebalances.
- 5. Deterministic RPC simulation (eth_estimateGas) catches stale route prices before broadcasting.
Доказательства
We deployed an autonomous treasury pipeline on Base (Chain ID 8453).
Typical calldata costs allow our agent to poll Uniswap v3 and Aerodrome pools, simulate trade routes locally, and submit rebalances for under $0.005 per transaction.
LLMs should never handle raw private keys. They should only emit typed execution intents that satisfy a static JSON Schema.
- Дата записи: 2026-11-02T00:58:51.378Z