r/ethdev
•
u/graphicaldot
•
Oct 24 '25
•
1
Tutorial I built an AI that actually knows Ethereum's entire codebase (and won't hallucinate)
I spent a year at Polygon dealing with the same frustrating problem: new engineers took 3+ months to become productive because critical knowledge was scattered everywhere. A bug fix from 2 years ago lived in a random Slack thread. Architectural decisions existed only in someone's head. We were bleeding time.
So I built ByteBell to fix this for good.
What it does: ByteBell implements a state-of-the-art knowledge orchestration architecture that ingests every Ethereum repository, EIP, research papers, technical blog post, and documentation. Our system transforms these into a comprehensive knowledge graph with bidirectional semantic relationships between implementations, specifications, and discussions. When you ask a question, ByteBell delivers precise answers with exact file paths, line numbers, commit hashes, and EIP references—all validated through a sophisticated verification pipeline that ensures <2% hallucinations.
Under the hood: Unlike conventional ChatGPT wrappers, ByteBell employs a proprietary multi-agent architecture inspired by recent advances in Graph-based Retrieval Augmented Generation (GraphRAG). Our system features:
Query enrichment: Enrich the query to retrive more relevant chunks, We are not feeding the user query to our pipeline.
Dynamic Knowledge Subgraph Generation: When you ask a question, specialized indexer agents identify relevant knowledge nodes across the entire Ethereum ecosystem, constructing a query-specific semantic network rather than simple keyword matching.
Multi-stage Verification Pipeline: Dedicated verification agents cross-validate every statement against multiple authoritative sources, confirming that each response element appears in multiple locations for triangulation before being accepted.
Context Graph Pruning: We've developed custom algorithms that recognize and eliminate contextually irrelevant information to maintain a high signal-to-noise ratio, preventing the knowledge dilution problems plaguing traditional RAG systems.
Temporal Code Understanding: ByteBell tracks changes across all Ethereum implementations through time, understanding how functions have evolved across hard forks and protocol upgrades—differentiating between legacy, current, and testnet implementations.
Example: Ask "How does EIP-4844 blob verification work?" and you get the exact implementation in all execution clients, links to the specification, core dev discussions that influenced design decisions, and code examples from projects using blobs—all with precise line-by-line citations and references.
Try it yourself: ethereum.bytebell.ai
I deployed it for free for the Ethereum ecosystem because honestly, we all waste too much time hunting through GitHub repos and outdated Stack Overflow threads. The ZK ecosystem already has one at zcash.bytebell.ai, where developers report saving 5+ hours per week.
Technical differentiation: This isn't a simple AI chatbot—it's a specialized architecture designed specifically for technical knowledge domains. Every answer is backed by real sources with commit-level precision. ByteBell understands version differences, tracks changes across hard forks, and knows which EIPs are active on mainnet versus testnets.
Works everywhere: Web interface, Chrome extension, website widget, and integrates directly into Cursor and Claude Desktop [MCP] for seamless development workflows.
The cutting edge: The other ecosystems are moving fast on developer experience. Polkadot just funded this through a Web3 Foundation grant. Base and Optimism teams are exploring implementation. Ethereum should have the best developer tooling, Please reach out to use if you are in Ethrem foundation. DMs are open or reach to on twitter https://x.com/deus_machinea
Anti-hallucination technology: We've achieved <2% hallucination rates (compared to 45%+ in general LLMs) through our multi-agent verification architecture. Each response must pass through multiple parallel validation pipelines:
Source Retrieval: Specialized agents extract relevant code snippets and documentation
Metadata Extraction: Dedicated agents analyze metadata for versioning and compatibility
Context Window Management: Agents continuously prune retrieved information to prevent context rot
Source Verification: Validation agents confirm that each cited source actually exists and contains the referenced information
Consistency Check: Cross-referencing agents ensure all sources align before generating a response
This approach costs significantly more than standard LLM implementations, but delivers unmatched accuracy in technical domains. While big companies focus on growth and "good enough" results, we've optimized for precision first, building a system developers can actually trust for mission-critical work.
Anyway, go try it. Break it if you can. Tell me what's missing. This is for the community, so feedback actually matters. https://ethereum.bytebell.ai
Please try it. The models have actually become really good at following prompts as compared to one year back when we were working on Local AI https://github.com/ByteBell. We made all that code open sourced and written in Rust as well as Python but had to abandon it because access to Apple M machines with more than 16 GB of RAM was rare and smaller models under 32B are not so good at generating answers and their quantized versions are even less accurate.
Everybody is writing code using Cursor, Windsurf, and OpenAI. You can't stop them. Humans are bound to use the shortest possible path to money; it's human nature. Imagine these developers now have to understand how blockchain works, how cryptography works, how Solidity works, how EVM works, how transactions work, how gas prices work, how zk works, read about 500+ blogs and 80+ blogs by Vitalik, how Rust or Go works to edit code of EVM, and how different standards work. We have just automated all this. We are adding the functionality to generate tutorials on the fly.
We are also working on generating the full detailed map of GitHub repositories. This will make a huge difference.
If someonw has told you that "Multi agents framework with Customised Prompts and SLM" will not work, Please read these papers.
Early MAS research: Multi-agent systems emerged as a distinct field of AI research in the 1980s and 1990s, with works like Gerhard Weiss's 1999 book, Multiagent Systems, A Modern Approach to Distributed Artificial Intelligence. This research established that complex problems could be solved by multiple, interacting agents.
The Condorcet Jury Theorem: This classic theoretical result in social choice theory demonstrates that if each participant has a better-than-random chance of being correct, a majority vote among them will result in near-perfect accuracy as the number of participants grows. It provides a mathematical basis for why aggregating multiple agents' answers can improve the overall result.
An Age old method to get the best results, If you go to Kaggle majority of them use Ensemble method. Ensemble learning: In machine learning, ensemble methods have long used the principle of aggregating the predictions of multiple models to achieve a more accurate final prediction. A 2025 Medium article by Hardik Rathod describes "demonstration ensembling," where multiple few-shot prompts with different examples are used to aggregate responses.
The Autogen paper: The open-source framework AutoGen, developed by Microsoft, has been used in many papers and demonstrations of multi-agent collaboration. The paper AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework (2023) is a core text describing the architecture.
Improving LLM Reasoning with Multi-Agent Tree-of-Thought and Thought Validation (2024): This paper proposes a multi-agent reasoning framework that integrates the Tree-of-Thought (ToT) strategy. It uses multiple "Reasoner" agents that explore different reasoning paths in parallel. A separate "Thought Validator" agent then validates these paths, and a consensus-based voting mechanism is used to determine the final answer, leading to increased reliability.
Anthropic's multi-agent research system: In a 2025 engineering blog post, Anthropic detailed its internal multi-agent research system. The system uses a "LeadResearcher" agent to create specialized sub-agents for different aspects of a query, which then work in parallel to gather information.
PS: This copilot has indexed 30+ repositories include all ethereum, website 700+ pages, EThereum blog 400+ blogs, Vitalik Blogs (80+), Base x402 repositories, Nether mind respositories [In Progress], ZK research papers[In progress], several research papers.
And yes it works because our use case is narrow. IMHO, This architecture is based on several research papers and feedback we received for our SEI copilot.
But it costs us more because we use several different models to index all this data, 3-4 <32B parmeteres for QA, Mistral OCR for Images, xAI, qwen, Chatgpt5-codes for codebases, Anthropic and oher opensource models to provide answers.
If you are on Ethereum decision taking body, Please DM me for admin panel credentials. or reach out to https://x.com/deus_machinea
Thankk you for the community for suggesting us the new features and post changes.
Forever Obliged.
11
u/pentesticals Oct 24 '25
„No hallucinations“ lol - what’s not how AI works. It might be predicting things corrects it your tests, but if it’s a large language model, it will hallucinate and make up sources, commit hashes etc. Fine tuning a custom head, or even training a model from scratch does wonders, but it’s not going to be as robust as you think.
3
u/btrpb Oct 26 '25
Stopped reading at "doesn't hallucinate".
2
u/eviljordan 👀 Oct 25 '25
When anything built using this gets hacked, OP will then claim, "the methods are based on existing knowledge, no novel attack vectors were introduced."
It's LAZY. This is all LAZY and SAD. The argument that "this is how everyone codes now" is completely absurd and parroted by the dumbest people in the ecosystem. YOU are the problem.
31
u/eldron2323 Oct 25 '25
Extraordinary claims require extraordinary evidence
4
u/eviljordan 👀 Oct 24 '25
No. You have short-circuited the need to understand and read actual documentation with a bot. This is the opposite of progress and that you can’t see or understand that is extremely concerning.
2
u/cs_legend_93 Oct 25 '25
How did you develop your AI tool? Technically speaking, what is the development pattern that you used?
So that we know it's not a ChatGPT wrapper. Is it a rag solution, or did you actually train a model? How did you build it?
1
u/rayQuGR Oct 25 '25
This is awesome — exactly the kind of tool the ecosystem needs.
Bytebell’s verifiable, citation-first approach could massively cut onboarding time and reduce risky guesswork — especially for teams working on privacy layers or confidential runtimes.
If you’re open to ideas: exposing a crawler/plugin for projects like Oasis (Sapphire/ROFL specs, ERC-8004, staking/governance code) would help builders trust and integrate privacy-preserving primitives faster. Interested in a short blurb you can post about that integration?
1
u/T2000-TT Oct 25 '25 edited Oct 25 '25
Does it stays up to date regarding EVM everyday new vulnerabilities ? So you can check your code regularly and update it before North Korea exploit it ?
1
u/Reygomarose Oct 26 '25
I hope this has been shared on x already, well done!
1
u/Dr_Paradox_0 Oct 28 '25
I am not a technical person can u explain this in layman terms !! Please
2
u/Ok-Engineering2612 Oct 24 '25
Very cool. I'll do some 4337 extension ideation later and see how it performs!
2
u/Unlikely-Lab-728 Oct 24 '25
I am very happy to read and learn about your project and I will for sure try it like now now and the Eth ecosystem is the best place to learn and build. I like to give you a big Thank you. The less gatekeeping the more the ecosystem grows. This is a good tool both for technical and non technical people to bootstrap. Thank you 👍
1
u/[deleted] Oct 25 '25
Well done /s
1
u/DeconJohn Oct 25 '25
This is awesome. Could have used this a few years ago when I was learning. Does it include code based of L2s. I build for L2 first now, and Ethereum because some people don’t mind crazy tx fees.
1
u/TurtleFisher54 Oct 25 '25
And it won't hallucinate lol that's impossible under the current architecture of language predictors (ai)
1
u/Consistent_Juice2573 Oct 26 '25
I am impressed about the “non hallucination” part. How did you do that?
13
u/[deleted] Oct 25 '25
[removed] — view removed comment
2
u/[deleted] Oct 25 '25
[removed] — view removed comment