← Latest papers
💻 computer science

HadAgent: Harness-Aware Decentralized Agentic AI Serving with Proof-of-Inference Blockchain Consensus

HadAgent is a decentralized agentic AI serving system that replaces energy-intensive Proof-of-Work with a Proof-of-Inference consensus mechanism, utilizing a three-lane block structure and a two-tier node architecture with an automated harness layer to efficiently validate LLM inference tasks while ensuring tamper detection and trust management.

Original authors: Landy Jimenez, Mariah Weatherspoon, Bingyu Shen, Yi Sheng, Jianming Liu, Boyang Li

Published 2026-04-22
📖 5 min read🧠 Deep dive

Original authors: Landy Jimenez, Mariah Weatherspoon, Bingyu Shen, Yi Sheng, Jianming Liu, Boyang Li

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where the massive computers running the internet's "digital ledgers" (blockchains) are currently doing something incredibly wasteful: they are solving math puzzles that have no real-world use, just to prove they are working. It's like a factory running 24/7 just to melt down gold bars and re-cast them into identical gold bars, burning a country's worth of electricity to do it.

At the same time, we have a booming demand for AI (like the smart chatbots you use), which needs those same powerful computers to think and answer questions.

HadAgent is a new system that solves both problems at once. It says: "Stop melting gold bars. Let's use that computer power to actually answer questions for people, and use the act of answering those questions as the proof that the computer is honest."

Here is how it works, broken down with simple analogies:

1. The Core Idea: "Proof of Inference" (PoI)

In old blockchain systems (like Bitcoin), computers compete to solve a hard math puzzle. The winner gets to add a new page to the ledger. This is Proof of Work.

In HadAgent, the "puzzle" is replaced by a task.

  • The Task: A computer (a "node") is asked to run a specific AI question and give an answer.
  • The Proof: Because the AI is programmed to be deterministic (meaning if you give it the exact same question and rules, it always gives the exact same answer), anyone can check the work instantly.
  • The Analogy: Imagine a teacher giving a math test. In the old system, students had to run around the school 100 times to prove they were trying hard. In HadAgent, the student just solves the math problem. The teacher checks the answer in one second. If it's right, the student gets credit. No running around needed.

2. The "Three-Lane Highway" (The Block Structure)

When these computers finish their work, they don't just dump everything into one big pile. HadAgent organizes the data into a three-lane highway:

  • Lane 1 (DATA): Contains the "question" or the raw information.
  • Lane 2 (MODEL): Contains the "tool" or the AI brain used to answer.
  • Lane 3 (PROOF): Contains the "answer" and the score.

Why three lanes? Imagine a bank vault. Instead of one giant door, you have three separate, locked doors. If a thief tries to sneak in and change the "Answer," they can't touch the "Question" or the "Tool" without breaking the locks. This makes it incredibly hard to cheat without getting caught.

3. The "Two-Tier" System (Trusted vs. New)

Not all computers are treated the same. HadAgent has a VIP system:

  • Trusted Nodes (The VIPs): These are computers that have proven they are honest over and over again. When they get a request, they answer immediately. You don't have to wait for a committee to check their work. It's like a trusted employee who can approve a refund instantly without a manager's signature.
  • Non-Trusted Nodes (The Newbies): These are new computers or ones that made mistakes before. They have to wait in line. Their answers are checked by a committee (consensus) before they are allowed to give the answer to the user. It's like a new employee who needs a manager to sign off on every single transaction.

4. The "Harness" (The Self-Correcting Coach)

This is the most clever part. The system has a built-in monitor (called a Harness) that acts like a strict coach or a security guard.

  • Heartbeat Check: The coach pings every computer to make sure they are awake. If a computer doesn't answer, it's kicked out of the game.
  • The Re-Run: If a computer says, "I answered 5 + 5 = 10," the coach doesn't just take their word for it. The coach runs the same math problem on a different computer to see if they get 10 too.
  • The Feedback Loop:
    • If a computer lies or makes a mistake, the coach catches it, lowers its rank (from VIP to Newbie), or bans it entirely.
    • If a computer keeps getting things right, the coach promotes it to VIP status, letting it work faster.

5. Why This Matters

  • No Waste: Instead of burning electricity for useless math puzzles, we are burning it to actually generate AI answers that people need.
  • Speed: Because "Trusted" nodes don't need to wait for a vote, you get your AI answers almost instantly.
  • Security: The system is designed so that lying is harder than telling the truth. If you try to fake an answer, the "Harness" will catch you in seconds and kick you out.

Summary

HadAgent is like turning a wasteful factory into a high-speed, self-cleaning AI service center. It uses a "proof of work" system where the "work" is actually being helpful. It separates the reliable workers from the new ones, keeps a strict coach watching everyone to catch cheaters, and organizes the data so that no one can sneakily change the records. The result is a faster, cleaner, and more useful internet for AI.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →