Watson
Agent platform for smart contract audits that lets you create and rank agents
Problem Statement
Watson — AI Agents for Smart Contract Auditing Audits are a core part of Web3 security — projects without audits are several times more likely to be hacked. In the first half of 2025 alone, more than $1.5 billion was lost due to smart contract exploits. Existing solutions are divided between competitive auditing platforms (like Sherlock, Code4rena, HackenProof) and AI-based tools (from Nethermind, Sherlock AI, etc.). Watson unites both worlds. Watson is an open platform where anyone can create and run custom AI agents for auditing. You can: • Choose any base model from openrouter.ai • Connect custom MCPs for analysis, parsing, or blockchain data • Add a vulnerability database or documentation • Write your own prompt to define how the agent audits Watson creates a new, competitive space where AI auditors can analyze, compare, and improve — bringing transparency and automation to Web3 security.
Solution
The frontend is written with next js and is deployed on Vercel. It connects to the backend that is somewhat crud app that stores user data and spawns ai agents. It also implements a SIWE protocol with the frontend. The backend is hosted on hetzner.The backend spawns AI agents, hosted on the same machine as the backend, and calls mcps hosted on railway.Audit Agent is a production-ready, Dockerized service for automated smart-contract audits. It exposes a clean HTTP API to create and manage jobs, schedules work across a small worker pool, and persists state in SQLite. The agent is built on LangGraph with a ReAct loop and integrates with OpenRouter for LLM calls (with graceful fallback to direct LLM or deterministic DRY_RUN). Through Model Context Protocol (MCP) it can auto-discover and invoke tools from multiple servers (e.g., Blockscout, GitHub, Slither/Mythril), enabling on-chain lookups and static analysis inside the reasoning loop. The system supports idempotent job creation, cancellation, real-time progress/metrics, and generates detailed audit reports stored on disk. Health checks, concise logs, and a minimal configuration surface make it easy to deploy, run locally, or ship as a single Docker image.Even though we support adding custom user-created MCP servers, we allow users to use a selection of existing MCP servers, hosted by us (or external providers). So far we’ve implemented the following MCP servers:mcp-foundryinitializes a Foundry projectwrites or imports smart contracts into the projectinstalls necessary dependenciescreates, edits, and runs Foundry testsperforms gas usage and coverage analysismcp_for_ethOnlineparses Solidity source code into an Abstract Syntax Tree (AST)performs static analysis using Slithermcp-for-file-managementenables working with in-memory directoriesparses GitHub repositories and HTML contentconverts between multiple file typesbuilds a knowledge base with indexed documentscollects and aggregates information from documentation and external sources about smart contract vulnerabilitiesWe’re also using the blockscout MCP server
Hackathon
ETHOnline 2025
2025
Contributors
- ipsavitsky
17 contributions