DField SolutionsMérnöki stúdió · Budapest
Loading · Töltődik
Skip to content

Multi-Agent Crypto Trading

Multiple AI agents trade the top 50 crypto tokens together · data, sentiment, news in one.

Several AI agents run in parallel: one reads data, one reads market sentiment, one runs a quant model, one verifies the decision. Works over the top 50 tokens, quantitative and qualitative. Web UI and API.

Listen
CASE STUDY · 2026

One trading bot acting alone gets wiped out by every news cycle. Built a 4-AI committee for crypto trading. Each AI looks at the trade from a different angle, the bot only acts when they all agree.

Multi-Agent Crypto Trading runs four AI agents in parallel, one reads price + volume, one reads social sentiment, one runs a quant model, one verifies the proposed trade, and only acts when the agents agree. The studio shipped the agent fabric, the data ingest, the verification protocol, and the web UI + API.

REPO·github.com/dezso-dfield/multi_ai_agent_crypto_trading_systemSTACK·Python · LangChain · Ollama · pandas · scikit-learnCOVERAGE·Top 50 tokens
Anonymous client

We'd been wiped out repeatedly by single-bot strategies that freaked out on every news cycle. The studio built a system where four AIs each look at the trade from a different angle and only act if they agree, like a small committee. The catastrophic losses are gone. The small ones still happen. That trade-off was exactly what we wanted.

Anonymous·Trader · proprietary fund (under NDA)UNDER NDA
4Cross-checking agents
Top 50Tokens monitored
24/7Operation cadence
QuorumConsensus required to act

What's on screen

Frame breakdown
Multi-agent crypto trading dashboard
  • 01User surface

    The whole experience the user sees

    This frame shows the live product: multiple ai agents trade the top 50 crypto tokens together · data, sentiment, news in one. Every component is ours · scope, design, code, deploy.

  • 02Stack behind the screen

    What's powering it: Python, pandas, NumPy

    7 stack components run behind this frame · Python, pandas, NumPy drive the visible UI; the rest sit in the data layer. All studio-owned.

  • 03What we shipped

    Multiple AI agents for one decision

    Decisions cross-checked from multiple angles

  • 04Status

    Open-source reference.

    Full implementation on GitHub · forkable by anyone, auditable end-to-end.

How it shipped

Timeline
  • 01 · BRIEF

    Why a single bot blows up.

    Single-signal bots ride on price-only logic; they get destroyed on news or sentiment swings. Spec'd a quorum-based fabric: at least 3-of-4 agents must agree before a trade fires.

  • 02 · ARCHITECTURE

    Stack decisions before any code.

    Decision doc captured the data flow, Python, pandas, NumPy, scikit-learn role split, and the failure modes we'd handle in v1 vs defer. Cross-service boundaries (where AI ends and the web app begins) were drawn here so neither side leaked into the other later.

  • 02 · BUILD

    Four agents on LangChain + Ollama.

    Local LLMs via Ollama for the sentiment and verification agents · cost stays bounded. Quant agent uses pandas + scikit-learn on the historical SQLite store. Decisions logged with rationale.

  • 04 · POLISH

    Performance, accessibility, and observability.

    PSI / a11y / coverage budgets enforced as launch gates. Logging + metrics wired before cut-over · the team can answer 'is it working?' from a dashboard, not a Slack thread. Threat-model checklist signed off before traffic hits the box.

  • 03 · SHIP

    Live · web UI + API + open repo.

    Web UI for human supervision, JSON API for downstream automation, public repo so other studios can fork the agent fabric.

What shipped

04
  • 01Quorum

    3-of-4 consensus protocol

    No trade fires until at least three agents agree · single-source false positives can't act on their own.

  • 02Quant

    scikit-learn model on price + volume

    Pandas pipeline reads the SQLite store, scikit-learn returns the quant agent's vote · explainable.

  • 03Sentiment

    Local LLM reads social signal

    Ollama hosts a sentiment classifier locally · zero external API cost per check.

  • 04Verifier

    Last-mile sanity-check agent

    Independent agent re-evaluates the trade against the policy before placement · catches the rare consensus-but-stupid case.

From the video

Frame by frame
  • VS Code with run.sh shell script + terminal showing 'starting MACATS runtime' boot
    01Frame

    Boot script · run.sh + venv + module imports

    Single-command entry: `./run.sh` (left pane) creates the venv if missing, hashes the requirements file, activates, then boots MACATS · 'importing asyncio core / market data stack (pandas / numpy / yfinance / ccxt) / orchestrator + agent graph'.

  • Terminal showing MACATS boot · loading config, eventbus, datafeed, registering 5 agents online
    02Frame

    Agents online · 5 spawned, live loop entered

    Boot completes in 1.59s. Agents spawn one per line: FSVZOScannerAgent, RiskAgent, ExecutionAgent, StopAgent, PortfolioAgent · `[ready] all agents running, entering live loop`. Each line is a real Python process you can attach to.

  • Terminal showing FSVZO scan · ADA/USDT VWAP drift +0.173%, BNB/USDT flat, signals JSON with F/S/V/Z/O bools
    03Frame

    Live scan · per-token signals JSON

    Strategy log per token (ADA/USDT, BNB/USDT) with the full payload: VWAP drift, score, price, and the F/S/V/Z/O signal map · post-mortem reads the same log, no extra instrumentation.

  • Terminal showing a continuous scan tick (#3) with AVAX/USDT signals JSON · queue depth 9
    04Frame

    Continuous loop · scanner tick #3, queue depth 9

    Scanner ticks every 29 ms with `queue depth 9` visible · AVAX/USDT scan output streams in alongside the others. The system is always-on; nothing waits for a human to refresh a dashboard.

2026YEAR
02SERVICES
07TECHNOLOGIES
PRIVATESTATUS

THE PROBLEM

  • A single AI is risky when it acts alone
  • Crypto is driven by sentiment and news, not only price
  • Traditional bots only see price

WHAT THE CLIENT GOT

  • Decisions cross-checked from multiple angles
  • Sentiment, price, and news in one system
  • 24/7 trading without hand-holding

WHAT WE DELIVERED

  • +Multiple AI agents for one decision
  • +Quantitative + qualitative analysis
  • +Top 50 tokens monitored
  • +Web UI and API

STACK

  • Python
  • pandas
  • NumPy
  • scikit-learn
  • LangChain
  • Ollama
  • SQLite
Previous projectThe Truth AI News Next projectBetEdge
talk to us

Like what you see? Let's build yours.

Short email or a 30-min call · 24h reply.

Start a project