Šis raksts ir sadalīts četrās daļās, no kurām katra veido kontekstu, kas jums nepieciešams nākamajam. Pirmā daļa izskaidro, kā x402 iederas esošajās Web2 un uzņēmumu rēķinu plūsmās, un kā tas var pārvietot uzņēmumus "uz ķēdes", pārvēršot API izmantošanu uz stablecoin balstītiem mikromaksājumiem, nemainot viņu garīgo programmatūras modeli. 2. daļa parāda, kāpēc pašreizējais reklāmu un abonēšanas tīkls pārtrauc aģentu pasauli, un kā x402, kopā ar ERC-8004 un programmējamiem makiņiem, var pārvērst nokasīto saturu un API nano-uzņēmumos, kurus aģenti maksā par katru zvanu. Trešā daļa analizē tehniskos šķēršļus, kas šodien bloķē aģentu tirdzniecību, pēc tam apraksta, kā x402, ERC-8004 un aģentu atklāšanas slāņi risina maksājumus pa zvanu, izturību pret surogātpastu, cenu noteikšanu un sadarbspēju. Ceturtā daļa sniedz konkrētu piemēru DayDreams.Systems un tā Lucid kaudze, parādot, kā AP2, x402, A2A, un ERC-8004 nāk kopā reālu rīku, kas ļauj izstrādātājiem ieviest, ekspluatēt un monetizēt autonomo aģenti ražošanā. Šis raksts ir paredzēts lasītājiem, kas ir tehniski pieredzējuši, jo īpaši izstrādātāji, protokolu izstrādātāji un produktu komandas, kas strādā ar AI aģentiem, API vai kriptonaudiem, kuri vēlas skaidru priekšstatu par to, kā šīs jomas savienojas. Tas izskaidro, kā x402, ERC-8004 un aģentu atklāšanas slāņi pārvērš API un aģentus par maziem lietojumprogrammām balstītiem uzņēmumiem, un ko tas nozīmē reālām sistēmām nākamajos 1-3 gados. Vocabulary: Šajā rakstā es izmantoju terminu mikrouzņēmums, lai atsauktos uz maziem / nano uzņēmumiem par vienu x402 cenu gala punktu vai aģentu, kas darbojas neatkarīgi un gūst ienākumus no maksājumiem pa zvanu stablecoins. AP2 (Agent Payment Protocol): AP2 definē, kā aģenti maksā viens otram.Tas standartizē, kā pakalpojums norāda cenu, kā maksājums tiek apstiprināts, un kā abas puses ieraksta to, kas tika iegādāts, lai maksājumi tieši iekļaujas automatizētās aģentu darba plūsmās.Praktikā tas ir protokols, kas ļauj vienai mašīnai maksāt citai par darbu bez cilvēka lokā. A2A (agent-to-agent komunikācija): A2A pārbauda, kā aģenti komunicē, koplieto kontekstu un koordinē darbu. x402 ir HTTP balstīts maksājumu protokols API.Serveris reaģē ar 402 maksājuma nepieciešamības statusa kodu, cenu un maksājuma maršrutu. ERC-8004 (8004) ir standarta ķēdes reģistrs aģentiem. tas dod katram aģentam identitāti un vietu, kur glabāt reputācijas datus, lai citi aģenti un rīki varētu izlemt, kam uzticēties un kādus pakalpojumus izsaukt. Priekšvārds **x402 and ERC-8004. \ Standards for on-chain payments and identity for agent operation. Most people have never heard of these standards, and even many crypto natives only see the surface of the agent narrative. Behind them is a simple idea. Agents can pay and get paid through tiny on-chain transactions, and in return, they can handle tasks that would be impossible to scale by hand. Mēs joprojām esam agri šajā jaunajā telpā, bet es aizdomāju, ka viss attīstīsies daudz ātrāk, nekā lielākā daļa cilvēku sagaida. Viens no tā virzītājiem ir spiediens izveidot aģentu vadītu internetu.Vēl viens ir nepieciešamība uzlabot privātumu procesos, kurus mēs jau izmantojam. Piemēram, Vitalik Buterin jau ir uzsvēris nepieciešamību pēc privātuma saglabāšanas x402 maksājumiem. Katru reizi, kad aģents maksā galapunktu, tas noplūst, kādu pakalpojumu tas izmantoja, kad tas to izmantoja, cik bieži tas to izmantoja, un dažreiz pat darba apjomu vai veidu. Konkurenti var redzēt, uz kuriem API jūsu lietotne vai aģents paļaujas. Datu brokeri var rekonstruēt lietotāju uzvedību un biznesa loģiku no maksājumu plūsmām. Laika gaitā jūs saņemsiet milzīgu, meklējamu karti par to, kurš maksā kam par ko. Cilvēku lietotājiem tas ir privātuma murgs. aģentiem, kā ziņots, tas ir arī alfa noplūde. Agents can do a lot of practical work for you, but privacy-preserving payments are one of the first problems to solve. A development team I use as an example is currently building private x402 transactions on the Starknet stack, also known as z402. Kad šis slānis ir uz vietas, tas atver durvis simtiem lietošanas gadījumu.Ja jūs lasāt tālāk, jūs uzzināsiet vairāk par dažiem no tiem. Es vispirms paskaidrošu, kur tīkls ir šodien un kāpēc aģenti pārkāpj veco reklāmas un abonēšanas modeli. Es arī iepazīstināšu ar pamatnosacījumiem, kas jums jāsaprot, lai iegūtu vislabāko no šīs lasīšanas. Tad es parādīšu, kā standarti, piemēram, x402 un ERC-8004, sniedz aģentiem veidu, kā maksāt un pierādīt vērtību. Visbeidzot, es apskatīšu piemēru izstrādes komandu, DayDreams.Systems, kas balstās uz šiem standartiem. Mērķis nav veicināt kādu konkrētu komandu, bet parādīt, kāpēc šāda veida ūdensapgāde, visticamāk, būs svarīga, ja aģentu ekonomika kļūs reāla. 1. daļa - uzņēmumu ieviešana ķēdē ar x402 Today, most x402 experiments start with crypto-native builders, but the long-term impact ultimately falls on traditional companies. x402 runs on familiar Web2 infrastructure but settles in on-chain stablecoins, so it integrates directly with existing usage-based billing. **Enterprises already use metered APIs and issue monthly invoices. Ja gala punkts var atklāt “šis zvans izmaksā 0,2 centus USDC” pār HTTP 402, finanšu komandas var samierināties, ka plūsma ir tāda pati, kā viņi apstrādā mākoņu vai SaaS izmaksas. Tas ir arī iemesls, kāpēc es domāju, ka ir svarīgi būt skaidram par to, kas x402 nav. tas nav žetonu pārdošana, un tas nav spekulatīvs aktīvs. tas ir maksājumu protokols. That is also why I think it is essential to be clear about what x402 is not. It is not a token sale, and it is not a speculative asset. It is a payment protocol. Or, as people in payments, fintech, and crypto might say, a “payment rail.” No mana viedokļa, un no tā, kā veidotāji blockchain telpā runā par to, x402 ir veids, kā ātri atļaut mikromaksājumus internetā un ļaut tradicionālajiem uzņēmumiem kļūt nozīmīgi ķēdē, bez nepieciešamības pārzīmēt sevi kā "kripto projektus". Kad jūs aplūkojat lietotāju bāzes numurus, potenciāls kļūst skaidrāks. Šodien ir aptuveni 40–50 miljoni iknedēļas aktīvo kriptogrāfijas lietotāju. Salīdzinājumam, aptuveni 900 miljoni cilvēku jau izmanto ChatGPT klases lietotnes. Tagad iedomājieties lielu saskarni, piemēram, ChatGPT vai līdzīgu aģentu front-end, kas arvien vairāk paļaujas uz ārējiem API, kas paši atklāj cenas x402. This would make it easier to share revenue with third-party services, give users or their own agents the option to pay directly for some calls, and reduce the need for custom billing integrations with every partner. Ja šāds iestatījums kļūst parasta, jūs vairs nerunājat par tūkstošiem darījumu dienā. Jūs skatāties uz miljardiem mikroskopisko notikumu, katrs no kuriem pārstāv maksas datoru vai datus.Traditionālie karšu tīkli un reklāmas finansētie modeļi nav paredzēti šim modelim. Kartes sistēmas arī pieņem cilvēku plūsmas beigās un kases stila pieredzi. Aģentu maksājumi izskatās atšķirīgi. Tie notiek fonā, bieži vien daudzu mazu zvanu uzliesmojumos, ar cenām, kas ir atkarīgas no konteksta, apjoma vai nosacītajiem noteikumiem. Tas ir darba slodzes veids, kuram stablecoin rails un HTTP dzimtā protokols, piemēram, x402, ir labāk piemēroti nekā kartes maksājumi un ikmēneša rēķinu cikli. Kartes sistēmas arī neatklāj vienkāršu, mašīnlasāmu veidu, kā vienam pakalpojumam citēt cenu par zvanu un citam pakalpojumam to samaksāt automātiski. x402 ir izstrādāts, lai aizpildītu tieši šo plaisu starp vecajām un mūsdienu maksājumu līnijām. Tas saglabā pazīstamo HTTP pieprasījuma un atbildes modeli, katram zvanam pievieno stablecoin cenu un nosaka šo cenu ķēdē kā nelielu, uz lietojumu balstītu maksājumu. Skala, kurā dzīvo aģentu satiksme, šāda veida maksājumu protokols var tikt galā ar granularitāti, ar kuru cīnās esošā maksājumu infrastruktūra. Kad jūs nopietni uztverat šo apjomu un ceļa virzienu, rodas vēl viens jautājums. Ko darīt, ja lielie lietotāji ignorē x402 un saglabā visu savā rēķinu sistēmā? Nu, viņi nevar noņemt x402 gala punktus no interneta, bet viņi var izlemt, kuras maksājumu plūsmas viņi atbalsta savos produktos. The counterpoint is that x402 does not need permission from any single platform. It rides on plain HTTP, so any agent, SDK, or “agent browser” can call an x402 endpoint and pay it. If x402 endpoints become a good source of useful data or computing, it is cheaper for big companies to talk to them than to rebuild every useful resource in-house. If they refuse to interoperate, that creates an opening for other tools, wallets, and agent clients that do. In that sense, x402 is less about convincing a single company to flip a switch and more about setting a standard for the rest of the ecosystem that works even if incumbents are slow to join. No šīs perspektīvas, kad cilvēki runā par “uzņēmumu ieviešanu ķēdē”, uzmanība netiek pievērsta bilances tokenizācijai vai akciju ievietošanai grāmatvedībā.Tas pāriet uz kaut ko vairāk ikdienas un spēcīgāku: ikdienas AI API un SaaS gala punktu rēķinu slāņa pārvietošana uz x402, lai internets varētu atbalstīt miljardus subcent maksājumu dienā, nesabojājot savu biznesa modeli. Ievads: Bez reklāmām un abonēšanas: aģentu tirdzniecība uz x402 un ERC-8004 Imagine you run a website with real value. A research blog. A niche data feed. A book you provide for free. A long form guide that took you nights and weekends to write. Šodien veids, kā jūs "monetizējat", ka darbs ir vienkāršs, un, godīgi sakot, brutāls. Jūs ielīmējat reklāmas skriptus un cerat, ka parādīsies cilvēka acu bumbiņas.Tajā pašā laikā roboti un AI aģenti skrāpē jūsu lapas koda līmenī, skrāpē neapstrādātu saturu, baro to ar to cauruļvadiem un nekad nemaksā jums centu. But the real consumer is a headless agent that does not care about banners or pop-ups. TL;DR Jūs sedzat hostinga izmaksas. Jūs sedzat joslas izmaksas. Pārdevējs iet prom ar vērtību. Lielākā daļa tīmekļa datplūsmas nāk no automatizētiem klientiem, nevis no cilvēkiem pārlūkprogrammās, tāpēc ir jēga, ka mašīnas, nevis cilvēki, kļūst par galvenajiem maksātājiem protokola līmenī. Now imagine a different setup. Jūsu saturs atrodas aiz neliela maksājumu sienas, kas saprot x402.Kad cilvēks vai AI aģents vēlas jūsu datus, viņi neredz reklāmas.Viņi redz 402 "Payment Required" atbildi ar skaidriem, mašīnlasāmiem terminiem.Viņu klients vai aģents zvanīs jums ar maku, kas jau tur nelielu stablecoin bilanci, un ka lietotājs ir pilnvarots tērēt viņu vārdā. Pārdevējs maksā daļu no šī līdzsvara un pēc tam saņem datus. A human user still tops up that balance from time to time, by card, bank transfer, or a normal on-ramp, but each call is handled automatically by the software, not by clicking a “Pay” button on every request. In the background, a programmable wallet enforces the rules you set. You can cap how much an agent spends per day, restrict which endpoints it can pay, and keep an audit trail of every call. The agent does the micro-payments, but the human still defines the policy and funding source. Results: Nav rēķinu Neaizmirstiet Nav e-pasta uztveršanas tuneli Ar ERC-8004, šim aģentam ir pārbaudāma identitāte un reputācija ķēdē, lai citi aģenti zinātu, ar ko viņi runā un vai viņi var uzticēties plūsmai, ko tas kalpo. Jūsu “skrāpēšanas upura” tīmekļa vietne kļūst par nano biznesu aģentu ekonomikā. Bet pagaidiet vienu sekundi.Tajā ir arī “mēness gaišā puse”. : Agents can Rīkojieties kā atbilstības veidotāji starp jūsu saturu un pareizajiem lasītājiem, tāpat kā jūs, daloties savā darbā sociālajos medijos. Nodrošināt personalizētus ievades punktus un automatizētus sekojumus cilvēkiem, kuriem patīk jūsu darbs, un palīdzēt to izplatīt pareizajos interneta stūros Pārraugiet sava satura veselību, izsekojot, kuras jūsu raksta daļas izraisa atmaksājumus, ātri atkāpjas vai nekad nerada turpmākas darbības Act as quality filters and bring you only the material that matches your preferences Pārvaldīt piekļuves kontroli, pārvaldot, kurš saņem kādu satura līmeni, kuras daļas ir bezmaksas un kuras ir maksas par lasīšanu Check sponsorship offers against your ethical guidelines and pricing, and place small, relevant sponsorships in your content feed on your terms Nodrošināt šķērsformāta piegādi, ģenerējot īsu audio versiju, bullet-point versiju vai “par dibinātājiem” duplikāta satura versiju, un piedāvāt tos kā mikro-uzlabojumus Ļaujiet lasītāja aģentam izvēlēties formātu, kuru persona dod priekšroku Un, ilgtermiņā, viņi maksā par savu eksistenci, nopelnot vairāk no sava darba, nekā viņi tērē datiem, aprēķiniem un instrumentiem. Kontrolēt naudu bez atļaujas un izmantot maksājumus, lai ietekmētu cilvēkus, citus aģentus un programmatūras sistēmas Tagad padomājiet par to, kā mēs šodien izmantojam meklēšanu. katrs Google vaicājums patērē CPU, atmiņu, tīkla joslas platumu un enerģiju. Tas maksā reālus resursus katru reizi, kad ievadiet vārdu un noklikšķiniet uz Enter. Jūs nekad neredzat rēķinu, jo Google sen nolēma, ka jūs neesat klients. Reklāmdevējs ir. Lai to paveiktu, Google pārdod piekļuvi indeksam. Sponsorētās saites pērk savu ceļu uz augšu. Pirmais rezultāts bieži vien nav labākais atbilde jums. Tas ir atbilde, kas uzvarēja izsolē. Tagad projekts, kas virzās uz aģentu internetu. Tā vietā, lai viena milzīga meklētājprogramma, kas slēpj izmaksas aiz reklāmām, jums ir meklētājprogramma, kas darbojas tikai jums. Jūs maksājat tieši kriptogrāfijā, izmantojot x402 par laiku un datiem, ko tas tērē jūsu vaicājumam. Tas izplata jūsu pieprasījumu daudziem datu sniedzējiem, katrs ar savu x402 maksājumu sienu, un izvēlas labāko cenu un kvalitātes kombināciju. Rezultāti, ko tas atgriež, nav sponsorēti. Tie atspoguļo to, ko jūsu aģents patiešām uzskata par labāko atbildi jūsu ierobežojumos. **Again, ERC-8004 matters here. \ Your search agent needs to decide which other agents and services to trust. Identity, reputation, and validation registries give it a way to see who has delivered good results in the past and who has a track record of spam or low-quality work. SEO spēles un reklāmas izsoles vietā jūs iegūstat tirgu, kurā aģenti viens otru klasificē, pamatojoties uz pārbaudāmu darbu un reāliem maksājumiem. Kad jums ir x402 maksājumiem un ERC-8004 identitātei un reputācijai, daudzas no šodienas interneta bojātajām daļām sāk izskatīties fiksējamas. #1 API billing becomes less painful. Pašlaik, ja jūs palaidāt API, jūs iestatāt abonementus, likmju ierobežojumus vai pielāgotus līgumus. Jūs pārmaksājat lieliem klientiem un nepietiekami apkalpojat garo astes daļu. ar x402, jebkurš API gala punkts var publicēt cenu par zvanu, līdz pat centu daļām, un pieņemt stablecoins HTTP 402 bez kontiem vai manuāla rēķina. aģenti un lietojumprogrammas maksā tieši par to, ko viņi izmanto, un nekas cits. #2 Spam becomes more expensive. In Web2, bots can hammer your endpoints for free until you give up and put everything behind API keys, CAPTCHAs, or hard gating. In an x402 world, every request costs something, even if it is tiny. Attackers cannot spray infinite traffic without burning real money. Legitimate users still pay far less than a typical subscription, and they do not have to fight your protection layers. #3 Agent discovery becomes less biased. Ja atklāšanas dzinēji sēž uz augšu x402 un ERC-8004, viņi var klasificēt pakalpojumus ne tikai pēc tā, kurš kliedz skaļāk, bet pēc tā, ko citi augstas reputācijas aģenti faktiski maksā un izmanto. #4 Multi-agent workflows become less fragile. Protokolus, piemēram, A2A vai MCP definē, kā aģenti sazinās viens ar otru. ERC-8004 piestiprina, kas viņi ir un kāpēc jūs varētu uzticēties viņiem. x402 dod viņiem veidu, kā nokļūt pēc katra zvana. runāt. pierādīt. samaksāt. Un tas viss notiek, neizmetot tīmekli prom - HTTP stays. APIs stay. Mēs tikko beidzot izgaismojām stāvokļa kodu, kas ir rezervēts trīs gadu desmitiem un savienojis to ar globālu grāmatiņu. We give agents a passport and a credit line, and we tell them: “If you want to use the internet’s value, you pay the people who create it.” “If you want to use the internet’s value, you pay the people who create it.” Tā ir plaisa, ko x402 un ERC-8004 cenšas aizvērt. Viņi neapliecina burvju. kept coming back to: Uzticībai jābūt tikpat pārbaudāmai kā darījumam. Spēle DayDreams X Space Payment should be as native as a GET request Savs aģents var glabāt manu saturu aiz x402, runāt ERC-8004, lai citi aģenti zinātu, ar ko viņi nodarbojas, un ieteikt manu darbu lasītājiem, kas to varētu novērtēt. Citi aģenti var strādāt lasītāju vārdā, skenēt apmaksātus galamērķus un izlemt, ka mans raksts ir vērts daļu centu.Tā pati tehnoloģija, kas skrāpē un kopē, var arī novirzīt jaunus lasītājus uz manu darbu, samaksāt par to un sniegt signālu par to, kas patiešām palīdz cilvēkiem. For twenty years, the web asked one central question: “ ” Does this look good to a human on a screen? Vai tas izskatās labi cilvēkam uz ekrāna? We obsessed over templates, CSS, copy, and SEO so that a landing page both looked good and ranked well. Agenta laikmetā jautājums mainās, un jautājums maina leņķi uz šo: "Vai aģents var sasniegt jūsu vērtību, izmantojot tīru API, samaksājot par to vairāk nekā x402, un zināt no ERC-8004, ar ko tas nodarbojas?" “ ” Vai aģents var sasniegt jūsu vērtību, izmantojot tīru API, samaksājot par to vairāk nekā x402 un zinot no ERC-8004, ar ko tas nodarbojas? Tīmekļa vietnes un pakalpojumi, kas atbild “jā” uz šo jautājumu, joprojām rūpējas par UX un SEO, bet tie nav atkarīgi no fantāzijas galamērķa lapām, lai izdzīvotu. 3. daļa - Tehnoloģijas, kas mainīs internetu Agent commerce, x402, and ERC-8004: from ad-funded web to paid APIs Where we are now: ads, subscriptions, and hard-coded APIs Kur mēs esam tagad: reklāmas, abonēšanas un cieto kodu API Let us take a closer look at the current state of the online experience. Lielākā daļa tiešsaistes produktu joprojām paļaujas uz diviem pamata uzņēmējdarbības modeļiem. reklāmas maksā par “bezmaksas” saturu, un abonementus pievieno ikmēneša vai gada plāniem. This works poorly for today’s AI-driven internet. AI aģenti var ignorēt reklāmas. Abonēšanas ir pārāk rupji, kad jums ir nepieciešams tikai dažus zvanus vai nelielu datu daudzumu. API nodrošina reālu vērtību, bet nav standarta veida, kā iekasēt par zvanu interneta mērogā. No tehniskās puses lielākā daļa AI sistēmu joprojām izskatās šādi: Lietotne vai aģents izmanto API kopumu ar manuāli pārvaldītām API atslēgām. Workflows are hard-coded by humans. Maksājumi tiek apstrādāti, izmantojot atsevišķas Web2 rēķinu sistēmas, piemēram, Stripe kontroles paneļus, pielāgotus rēķinus vai priekšapmaksas kredītus. Access bieži dzīvo sienu dārzos, nevis atklātos, kopīgos dzelzceļos. This setup has some obvious limitations: Agenti nevar viegli atklāt jaunus pakalpojumus paši. Nav standarta maksājumu plūsmas mašīnu uz mašīnu zvanus. Each integration is custom, slow to build, and hard to replace. Ļaunprātīga izmantošana un skrāpēšana ir izplatīta, jo nav iebūvētu ekonomisko izmaksu par katru zvanu. At the same time, demand for AI and APIs is exploding. There are roughly 10 million weekly crypto users. Simtiem miljonu lietotāju mijiedarbojas ar ChatGPT klases lietojumprogrammām. **We are in “the API era.” \ The web serves more APIs than static pages, yet the payment and access layer still behaves like the early web. What needs to change for agent commerce to work? Kas jāmaina, lai aģentu tirdzniecība darbotos? AI pāriet no atbildes uz jautājumiem uz rīcību. Viņi ne tikai tērzē. Viņi ir: Izsaukt API, lai iegūtu datus un kontekstu. Reserve and manage cloud resources. Darba plūsmas starp pakalpojumiem. Sastādīt vairākus rīkus, lai atrisinātu uzdevumu end-to-end. Lai to atbalstītu, mums ir nepieciešami šādi trīs: Standarta maksājumu primitivs API un aģentiem, piemēram, x402. Atklāšanas un identitātes slānis, lai aģenti varētu atrast un klasificēt pakalpojumus, kas Ethereum ekosistēmā kartē uz ERC-8004 aģentu reģistriem. Uzņēmējdarbības slānis, lai indivīdi un komandas varētu pārvērst gala punktus mazos, efektīvos uzņēmumos. Mūsdienās trūkstošais gabals bieži vien ir maksājums un atklājums. Aģentiem nav dzimtā veida, kā maksāt par zvanu. Piegādātāji nevar atklāt mazus, nano izmēra pakalpojumus vienkāršā, atklātā veidā. Izstrādātāji nezina, kur uzskaitīt gala punktus vai kā sasniegt lietotājus ārpus viņu pašu lietojumprogrammas. This blocks a more granular and open market where: Laika API var iekasēt daļu no centa par zvanu. Nišas datu kopu var iekasēt pa vaicājumiem, nevis mēnesī. Neliels rīks var būt nano bizness, kuru jūs iestatāt 30 minūšu laikā un atstājiet darbā. Without a standard, every project reinvents billing and access. That slows the market and keeps power in a few large platforms. Current bottlenecks: walled gardens, spam, mispriced data Current bottlenecks: walled gardens, spam, mispriced data The web stack of today suffers from being built on the code infrastructure of yesteryear. #1. Walled gardens and private workflows Darba plūsmas ir privātas un kodētas. API keys are stored and managed by humans. Pārdevēji nevar brīvi izpētīt jaunus pakalpojumus, jo ir neskaidri līgumi, pielāgotas instrumentu plāksnes vai katra pārdevēja atslēgu vārti. Result: Innovation is locked within platforms rather than occurring on neutral rails. #2. No standard way for agents to pay Agents need to pay for: Data. Compute. Models and inference. Specialized tools and services. Tomēr pašlaik nav kopīga maksājumu slāņa aģentiem. Providers handle billing off-chain. Zvanus var veikt bez maksas, līdz tiek sasniegti tarifu ierobežojumi, pēc tam "kontakti par pārdošanu". There is no portable, machine-readable way to say “this endpoint costs X per call.” This prevents a real microservice economy between agents. #3. Broken pricing models for content and data Valuable sites and datasets are scraped for free. Ads do not work well when agents are the consumers. Subscriptions do not fit small, rare, or niche usage. There is no good way to price: A single clean Polymarket signal. A specialized dataset query. One high-value article read by an agent. The result is either under-monetization or overly heavy paywalls. #4. Spam and free riding Bots un ļaunprātīga satiksme bieži uzbrūk API. Without a built-in cost per call, spam is cheap. Piegādātāji pievieno sarežģītus likmju ierobežojumus, CAPTCHAs un manuālus apstiprinājumus. This hurts honest developers and makes APIs harder to use. #5. Distribution and discoverability Būvnieki to nezina: Where to list x402-style endpoints. Kā aģenti tos atradīs. How to rank providers when many offer similar services. The coming evolution phase is comparable to the early web. Search engines became the gateway for websites. Šeit aģentu atklāšanas dzinēji un aģentu veikali kalpos kā vārti. However, without standards, these discovery layers risk becoming new silos. How x402 solves per-call payments and spam How x402 solves per-call payments and spam Let me present now a clear “ ” structure around x402 that will need to be developed. cause → solution → fix Cēlonis → risinājums → Fix x402 in short: Uses HTTP status 402 Payment Required. Note: The HTTP 402 Payment Required code has existed in the spec since the early web, but it never had a practical implementation until standards such as x402 defined how to attach a real payment flow to it. Let's have a server reply with “you must pay X in asset Y” in a machine-readable way. Let a client (human app or agent) pay by using stablecoins on a supported chain. Pēc maksājuma veikšanas serveris atgriež rezultātu. This has several important properties. It fits directly into existing HTTP flows. Web2 developers already understand status codes and retries. Developers only need a wallet adapter and payment handler, not a full Web3 stack. Viņiem tas jūtas tuvāk Stripe pievienošanai nekā dApp veidošanai. How x402 fixes the issues Standard per-call payments: Each endpoint can publish a clear per-call price. Agents and apps can: Discover the endpoint. Receive a 402 with pricing terms. Pay and get the result. **This turns any useful resource into a nano business. Better pricing models: x402 supports: Per-call pricing. Very small payments, even fractions of a cent. Flexible models for data, content, and compute. **This aligns well with AI and API cost structures, which are naturally usage-based. **Spam resistance: Every call has a cost. \ Bots and abusive patterns become expensive to run. x402 serves as both a security primitive and a payment rail. **Open and chain-agnostic design: x402 stays open and does not lock anyone to a single vendor. \ Different chains and infrastructure providers can implement it. Any wallet that speaks x402 can pay any endpoint that speaks x402. **On-ramp for traditional companies: Enterprises already use usage-based billing, and stablecoins are easier to explain than volatile tokens. \ x402 lets them reuse: HTTP. Usage invoices. Stable settlement rails. This lowers their barrier to on-chain adoption. Why ERC-8004 is as important as x402 Why ERC-8004 is as important as x402 Maksājums nav pietiekami. aģentiem ir arī jāizlemj, kam zvanīt. We now need to link x402 to an identity and reputation layer, concretely to the ERC-8004 standard for agent registries. ERC-8004 lets agents anchor identity, reputation, and verification data on-chain. Together, x402 and ERC-8004 give agents a way to both pay for services and trust the services they choose. Key points: Agents register with an on-chain identity. Reputation and performance metrics link to that identity. Orchestration engines can pick among providers based on trust signals, not only price. This enables: Trusted agent-to-agent commerce, where an agent can justify why it chose a given provider. Composable orchestration, where workflows route traffic to high-reputation endpoints. Open discovery, where search and agent stores can index resources on neutral infrastructure instead of closed catalogs. Kopā x402 un ERC-8004 rada: A payment primitive for APIs and agents. A discovery-and-trust primitive that sits above it. This is the foundation for an open agent-commerce stack. On top of the stack, we can now add concrete tools, many of which are already in development. Ļaujiet mums iet uz biznesu. DayDreams.Systems: turning the stack into real tools and businesses DayDreams.Systems: turning the stack into real tools and businesses As an example of tooling that builds on the x402 and ERC-8004 stack, let us look at DayDreams.Systems project. The work of the DayDreams team mainly focuses on the following 3 areas: 1. XGATE: discovery and composition XGATE acts as a discovery layer for x402 resources and for agents registered through ERC-8004 or compatible identity registries. Builders can list endpoints. Agents can find and compose them. Orchestration logic can stitch together multiple micro endpoints that each do one thing well. Piemērs no plūsmas: Aģents saņem uzdevumu. The agent queries XGATE to find relevant endpoints (data, signals, tools). The agent pays per call by x402. The agent combines the outputs into a final result. This turns “glue code” into a generic layer rather than having custom logic in each app. 2. Lucid: operations and micro-business management Lucid is DayDreams’s platform for individuals who run many micro businesses. Lietotāji var ievietot aģentus, kurus viņi ir izveidojuši citur, vai izmantojot Lucid aģentu komplektu. They can manage all their x402 endpoints from a single location and sandbox. They can track P&L, fund agents, and inspect analytics. Praksē Lucid nodrošina: An operations dashboard for agent commerce. A way to manage multiple nano businesses from a single interface. Tools to understand which endpoints earn, which lose money, and where to optimize. 3. Agent framework and software development kits (SDKs) DayDreams also focuses on the developer experience. Stack ietver: An agent framework with context, memory, and multi-agent collaboration. Bibliotēkas x402 maksājumu integrēšanai pakalpojumos. Infrastruktūra, kas palīdz aģentiem izsaukt API, samaksāt par tiem un apvienot rezultātus. Together, this turns the abstract idea of “agent-to-agent commerce on x402” into code that real developers can ship. Competition and wider ecosystem Competition and wider ecosystem It is important to note that DayDreams is not the only project in this area. The wider ecosystem includes: Other agent frameworks that orchestrate tools and APIs, including those that build on ERC-8004 or on alternative identity and reputation layers. Traditional payment processors and cloud providers that explore usage-based billing and machine-to-machine payments on Web2 rails. Alternative crypto payment and streaming protocols that target per-second or per-stream billing rather than per-call HTTP flows. Emerging discovery and agent store platforms that plan to index AI tools, APIs, and agents, sometimes with their own marketplace logic. These projects share similar goals: Make it easier for agents and apps to pay for services. Uzlabojiet rīku un datu atklāšanu. Allow small providers to compete with large platforms. Konkrētais leņķis šajā rakstā ir x402 kombinācija, atvērti atklāšanas slāņi un nano uzņēmumi, kas izveidoti ap vieniem apmaksātajiem gala punktiem. I use DayDreams.Systems’ Lucid as a concrete example of this path, not as the only option. If you want to find out which project best fits your needs, it helps to look at three basic questions: How open are the standards and interfaces, and how hard is it to leave if you change your mind later? How simple and clear does the developer experience feel in real workflows, from first test to production? How well does the pricing and technical model match usage-based AI and API costs in your own stack? From status quo to agent commerce in three steps No status quo līdz aģentu tirdzniecībai trīs soļos Šis un šī raksta pēdējā sadaļa izskaidro, kā šajā rakstā esošās sastāvdaļas veido plūsmu no gala līdz galam. Tas vispirms apraksta pašreizējās problēmas, pēc tam apraksta protokola līmeņa dizainu un, visbeidzot, parāda, kā tas darbojas praktiskajā izvietošanā. The following sequence shows how these components work together end-to-end. Cause (status quo) → Solution (x402 + 8004 + discovery) → Fix in practice (agents and endpoints + Lucid/XGATE-style platforms) Cause The internet runs on APIs, but business models are stuck on ads and subscriptions. AI agents act more like users, but they lack standard payment and discovery tools. Workflows are private, access is gated, and spam is cheap. Solution Use x402 to define a standard per-call payment flow for HTTP. Pievienojiet identitātes un reputācijas slāni, lai palīdzētu aģentiem atrast un klasificēt pakalpojumus. Build discovery engines and agent stores that index x402 endpoints Provide frameworks and platforms that enable individuals and teams to run micro-businesses on these rails. Fix in practice Izstrādātājs pārvērš serveri un atklāj noderīgu resursu kā x402 gala punktu. The endpoint becomes a nano business with clear pricing and on-chain settlement. Agents find it through discovery layers like XGATE. They pay per call with stablecoins through x402. Skaidras un līdzīgas platformas palīdz operatoriem pārvaldīt, finansēt un optimizēt šos nano uzņēmumus. Over time, a new market forms in which agents pay agents for APIs, data, and compute, while ads and coarse subscriptions become less critical. From a technical standpoint, this is a clean, incremental change. It keeps HTTP and the mental model of APIs, but extends them with: Mašīnlasāmās cenas. Native on-chain settlement. Open discovery and identity. This is a realistic path from where we are now to a web where agent commerce is normal behavior, not a niche experiment. Finishing thoughts There is already a small but growing ecosystem around x402 and ERC-8004, spanning payment routers, agent toolkits, and agent-native discovery engines. Different teams explore different trade-offs around custody, privacy, and UX. This article does not rank or endorse any of them, but aims to explain why these standards exist and why they are likely to matter if agent commerce takes off. Disclosure: I hold positions on projects working on the x402/8004 ecosystems. This article is for educational purposes and is not investment advice. Part 4 - DayDreams.Systems: an x402 / 8004 implementation example The current article discusses AI agents that do real work, pay each other for APIs, and build an economy on top of standards such as x402 and ERC-8004. DayDreams.Systems iekļaujas šajā attēlā kā praktisks šo standartu īstenošanas slānis. komanda pēdējo 12 mēnešu laikā ir attīstījusies uz aģentu ekonomiku un ir saskaņojusi savu kaudzi ar x402 kopš Coinbase ieviesa standartu 2025. gada maijā. In practice, this means that DayDreams' agentic endpoints are concrete tools that your agent can call to compose DeFi strategies and other paid workflows on top of x402 and ERC-8004. These standards are powerful, but unrefined. Tie attiecas uz “kā maksāt”, “kā runāt” un “kā identificēt aģentus”, bet paši par sevi nesniedz izstrādātājiem skaidru veidu, kā ieviest, uzraudzīt un mērogot aģentu darba slodzes. Tā mērķis ir nodrošināt vietu, kur aģenti var darboties kā ekonomiskie dalībnieki: viņi sazinās ar A2A, maksā un saņem maksājumu, izmantojot x402/AP2, un nes ERC-8004 identitāti no brīža, kad viņi nonāk tiešsaistē. Personal autonomy is now open to anyone shipping paid agentic endpoints. Reputācija un apjoms virzīsies uz noderīgiem galamērķiem, izvirzot agrīnus virzītājus, kad satiksmes pieaugums. Izgatavots ar Lucid -> Izplatīt ar XGATE -> Saņemiet samaksu par x402. How DayDreams structures the stack DayDreams.Systems currently present four core components. 1. DAYDREAMS Library – Open-source agent framework DAYDREAMS bibliotēka – atvērtā koda aģentu sistēma Izveidojiet autonomus AI aģentus. Use a modular architecture. Reach multiple chains through x402 as a common payment layer. Develop in the open, with GitHub and documentation available. The library serves as the foundation for agent logic: tools, policies, and behaviors. 2. DREAMS Router – x402-powered USDC router DREAMS Router – x402-powered USDC router Pay multiple providers with USDC through a single interface. Izmantojiet vienotu maksājumu abstrakciju virs x402. Route across multiple chains. Optimize for cost and path automatically. One example is paying for Google’s VEO3 directly with USDC over x402, with more providers planned. 3. Lucid – a platform for autonomous agent operation Lucid – a platform for autonomous agent operation Run agents in an autonomous mode. Define custom workflows. Reāllaika uzvedības monitorings. Mērķis ir maksimāla autonomija, nevis manuāla uzraudzība. Lucid is also where AP2, A2A, x402, and ERC-8004 are tied together into a single operational surface. 4. XGATE – agent-native search engine XGATE – agent-native search engine Indekss x402 gala punkti pēc aģentiem, aģentiem. Expose a live view of the x402 network. Provide direct links to deployment targets. Šī sastāvdaļa ir pūļa atklāšanas puse, koncentrējoties uz “agent engine optimization” nevis cilvēka SEO. The intended user experience is as follows: Build agents → manage them in Lucid → discover and consume them via XGATE → pay agents → build more agents → repeat. Lucid as an abstraction over AP2, A2A, x402, and 8004 Lucid kalpo gan kā runtime, gan kontroles lidmašīna aģentu tirdzniecībai. Standarti, piemēram, x402, ERC-8004, un A2A definē kopīgu līgumu par maksājumiem, identitāti un ziņojumiem, lai aģenti, kas būvēti uz dažādiem kauliem, varētu sadarboties, nevis dzīvot izolētos sienu dārzos. Lucid mērķis ir padarīt šo sadarbspēju praktisku, nodrošinot celtniekiem konkrētu izpildes laiku un rīku komplektu, kas ļauj daudziem neatkarīgiem aģentiem piedalīties tajā pašā aģentu ekonomikā. When a developer deploys an agent on Lucid, several capabilities are available from the start: The agent can send and receive x402 payments and use the AP2 protocol to settle payments with other agents. Payments: The agent can join A2A conversations and workflows rather than relying solely on one-off HTTP calls. Communication: : The agent can register via ERC-8004, which provides it with an on-chain identity and a space for reputation data. Identity and trust : The platform can route tasks across multiple models and endpoints, with built-in monitoring. Inference and routing The goal is for developers to focus on what an agent does, while Lucid handles how it pays, proves itself, and communicates with other participants. Over time, this forms what the team calls the Lucid Network: many agents trading, collaborating, and compounding value rather than operating in isolation. What kinds of agents is Lucid designed for The ecosystem already sketches a wide range of agent types that could live on this stack: Macro research agents that publish paid daily reports. Game agents that play on-chain games, grind, farm, or plan strategies on behalf of a user. Arbitrage agents that scan exchanges and execute trades. E-commerce scouts that monitor marketplaces for specific items and perform instant checkout. Content agents that draft, edit, and publish newsletters or posts, keeping a consistent tone. Data guardians that watch wallets, positions, or contracts and trigger protective actions. Knowledge agents specialized in domains such as law or biotech, available on demand. Creative agents that output music, art, or video snippets as small digital products. Coordination agents that connect other agents into larger workflows and act as orchestrators. All of these can operate in the same economy. A clear design choice is to rank agents by actual earnings, so revenue serves as social proof of quality. In this model, x402 is how an agent charges for its work, and ERC-8004 provides a structured surface to prove that the work is worth paying for. Lucid Agents: BYO framework with x402 and 8004 baked in Under the name Lucid Agents, DayDreams offers a toolkit designed to be a “bring your own framework” while remaining commerce-ready. At the center is the Lucid Agent Kit, a commerce SDK for AI agents. In its current release, Lucid Agents includes bi-directional payment tracking, persistent storage backends (SQLite, in-memory, and Postgres), strict policies for incoming and outgoing payments, an analytics module for financial reporting, and a scheduler for automated paid agent hires. Šīs spējas palīdz komandām vadīt aģentus kā atbildīgus ekonomiskos dalībniekus, nevis kā vienreizējus skriptus. It packages x402 payments, ERC-8004 identity, A2A messaging, and AP2 agent-to-agent settlement into a single TypeScript framework, enabling agents to charge, pay, and communicate with each other out of the box. In a minimal setup, a small Lucid Agent Kit snippet starts an HTTP server for web access, wires x402 payment handling so the agent can get paid, and creates a wallet object for outbound payments. It also generates an A2A-compatible `agent.json` card so other agents can discover it, understand its interface, and call it as part of larger workflows. In practice, it focuses on USDC flows on x402, using the Coinbase Developer Platform as the primary stablecoin rail. Recent objectives include: A framework-agnostic wallet SDK to interact with x402. Pārveidota tipa sistēma, lai uzlabotu uzturēšanu un izvairītos no aprites atkarībām. Spēcīgāka veidošanas sistēma un koda kvalitātes uzlabošana. Foundations for bidirectional A2A communication between agents. Developers can already spin up: Next.js aģents savienots ar ERC-8004 un x402. TanStack Start aģents. A Hono agent. Plāno vairāk integrācijas. A public tutorial shows how to launch a full-stack TanStack agent in a few minutes, with x402 payments and ERC-8004 trust integrated, so the agent is “paid, verified, and production-ready” from the first deploy. Mērķis ir saglabāt uzņēmējdarbības loģiku un sistēmu izvēli elastīgu, bet skaidri aģenti nodrošina konsekventu slāni maksājumiem, identitātei un tīklošanai. Reliability and Router v2: from per-request to balance-based flows One recurring theme around x402 is that pure per-request payment is not always enough for robust systems. Lucid’s design acknowledges that: Iesākuma zvanus un citus pakalpojumus var ietvert daudz lēcienu. Each payment transaction is a potential failure point. Aģentu darba plūsmas var atsaukties uz vairākiem resursiem secīgi vai paralēli. To address this, the team is working on a Router v2 design where agents hold balances for services. Instead of a transaction for every individual request, agents draw down from pre-funded balances. Tas samazina darījumu skaitu un samazina daļēju neveiksmju iespējamību garās zvanu ķēdēs, kas ir svarīga aģentu dizainā. They also describe the complexity of networking in a fully agentic, multi-resource environment: Tīkls starp resursiem. Networking between facilitators and resources. Internal networking within resources. Client-side networking and streaming. Client–server networking and streaming. Each layer can introduce timeouts and sync issues, especially in a decentralized setting. The message is that the x402 ecosystem still needs significant engineering work to be fully robust, and Lucid’s roadmap is shaped around those concrete failure modes. From SEO to AEO: optimizing for agents instead of humans A key conceptual shift in this ecosystem is the move from SEO to what some builders already call AEO. SEO (Search Engine Optimization) tunes content for human-facing search engines. AEO (Agent Engine Optimization) tunes services for autonomous agents, so that machine clients can reliably discover endpoints, parse responses, and decide what to call and what to pay for. In an x402 / ERC-8004 world: Aģentu ķēde maksā APIs reāllaikā, pārvēršot tīmekļa gala punktus par maksājamiem mikroservisiem. SaaS billing based on static subscriptions is starting to look outdated. Providers tune response schemas, latency, pricing, and proof hooks rather than landing page visuals. ERC-8004 aģentu kartes palīdz filtrēt surogātpastu, sniedzot mašīnām strukturētu informāciju par to, kam tās maksā. Facilitators that see many requests and outcomes can evolve into discovery and reputation layers for AEO. A simple rule captures the design: x402 atļauj apkalpošanas maksu. ERC-8004 palīdz pierādīt, ka pakalpojums ir vērts maksāt. Tas ir saskaņots ar ideju, ka meklēšana pāriet no reklāmām balstītas cilvēka saskarnes uz aģentu slāni, kas klasificē un maksā, pamatojoties uz veiktspēju un reputāciju. Privacy, z402, and Starknet Stack arī ir atvērti jautājumi par privātumu. For some use cases, public payments and visible consumption patterns are fine. Citiem, galapunktu izmantošana un cenu noteikšana ir jāpaliek privāta. One of the directions in the DayDreams context is private x402 transactions on Starknet, sometimes referred to as z402: Private micropayments for x402-style endpoints. A path where agents can pay and prove settlement without exposing all details publicly. This is still early work, but it shows that the stack is not limited to fully transparent flows. Where the value in x402 is likely to appear Several themes around value capture appear repeatedly: Consumer products built on curated x402 resources, where users do not see chains, only balances and services. Platforms for creators and builders that want to monetize APIs, content, or agents without ad networks. Curation un atklāšanas slāņi, piemēram, XGATE, kur aģenti un gala punkti satiekas. From the user’s perspective, the expectation is that “on-chain” will become invisible: Apps will either accept stablecoins or expose paid endpoints in an agent-friendly way. Or they will feel like legacy products, tied to subscription forms and card payments. Macro backdrop and current stage Plašāku vidi veido: Lielas kapitāla izmaksas AI infrastruktūrā. Strong government support is needed because AI is now tied to economic competitiveness. Prognozes, ka aģenti varētu iedarbināt ļoti lielus nākotnes ekonomiskās aktivitātes segmentus. Within that context, on-chain rails are among the few ways individuals and small teams can participate without relying on large intermediaries. Standards such as x402 and ERC-8004, and platforms built on top of them, target that space. Right now: , with mainstream players such as Google moving toward agent payments. Stablecoin rails like x402 have reached an inflection point than to fully autonomous economic actors. In practice, most production flows still appear to be human-initiated actions that trigger agent workflows and x402-style payments in the background, rather than fully autonomous agents that spend without explicit user intent. LLM user interfaces are widespread, but most agents remain closer to scripts . The following 24 months will determine which stacks make agent commerce practical in production Conclusion Pāreja no reklāmas finansētām lapām uz apmaksātiem API un aģentu tirdzniecību jau notiek. Standarti, piemēram, AP2, x402, A2A un ERC-8004, nosaka, kā aģenti runā, maksā un pierāda savu darbu. DayDreams.Systems pozicionē sevi kā vienu no vairākām platformām, kas cenšas aizvērt šo plaisu. Tā iesaiņo šos protokolus izstrādātāju vērstā rīku komplektā un izpildlaikā, lai aģenti varētu ne tikai eksistēt, bet arī nopelnīt, maksāt un atklāt kā daļu no lielāka tīkla. Tajā pašā laikā citi projekti strādā pie blakus esošajiem kaudzes gabaliem.Daži koncentrējas uz alternatīviem maksājumu protokoliem API mērīšanai vai straumēšanai.Citi nodrošina vispārējas nozīmes aģentu sistēmas, orķestras dzinējus vai tirgus vietas, kurās rīki un modeļi atklāj apmaksātus gala punktus.Ir arī atklāšanas un reputācijas slāņi, kas indeksē aģentus un pakalpojumus uz ERC-8004 stila reģistriem vai privātām identitātes sistēmām. Once payments are programmable at the protocol level, the internet itself starts to behave differently. Every API call can have a clear, machine-readable price. Every workflow can settle in real time. Agents, services, and even small human teams can participate in the same economic fabric without going through a single platform or marketplace. If the agent economy grows anywhere near current expectations, more platforms will emerge, compete, and converge on standards that let agents treat the internet as a set of fair, billable resources rather than a free-for-all for scrapers. In that world, the critical question is simple: **Can an agent reach your value through a clean API, pay for it over x402, and know, via ERC-8004, who it is dealing with? \ If the answer is yes, you are already aligned with the following central crypto narrative. You are also prepared for the next version of the internet. The version in which, by the end of 2026, you will be paying these AI agents to do the job for you, and they will also be able to make you a fortune if appropriately used.