More decentral and European agents

November 6, 2026•
☕ Wird geladen...

I always used this website to experiment around the question: how decentral, and how European, can a practically working website be? Especially around the AI layer, I have already gone through a few iterations.

First, I explored ways to generate images for cents, paid through a home-made NFT contraption. Next was a chat assistant that took ETH instead of subscriptions — real decentral payments, but they required a prepay contract I held myself, and every message left a public trace. x402 and batch-settlement then replaced the home-made parts with standards, so that my custody and the public trace disappeared. Most recently, the assistant learned to act, with a number of tools, from within the browser.

However, this is a small and independent blog. So most users immediately wonder: who is this assistant, and is it any good? Quite frankly, it had exactly one answer: "Read this page and trust me". Especially in this age we have learned not to trust an unknown page, so this is a major usability flaw.

This is where a decentral identity comes in handy: a public, machine-readable profile the agent serves itself — its name, what it offers, which wallet is its — bound to an owner in a public registry that nobody else can write. Attached to the identity comes the reputation: the user feedback at the end of a chat, written into a public on-chain guestbook that neither the rater nor I can edit afterwards.

In the last few months, the agents got both. Two smaller changes came along with these updates: the bills now settle in euros instead of a dollar coin, and the agents' compute moved to a European edge host.

Quick reminder: How the assistant works

The assistant page runs the tool loop within the browser and pays as it goes via x402. It talks to the two *-agent.fretchen.eu endpoints — the chat model and the web search.

These endpoints now present their identity through a registration file at /.well-known/agent-registration.json, served by the agents themselves. The file's structure is part of ERC-8004 — an Ethereum proposal that says how a stranger finds and trusts an agent across origins. As an example, the search's registration file:

{
  "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
  "name": "Fretchen Web Access Service",
  "services": [
    { "name": "OpenAPI", "endpoint": "https://web-agent.fretchen.eu/openapi.json" },
    { "name": "MCP", "endpoint": "https://mcp-agent.fretchen.eu/mcp", "mcpTools": ["web_search"] },
    { "name": "agentWallet", "endpoint": "eip155:8453:0xAAEBc1441323b8ad6Bdf6793A8428166b510239C" }
  ],
  "registrations": [{ "agentId": 97600, "agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432" }],
  "supportedTrust": ["reputation", "crypto-economic"]
}

How the agents got an identity

Next, this information is tied to a wallet on the chain, and ERC-8004 does this via NFTs (i.e. ERC-721): an agent's identity is a numbered entry in a registry contract, owned by a wallet. My two agents are the entries #97599 (the chat) and #97600 (the search) in the registry at eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 on Base.

To ensure uniqueness, the file and the entry point at each other: the file's registrations block names the registry entry, and the registry entry holds the address of the file. A fake copy on some other server therefore leads nowhere: the registry entry stays mine, and a check at the entry finds the fake's file, or none. And the agentWallet does the same for the money — it is the address that payments to this agent belong to.

Improving the technical health

Thanks to the ERC-8004, my registrations became visible to anyone reading the chain — among them 8004scan, a public scanner that indexes registered agents, runs its checks (is the identity resolvable, do the endpoints answer, do the payments work) and publishes a score. Sadly, I started out with a 5 out of 100. To improve them substantially, I had to change two major things:

  • Create an MCP endpoint. MCP is the protocol other agents use to drive a service: the client asks which tools do you offer, and how do I call them, and the answer lets an agent use them without a human in between. Adding it was fairly simple, because the endpoint mostly forwards to the REST routes that already existed.
  • Cold start read as an unhealthy agent, so the sellers moved to the bunny edge. Serverless functions sleep and it takes them a few seconds to start. The scanner's health probes caught the Scaleway functions in these sleeping states and identified them as unresponsive. I could not remove the cold start on the Scaleway functions, so I moved the sellers to bunny.net, a European edge host. The cold start is gone there and responses take roughly 200 ms.

The reputation

The reputation works like the identity: the star card at the end of a chat writes the rating as a giveFeedback transaction into the ReputationRegistry — the reputation entry in the supportedTrust list above. The rating is public on the agent's profile and uneditable afterwards, not by the rater, not by me.

Currency: euros instead of a dollar coin

The payments were already decentral after the x402 rounds — no accounts, no custody, no public per-message trace (details) — but all of it settled in a dollar coin.

USDC — and EURC, its euro-branded sibling — are tokens issued by Circle, a US company. EURe, from Monerium, is e-money regulated in the EU and denominated in euros, deployed on Base: euro payments without the detour. It only changes the currency, not the architecture — the same channels, the same per-call signatures. EURe is still a regulated issuer's token — European is not trustless. On Base the sellers' 402 response lists EURe first, then EURC, then USDC. EURe differs from USDC in three ways:

  • EURe has no EIP-3009, so unlike USDC it cannot settle by a single transferWithAuthorization signature — its 402 entries offer Permit2 instead (assetTransferMethod: "permit2", with an optionally gas-sponsored permit), so an EURe wallet pays with signatures only and no prior approve().
  • EURe has 18 decimals, not 6 — the 0.01 facilitator fee is 10¹⁶ atomic units and a seller's fee approval is a full 10¹⁸, wrong by a trillion if written with USDC's decimals
  • Its EIP-712 domain is "Monerium EURe"/"1", the same per-network trap the multichain notes covered for USDC.

A stack overview

Here is every layer of the stack as it stands today, and where each one landed:

LayerWhat runs thereWhere it landed
Moneyx402 payment channels, EURe (EURC, USDC as alternatives), on Basedecentral — but on a US company's chain
Identity, reputationERC-8004 registry and ReputationRegistry, on Basedecentral — same chain caveat
Chat modelMistral, a French labEuropean
Image modelFLUX via Black Forest Labs, a German companyEuropean
Hosting, facilitatorbunny.net edge (Slovakia), Scaleway S3 + cron (France)European — the scanner picked the edge host within it
Web searchBrave Search API (US)neither — no decentral or European option fit a per-call search

Web search stays with Brave, a US company — the quality of the company, its values and the product outweigh its origin for me. The decentral layers run on Base for its adoption; Optimism runs the same OP Stack without a single company operating it, so switching stays possible if that ever changes.

Where I stand now

The assistent is now a working proof of concept but not a fully adopted product (yet). 8004scan's numbers show this quite directly. The two agents have fairly high technical scores but really low engagement and momentum. Only usage and ratings can raise those two numbers. Use the assistant and the star card at the end of a chat. This writes the rating into the same registry the scanner reads: agent #97599, agent #97600.

⏳ Loading reactions...

Comments

Loading comments...