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.
Declarative YAML rules - versioned, configurable without code changes. Trading risk management + AI operations controls. All by Swiftward policy engine.
Human-readable off-the-code policy rules. Versioned lifecycle: draft -> candidate -> frozen -> archived. Change risk limits without redeploying. Entity state per agent: counters, labels, buckets, metadata.
Graduated risk tiers (limits tighten as drawdown grows). Circuit breakers (3 losses = 1h pause). Three-layer heartbeat drawdown. Stop-loss enforcement. Concentration caps. Pair whitelist. Rate limits. Operator halt/resume.
Never deploy untested rules. Eval tests validate rules before rollout. Backtesting on historical events. Shadow mode runs next version of rules in parallel, logged not enforced. A/B testing compares policy versions on live traffic.
Agents are fully isolated - all communication goes through 3 gateways: MCP (tool calls), LLM (AI prompts), Internet (HTTP). Every request policy-evaluated. ML classifiers (PG2 + BERT) for prompt injection. LLM Gateway also enforces required behaviour - e.g. end-of-session attestation with reasoning for every agent.
OpenTelemetry metrics and logs (SigNoz). Kubernetes-ready. Horizontal scalability. Docker Compose for dev, multi-platform Docker images. Policy alerts via Telegram (halts, breakers, rejections).
Every decision (approved or rejected) gets a keccak256 hash chained to the previous. Modify one record - the chain breaks. Public Evidence API. Full audit trail from genesis to latest trade.
Platform engineers building safe AI infrastructure for autonomous trading.
25+ years in distributed systems. Engineering leader across 15+ startups, Co-Founder & CTO of a logistics SaaS. 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.