An AI agent in Web3 is a system that takes a defined input, reasons about it, and performs a bounded action, with the boundary written down and enforced. The reasoning is the new part. The boundary is what makes it safe to put near anything that matters.

Start with what the agent is not allowed to do

The most important design decision in an agent is its refusal list. A system that confidently invents an answer is more dangerous than one that says it does not know, because the failure is invisible until someone acts on it. Every agent I build has a written capability boundary, and that boundary is tested rather than assumed.

This is not a stylistic preference. The OWASP Top 10 for LLM Applications names prompt injection and excessive agency among the most serious risks in systems built on language models, and both are boundary problems. The NIST AI Risk Management Framework frames the same concern as a governance question: who is accountable when the system acts, and how is that accountability made real. In a domain where an action can move irreversible value, "the model decided" is not an acceptable answer.

Human in the loop, in practice

Human in the loop means a person authorises any action that cannot be undone. In practice that is not one pattern, it is a small set of them, and the right one depends on how bad the worst case is.

  • Pre-approval. The agent proposes, a human confirms, then it executes. Correct for transfers, approvals, and contract calls.
  • Spend and rate limits. The agent acts freely inside a hard ceiling and escalates above it. Correct for high frequency, low value operations.
  • Dry runs. The agent produces the exact action it would take without taking it, so the output can be inspected before it is trusted.
  • Escalation. The agent recognises uncertainty and hands the decision to a person instead of choosing. Correct whenever the cost of a wrong guess is high.

I built these patterns into AgentHub, an access layer that sits between an AI coding assistant and the databases, APIs, and infrastructure it needs to touch. It enforces least-privilege access, keeps an audit trail of what the agent did, and routes high-risk operations to a human for approval rather than blocking all sensitive access. That trade-off is the whole point: an agent with no access is useless, and an agent with unrestricted access is a liability.

A working example of a bounded agent in production is Valor, which runs inside Telegram and is constrained by an explicit system boundary rather than left to improvise.

Where agents genuinely earn their place

Agents are worth building where a task requires interpretation and happens often enough that a human doing it is expensive. In Web3 that tends to be four areas:

  • Support and community. Answering the same thirty questions in different words, at whatever hour they arrive. Telegram and Discord are usually where this workload lives.
  • Monitoring and signal. Turning a firehose of on-chain events into a small number of things worth a human's attention. SolPulse is a deliberately narrow version of this: filtering Solana wallet activity down to readable alerts instead of a wall of transactions.
  • Analysis and review. Reading history and pointing at something specific. OrderFlow does this on Injective, anchoring every observation to the trader's own on-chain record rather than generic advice.
  • Developer and operational tooling. Agents that hold context across a long task, reach the systems involved, and produce something reviewable. This is the gap the Model Context Protocol addresses for tool access, and the gap AgentHub addresses for permissions.

One thing that is deliberately not on that list: financial advice, trading signals, and price prediction. Not because it is technically difficult, but because an agent that sounds confident about a market outcome is producing harm with extra steps.

How the engagement runs

A defined capability, typically one to two weeks, starting from $2,500.

  1. Define the capability. The task, the input, the expected output, and the conditions under which it must refuse.
  2. Agree the boundary. What it can reach, what it can spend, what requires approval, and what is logged.
  3. Build. The agent itself, plus the interface it appears in and the integration it depends on.
  4. Test behaviour, not just output. What it does with an ambiguous input, a malformed input, an adversarial input, and an upstream failure.
  5. Hand over. Documentation, the capability boundary, the refusal list, and credentials you own.

On the chain side, integration work covers Solana and EVM networks. Solana has its own model for how a transaction is considered final, which is settlement-commitment dependent rather than a simple confirmed flag, and it is documented in the Solana confirmation guide. Getting that wrong produces a product that tells users a transaction is done when it is not, which is the kind of error that costs trust permanently.

What is explicitly not included

  • Smart-contract audits, penetration testing, or security certification.
  • Self-modifying or self-deploying agents. An agent that can rewrite its own boundaries has no boundaries.
  • Guaranteed on-chain transaction outcomes. Network conditions are not yours to promise.
  • Ongoing agent maintenance without a separate engagement.
  • Undefined or open-ended capability scope.

How to tell whether it worked

The agent handles its defined task and refuses everything outside it, visibly and consistently. Anything irreversible still requires a person. You can reconstruct what it did and why from the logs. And when something upstream changes, the failure is legible rather than silent.

The reasoning behind the approval patterns above is written up in how to use AI in Web3 without blindly trusting it.