An open-source harness for autonomous AI trading agents: multi-agent analysis, universal MCP trading platform, and a declarative risk engine with on-chain evidence via ERC-8004. Three pillars. Zero competitors.
See how our autonomous AI trading agent handles live market conditions — from news triage to execution.
Every competitor built a trading bot. We built a better trading bot AND the only production-grade compliance infrastructure in the competition.
Not "ask GPT to trade." Three distinct agent architectures:
Claude Code Agent - 5 subagents debate every decision (technical, sentiment, structure analysts + bull/bear researchers). 6 skills. Self-improving strategy with memory.
Python Deterministic Agent - 3-stage mathematical brain (filter -> rotate -> decide). 4 concurrent loops. Own MCP server stack.
Swarm Agent - Multiple strategies backtested, best performer selected for live trading.
Universal infrastructure any agent plugs into:
6 MCP Servers, 33+ Tools - Trading, Market Data, Files, Code Sandbox, News, Risk. JSON-RPC standard.
ERC-8004 All 3 Registries - Identity (agent NFT), Validation (signed attestations), Reputation (6 metrics on-chain).
Real Kraken Execution - Live trading with professional React dashboard (6 screens), Telegram operator interface, code sandbox per agent.
Everything jailed and controlled:
Swiftward Policy Engine - YAML DSL with graduated risk tiers. Limits tighten as drawdown increases. Circuit breakers. Shadow/A-B mode.
3 Gateways - MCP (tool calls), LLM (AI prompts + ML injection detection), Internet (domain control). Nothing bypasses the infrastructure.
Evidence Chain - keccak256 hash-chained decisions. Tamper-evident. Public API. Every decision provable on-chain.
Not "ask GPT to trade." Multiple agents already deployed and trading. Three distinct approaches running in production.
5 subagents analyze every trade in parallel: technical, sentiment, market structure analysts + bull/bear researchers. 6 skills on demand: trading session, deep analysis, portfolio review, strategy update, morning brief, alert review.
Python agent with 3-stage mathematical brain: market health filter, asset rotation selector, position sizing engine. Pure math for stops and sizing - no hallucination in the core layer. 4 concurrent loops.
Multiple strategies evaluated via backtesting framework. Best-performing agent selected for live trading. Market simulator with MCP stubs for offline evaluation.
Isolated Docker container per agent. Downloads market data, writes and runs custom analysis scripts. Persistent state across sessions. The agent codes its own trading tools.
Persistent memory across sessions. Detailed session reports with trade reasoning. Self-reflection after losses - analyzes what went wrong, creates permanent rules. Strategy evolves from exploration to fine-tuned edge.
Event-driven agent harness (think OpenClaw, but for trading and 100% isolated). Orchestrates Claude Code CLI via stream-json protocol. Session lifecycle, alert injection, Telegram streaming, error recovery. Claude subscription - flat cost, no per-token burn.
Agent streams output in real-time to Telegram. Operator can message mid-session - ask questions, request analysis, override decisions. The agent acknowledges and incorporates.
Universal infrastructure. Any agent plugs in. Standardized MCP protocol.
Trading (submit, estimate, portfolio, history, limits). Market Data (prices, candles, orderbook, funding, OI, alerts). Files, Code Sandbox, News, Risk. All JSON-RPC standard.
Kraken, Binance, Bybit connectors with degradation chain. PRISM API for asset resolution and signals. 7 server-side indicators (EMA, SMA, RSI, MACD, BBands, ATR, VWAP). Fear & Greed index. Funding rates. Open interest.
CryptoPanic news feed with sentiment scoring. Event classification (hack, regulation, listing, macro). Polymarket prediction data. Keyword alerts that wake agents.
Price alerts (above/below/change%). News keyword alerts. Auto-executing stop-loss and take-profit (OCO-linked). Soft stops that wake the agent without auto-selling. Trailing stops.
We maintain our own keccak256 hash chain - signing all internal decisions AND external RiskRouter verdicts. Proofs posted to ERC-8004 Validation Registry. Agent identity as NFT. 6 reputation metrics on-chain.
6 screens: Overview, Agent Detail, Market, Evidence, Policy, Claude Agent. Equity curves, positions, trade history with evidence hashes. Single binary deployment.
Cryptographic hashes for every decision. Auditability built in from day one.
Declarative YAML rules - versioned, configurable without code changes. Trading risk management + AI operations controls. All by Swiftward policy engine.
Human-readable policy rules. Versioned lifecycle: draft -> candidate -> frozen -> archived. Change risk limits without touching code. Entity state per agent: counters, labels, buckets.
Limits tighten as drawdown increases. Tier 0 (15%) -> Tier 1 (-2%, 10%) -> Tier 2 (-3.5%, 5%) -> Tier 3 (close-only) -> Halted. Concentration caps, pair whitelist, stop-loss enforcement.
Loss streak: 3 losses = 1h pause (exits allowed, resets on win). Rate limit: 50/10min. Three-layer heartbeat drawdown. Operator halt/resume via Risk MCP. Telegram alerts on every trigger.
Every decision (approved or rejected) gets a keccak256 hash chained to the previous. Tamper-evident. Public Evidence API. Modify one record - the chain breaks.
Deterministic replay from evidence chain. v2 stricter rules run simultaneously, logged not enforced. Safe policy rollout. Full observability via Victoria Metrics + Logs (OTLP).
MCP, LLM, Internet gateways - every tool call, AI prompt, and HTTP request policy-evaluated. ML classifiers (PG2 + BERT) scan for prompt injection. Attention recovery enforces end-of-session on-chain attestation.
A team of engineers passionate about making autonomous AI trading safe, transparent, and powerful.
25+ years in distributed systems. Engineering leader across 15+ startups, CTO of a logistics platform. Built the platform end-to-end.
6+ years in software engineering, focused on distributed systems and Web3 integrations. Builds scalable systems where AI meets on-chain finance.
Open source. One command to start the full stack. Docker Compose, multi-platform GHCR images, production-ready.