glabun002/agent-economy — explained in plain English
Analysis updated 2026-05-18
See a working example of an AI agent making autonomous purchase decisions under a hard budget.
Study agent to agent commerce, where one AI agent pays another for a service.
Learn how the x402 payment protocol lets a server request payment over plain HTTP.
Use the dashboard as a template for visualizing an AI agent's spending decisions live.
| glabun002/agent-economy | 00kaku/gallery-slider-block | 0xkinno/vellum | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-05-19 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | hard | easy | hard |
| Complexity | 4/5 | 2/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires creating crypto wallets and funding them with test USDC across four separate services.
agent-economy is a working demonstration of an AI agent that gets a real budget and has to spend it wisely. The project gives one AI agent a wallet holding one US dollar in USDC, a type of stable digital currency, and sends it out to shop a small marketplace of paid data tools. The agent has to judge whether each tool is worth the asking price, skip the ones that are overpriced, and even hire a second AI agent to do work it cannot handle itself. Every purchase happens on a real blockchain, using a payment method called x402 that lets a web server simply reply with a payment request instead of a login form. The buying agent, called Scout, follows a strict spending policy and cannot go over its budget or its per purchase limit. In the example run described in the README, Scout rejects a bundle priced at 75 cents because it breaks the 25 cent cap, then buys cheaper, useful data instead. The project is organized into separate pieces. An agent folder holds Scout's buying logic and its own wallet. A marketplace folder runs three sample data tools, one of which is deliberately overpriced to test Scout's judgment. An analyst folder runs a second AI agent, Analyst-7, that sells its own service and gets paid directly into its own wallet, so this is agent to agent commerce, not just agent to shop. A dashboard folder shows a live view of the budget, the decisions made, any rejections, and receipts recorded on chain. To try it, you install dependencies in each folder, create wallets, fund them with free test USDC, then run each piece in its own terminal window. A full demo run spends about 40 cents and finishes in under two minutes. The project uses Claude as the judgment layer that decides what to buy, skip, or hire. It currently has no stars and is written mainly in JavaScript.
A demo where an AI agent gets a one dollar crypto wallet, shops paid data tools, rejects overpriced ones, and hires a second AI agent, all with real on chain payments.
Mainly JavaScript. The stack also includes JavaScript, Node.js, USDC.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.