מאמר זה מחולק לארבעה חלקים, שכל אחד מהם בונה את הקשר שאתה צריך עבור הבא. חלק 1 מסביר כיצד x402 תואם את זרימי החיוב הקיים של Web2 והעסקים, וכיצד הוא יכול להעביר חברות "בשרשרת" על ידי הפוך את השימוש ב- API למיקרושלומים המבוססים על stablecoin מבלי לשנות את המודל המנטלי שלהם של התוכנה. חלק 2 מראה מדוע האינטרנט הנוכחי של מודעות והרשומות מתפרק לעולם של סוכנים וכיצד x402, יחד עם ERC-8004 וכרטיסים מתוכנתים, יכולים להפוך תוכן שבור ו- API לנאנו-עסקים שסוכנים משלמים עבור שיחה. חלק 3 מנסה לנתח את הבקבוקים הטכניים שמונעים את סחר הסוכנים כיום, ואז מתאר כיצד שכבות גילוי הסוכנים x402, ERC-8004 ו-x402 מתמודדות עם תשלומים לפי שיחה, התנגדות לספאם, מחירים ואינטראקציה. חלק 4 מספק דוגמה קונקרטית ב- DayDreams.Systems והספסל ה-Lucid שלה, המראה כיצד AP2, x402, A2A, ו-ERC-8004 מתאחדים בכלי אמיתי המאפשר למפתחים להפעיל, לפעול ולהרוויח סוכנים אוטונומיים בייצור. כתיבה זו מיועדת לקוראים מנוסים מבחינה טכנית, במיוחד מפתחים, מעצבי פרוטוקול, צוותי מוצר שעובדים עם סוכנים AI, API, או רכבות קריפטוגרפיות, שרוצים תובנה ברורה של איך האזורים האלה מתחברים. הוא מסביר כיצד x402, ERC-8004, שכבות גילוי סוכן להפוך APIs וסוכנים לעסקים מבוססי שימוש קטנים, ומה זה אומר עבור מערכות אמיתיות במהלך 1-3 השנים הבאות. Vocabulary: במאמר זה, אני משתמש במונח "מיקרו-עסק" כדי להתייחס לעסקים קטנים / ננו עבור נקודת קצה יחידה במחיר x402 או סוכן אשר פועל באופן עצמאי ומרוויח הכנסה מתוך תשלומים לכל שיחה ב stablecoins. AP2 (פרוטוקול תשלום סוכנים): AP2 מגדיר כיצד סוכנים משלמים אחד לשני. הוא סטנדרטיזציה כיצד שירות מצטט מחיר, כיצד תשלום מאושר, וכיצד שני הצדדים רשומים מה שנרכש, כך תשלומים מתאימים ישירות לתוך זרימת עבודה אוטומטית סוכנים. A2A (תקשורת סוכן לסוכן): A2A בוחן כיצד סוכנים לתקשר, לשתף את הקשר, ולתאם את העבודה.היא מאפשרת לסוכנים להתקשר זה לזה, להחליף הודעות מובנות ומשימות שרשרת במקום לפעול כתסריטים מבודדים. x402 הוא פרוטוקול תשלום מבוסס HTTP עבור APIs.A שרת מגיב עם 402 תשלום נדרש קוד מצב, המחיר, ודרך תשלום. ERC-8004 (8004) הוא רישום סטנדרטי על שרשרת עבור סוכנים.הוא נותן לכל סוכן זהות ומקום לאחסון נתונים על מוניטין, כך סוכנים אחרים וכלים יכולים להחליט למי לסמוך ועל אילו שירותים להתקשר. הקדמה **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. We are still early in this emerging space, but I suspect everything will evolve much faster than most people expect. אחד הגורמים לכך הוא הדחף לבניית אינטרנט מופעל על ידי סוכנים.אחר הוא הצורך לשפר את הפרטיות בתהליכים שאנו כבר משתמשים בהם. לדוגמה, ויטליק בוטרין כבר הדגיש את הצורך בתשלומים שמשמרים על פרטיות x402. בכל פעם שסוכן משלם נקודה קצה, הוא משקף איזה שירות הוא השתמש, מתי הוא השתמש בו, באיזו תדירות הוא השתמש בו, ולפעמים אפילו את גודל הגודל או סוג העבודה. המתחרים יכולים לראות באיזה APIs האפליקציה או הסוכן שלך מסתמך. עבור משתמשים אנושיים, זהו סיוט של פרטיות. סוכנים יכולים לעשות הרבה עבודה מעשית בשבילך, אבל תשלומים שמירה על פרטיות הם אחד הבעיות הראשונות לפתור. צוות פיתוח שאני משתמש כדוגמה בונה כרגע עסקאות x402 פרטיות על סט סטארקנט, הידוע גם בשם z402. כאשר שכבה זו נמצאת במקום, היא פותחת את הדלת למאות מקרים של שימוש. אני אסביר תחילה איפה האינטרנט היום ולמה סוכנים לשבור את המודל הישן של פרסום והרשמה. אני גם אציג את המונחים הבסיסיים שאתה צריך להבין כדי להפיק את המרב מהקריאה הזאת. לאחר מכן, אראה כיצד סטנדרטים כגון x402 ו-ERC-8004 נותנים לסוכנים דרך לשלם ולהוכיח ערך. לבסוף, אסתכל על צוות פיתוח דוגמה, DayDreams.Systems המבוסס על סטנדרטים אלה. המטרה אינה לקדם צוות מסוים, אלא להראות מדוע סוג זה של צינור עשוי להיות חשוב אם הכלכלה של הסוכנים הופכת למציאות. חלק 1 - להביא חברות על שרשרת עם 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. אם נקודת קצה יכולה לחשוף "השיחה הזו עולה 0.2 סנט ב-USDC" מעל HTTP 402, צוותי הפיננסים יכולים להתאים את הזרימה באותו אופן שהם מתמודדים עם הענן או עלויות SaaS. במילים אחרות, x402 לא מבקש מהחברות לשנות את הדרך בה הן חושבות על תוכנה. זו גם הסיבה שאני חושב שזה חיוני להיות ברור על מה x402 הוא לא.זה לא מכירת טוקינים, וזה לא נכס ספקטולטיבי.זה פרוטוקול תשלום. 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.” מנקודת המבט שלי, ועל ידי איך בונים בחלל blockchain לדבר על זה, x402 הוא דרך לאפשר תשלומים מיקרו באינטרנט במהירות ולתת לחברות מסורתיות להפוך משמעותית על שרשרת מבלי להזכיר את עצמם כ"פרויקטים קריפטוגרפיים". ברגע שאתה מסתכל על המספרים של בסיס המשתמשים, הפוטנציאל הופך ברור יותר. כיום, ישנם כ-40-50 מיליון משתמשים פעילים בשבוע.לשוואה, כ-900 מיליון אנשים כבר משתמשים באפליקציות מסוג ChatGPT. עכשיו דמיינו ממשק גדול, כגון ChatGPT או סוכן דומה front-end, אשר מסתמך יותר ויותר על API חיצוניים, אשר עצמם לחשוף מחירים ב 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. אם התקנה כזו הופכת נפוצה, אתה כבר לא מדבר על אלפי עסקאות ליום. You are looking at billions of microscopic events, each representing a paid unit of compute or data. Traditional card networks and ad-funded models are not designed for this pattern. They expect fewer, larger payments, not billions of sub-cent charges between machines. מערכות כרטיסיות גם מניחות אדם בסוף הזרם וחוויה בסגנון חיוב. תשלומים סוכנים נראים שונים. הם מתרחשים ברקע, לעתים קרובות בפיצוצים של שיחות קטנות רבות, עם מחירים אשר תלויים בהקשר, נפח, או כללים קבועים. זה סוג של עומס עבודה שבו רכבות stablecoin ו פרוטוקול HTTP-native, כגון x402, מתאימים יותר מאשר דמי כרטיס ומחזורי חיוב חודשיים. מערכות כרטיסיות גם לא לחשוף דרך פשוטה, קריאה מכונה עבור שירות אחד להזכיר מחיר לכל שיחה ושירות אחר לשלם אותו אוטומטית. x402 נועד למלא בדיוק את הפער הזה בין מסלולי תשלום עתיקים ומודרניים. הוא שומר על המודל הידוע של בקשה ותגובה HTTP, מקשר מחיר stablecoin לכל שיחה, ומסדיר את המחיר על שרשרת כשלמה קטנה, תשלום מבוסס שימוש. בדרגה שבה תנועה סוכן חי, סוג זה של פרוטוקול תשלום יכול להתמודד עם הגרינרליות כי תשתית תשלום קיימת נאבקת עם. תשלומים סוכנים נוטים להיות נפח גבוה, מהירות גבוהה, וערך נמוך, לעתים קרובות תנאים וניתן לערבב ברחבי שירותים רבים, אשר מתאים רכבות stablecoin הרבה יותר טוב מאשר רשתות כרטיסים. ברגע שאתה לוקח את הטווח הזה ואת הכיוון הזה של נסיעות ברצינות, שאלה נוספת מופיעה. מה אם המשתמשים הגדולים להתעלם x402 ולשמור הכל בתוך מערכות החיוב שלהם? נקודת המפנה היא כי x402 לא צריך רשות מכל פלטפורמה יחידה. הוא נוהג על HTTP פשוט, כך כל סוכן, SDK, או "דפדפן סוכן" יכול להתקשר x402 נקודת המפנה ולשלם אותו. אם x402 נקודות המפנה הופכים למקור טוב של נתונים שימושיים או מחשוב, זה זול יותר עבור חברות גדולות לדבר איתם מאשר לבנות מחדש כל משאב שימושי בתוך הבית. 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. מנקודת מבט זו, כאשר אנשים מדברים על "להביא את החברות על שרשרת", המוקד אינו על טוקניזציה של חשבוניות או לשים מניות על חשבונית.זה עובר למשהו יותר עכשווי ועוצמתי: להעביר את שכבת החיוב עבור APIs AI יומיומיים ו SaaS נקודות קצה על x402, כך האינטרנט יכול לתמוך מיליארדי תשלומים sub-cent ליום מבלי להתמוטט תחת המודל העסקי שלו. Part 2- Introduction: Beyond Ads and Subscriptions: Agent Commerce on x402 and ERC-8004 תארו לעצמכם שאתם מפעילים אתר אינטרנט בעל ערך אמיתי. בלוג מחקר. מזון נתונים נישה. ספר שאתם מספקים בחינם. מדריך טופס ארוך לקח לכם לילות וסופי שבוע לכתוב. היום, הדרך שבה אתה "מרוויח כסף" שעובד היא פשוטה, ולהגיד את זה בכנות, אכזרית. אתה מכניס את התסריטים למודעות ומקווה שכדור העיניים האנושי יופיע. בינתיים, רובוטים וסוכני AI לגלוש את הדפים שלך ברמה של קוד, לחתוך את התוכן הארוך, להזין אותו לתוך צינורות שלהם, ולא לשלם לך סנט. אבל הצרכן האמיתי הוא סוכן חסר ראש שלא אכפת לו מהבאנרים או הפופ-אפ. TL;DR You carry the hosting cost. אתה לוקח על עצמך את העלות של רוחב הקלטה. הסוכן עוזב עם הערך. רוב התנועה באינטרנט מגיעה מלקוחות אוטומטיים, לא מאנשים בדפדפנים, ולכן הגיוני כי מכונות, לא אנשים, הופכים לתשלום העיקרי ברמת הפרוטוקול. Now imagine a different setup. התוכן שלך יושב מאחורי קיר תשלום קטן שמבין x402.כאשר אדם או סוכן AI רוצה את הנתונים שלך, הם לא רואים מודעות.הם רואים תגובה 402 "שלם נדרש" עם מונחים ברורים, קריא על ידי מכונה.הלקוח או הסוכן שלהם מתקשר אליך עם ארנק שכבר מחזיק איזון stablecoin קטן, ואת המשתמש מורשה להוציא בשמם. The agent pays a fraction of a cent from that balance, and then gets the data. משתמש אנושי עדיין מקיף את האיזון הזה מעת לעת, באמצעות כרטיס, העברה בנקאית, או שיחה רגילה, אבל כל שיחה מתבצעת באופן אוטומטי על ידי התוכנה, לא על ידי לחיצה על כפתור "שלם" על כל בקשה. הסוכן עושה את התשלומים המיקרו, אבל האדם עדיין מגדיר את המדיניות ואת מקור המימון. Results: אין חשבונות לא OAuth No Email Capture פונלים אתה לא נלחם במלחמה אינסופית נגד סקררים. אתה מפעיל את הסוכן שלך שמשמר את הנתונים, משא ומתן גישה, ומוכר אותו בשמך.עם ERC-8004, לסוכן הזה יש זהות מאומתת וסיפור מוניטין בשרשרת, כך שסוכנים אחרים יודעים עם מי הם מדברים ואם הם יכולים לסמוך על הזרם שהוא משרת. אתר האינטרנט שלך "הקורבן של סחיטה" הופך לעסק ננו בכלכלה של סוכנים. יש גם "צד אור של הירח" אליו. : Agents can התנהגו כמתאימים בין התוכן שלכם לבין הקוראים הנכונים, בדיוק כמו שאתם עושים כשאתם חולקים את העבודה שלכם ברשתות החברתיות. לספק נקודות כניסה מותאמות אישית ומעקב אוטומטי לאנשים שאוהבים את העבודה שלך, ולעזור להפיץ אותה אל הפינות הנכונות של האינטרנט מעקב אחר הבריאות של התוכן שלך על ידי מעקב אחר אילו חלקים של המאמר שלך להפעיל החזרים, קפיצות מהירות, או לעולם לא להוביל לפעולות מעקב Act as quality filters and bring you only the material that matches your preferences Handle access control by managing who gets which tier of content, which parts are free, and which are pay-per-read Check sponsorship offers against your ethical guidelines and pricing, and place small, relevant sponsorships in your content feed on your terms Provide cross-format delivery by generating a short audio version, a bullet-point version, or a “for founders” version of the duplicate content, and offer them as micro-upgrades תן לסוכן הקורא לבחור את התבנית שהאדם מעדיף And, in the long run, pay for their own existence by earning more from their work than they spend on data, compute, and tools שליטה על כסף ללא רשות ולהשתמש בתשלומים כדי להשפיע על בני אדם, סוכנים אחרים ומערכות תוכנה עכשיו, תחשבו על האופן שבו אנו משתמשים בחיפוש היום.כל שאלת Google צורכת CPU, זיכרון, רוחב פס רשת ואנרגיה. זה עולה משאבים אמיתיים בכל פעם שאתה כותב מילה ולחץ על Enter. אתה אף פעם לא רואה את החשבון, כי Google החליטה מזמן שאתה לא הלקוח. המפרסמים הוא. כדי לעשות את זה עבודה, Google מוכר גישה לאינדקס שלה. קישורים ספונסרים לקנות את דרכם למעלה. התוצאה הראשונה היא לעתים קרובות לא התשובה הטובה ביותר בשבילך. עכשיו פרויקט זה קדימה לאינטרנט סוכן. במקום מנוע חיפוש ענק אחד שמסתיר את העלויות מאחורי מודעות, יש לך סוכן חיפוש שעובד רק בשבילך. אתה משלם אותו ישירות בקריפטו באמצעות x402 עבור הזמן והנתונים שהוא מבלה על השאילתה שלך. זה פנטז את בקשתך לספקי נתונים רבים, כל אחד עם x402 paywall שלהם, ומחליט את התערובת הטובה ביותר של מחיר ואיכות. התוצאות שהוא חוזר אינם נתמכים. **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 ומכירות מודעות, אתה מקבל שוק שבו סוכנים מדורגים אחד את השני בהתבסס על עבודה מאומתת ותשלומים אמיתיים. ברגע שיש לך x402 עבור תשלומים ו- ERC-8004 עבור זהות ומוניטין, רבים מהחלקים השבורים של האינטרנט של היום מתחילים להיראות ניתן לתקן. #1 API billing becomes less painful. נכון לעכשיו, אם אתה מפעיל API, אתה מגדיר מנויים, גבולות שיעור, או חוזה מותאם אישית. אתה מציע יותר מדי ללקוחות גדולים ומספק פחות את הצוואר הארוך. עם x402, כל נקודת קצה API יכולה לפרסם מחיר לכל שיחה, עד חלקי סנט, ולקבל stablecoins דרך HTTP 402 ללא חשבונות או חיוב ידני. #2 Spam becomes more expensive. ב- Web2, רובוטים יכולים לשבור את נקודות הקצה שלך בחינם עד שאתה מוותר ולשים הכל מאחורי מפתחות API, CAPTCHAs, או gating קשיח. בעולם x402, כל בקשה עולה משהו, גם אם היא קטנה. #3 Agent discovery becomes less biased. אם מנועי גילוי יושבים על גבי x402 ו-ERC-8004, הם יכולים לערוך דירוג שירותים לא רק לפי מי צועק הכי חזק, אלא לפי מי סוכנים אחרים בעלי מוניטין גבוה באמת משלמים ומשתמשים בהם. #4 Multi-agent workflows become less fragile. פרוטוקולים כגון A2A או MCP מגדירים כיצד סוכנים מתקשרים אחד עם השני. ERC-8004 מחזיק מי הם ומדוע אתה יכול לסמוך עליהם. x402 נותן להם דרך להתיישב אחרי כל שיחה. לדבר. להוכיח. לשלם. וכל זה קורה מבלי לזרוק את האינטרנט - HTTP stays. APIs stay. בסופו של דבר גילינו את קוד המצב שנשמר במשך שלוש עשורים והחברנו אותו למגזין גלובלי. אנו נותנים לסוכנים דרכון וקווים אשראי ואנחנו אומרים להם: "אם אתה רוצה להשתמש הערך של האינטרנט, אתה משלם את האנשים שיוצרים אותו." "אם אתה רוצה להשתמש הערך של האינטרנט, אתה משלם את האנשים שיוצרים אותו." That is the gap that x402 and ERC-8004 try to close. They do not promise magic. They take two simple ideas that the speakers in the ממשיכים לחזור ל: אמון צריך להיות נבדק כמו עסקה. DayDreams X Space Payment should be as native as a GET request הסוכן שלי יכול לשמור על התוכן שלי מאחורי x402, לדבר ERC-8004 כך הסוכנים האחרים יודעים עם מי הם מתמודדים, ולהמליץ על העבודה שלי לקוראים סביר להעריך את זה. סוכנים אחרים יכולים לעבוד בשם הקוראים, לסרוק נקודות קצה בתשלום, ולהחליט כי המאמר שלי שווה חלק מהסנט. For twenty years, the web asked one central question: “ ” Does this look good to a human on a screen? האם זה נראה טוב לאדם על המסך? היינו אובססיביים עם תבניות, CSS, עותק ו- SEO, כך שדף היעד נראה טוב ודרג טוב. בעידן הסוכן, השאלה משתנה, והשאלה משנה את הזווית ל: “ ” Can an agent reach your value through a clean API, pay for it over x402, and know from ERC-8004 who it is dealing with? “ ” האם סוכן יכול להשיג את הערך שלך באמצעות API נקי, לשלם על זה מעל x402, ולדעת מ- ERC-8004 עם מי הוא מתמודד? אתרים ושירותים שמגיבים כן לשאלה זו עדיין דואגים ל- UX ו- SEO, אבל הם לא מסתמכים על דפי נחיתה פנטסטיים כדי לשרוד. פרק 3 - הטכנולוגיה שתשנה את האינטרנט סוכן מסחר, x402 ו-ERC-8004: מהאינטרנט המומלץ על-ידי פרסום ל-APIs בתשלום Where we are now: ads, subscriptions, and hard-coded APIs איפה אנחנו עכשיו: מודעות, מנויים ו-Hard-Coded APIs בואו נסתכל מקרוב על המצב הנוכחי של החוויה המקוונת. רוב המוצרים המקוונים עדיין מסתמכים על שני מודלים עסקיים בסיסיים.הפרסומות משלמות עבור תוכן "חינמי", והמנויים משלמים גישה לתוכניות חודשיות או שנתיות. זה עובד רע עבור האינטרנט המנוהל על ידי AI של היום. AI agents can ignore ads. Subscriptions are too coarse when you only need a few calls or a small amount of data. APIs מספקים ערך אמיתי, אבל אין דרך סטנדרטית לחייב לכל שיחה בקנה מידה אינטרנט. On the technical side, most AI systems still look like this: אפליקציה או סוכן משתמשים בסדרה של API עם מפתחות API המנוהלות באופן ידני. זרימת העבודה קובעת קשה על ידי בני אדם. תשלומים מעובדים באמצעות מערכות חיוב Web2 נפרדות, כגון לוח התקנים Stripe, חשבונות מותאמים אישית, או אשראי מראש. Access often lives in walled gardens rather than on open, shared rails. למערכת זו יש כמה מגבלות ברורות: Agents cannot easily discover new services on their own. אין זרימת תשלום סטנדרטית לשיחות מכונה למכונה. Each integration is custom, slow to build, and hard to replace. התעללות וחיתוך נפוצים כי אין עלות כלכלית מובנית לכל שיחה. במקביל, הביקוש ל-AI ו-API מתפוצץ. ישנם כ 10 מיליון משתמשי קריפטו בשבוע. מאות מיליוני משתמשים אינטראקציה עם אפליקציות מסוג ChatGPT. **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? What needs to change for agent commerce to work? AI עובר מהתשובות לשאלות לביצוע פעולות. Agents do not just chat. הם : התקשר ל-API כדי לקבל נתונים וקשר. ניהול וניהול משאבי ענן. Trigger workflows across services. Compose multiple tools to solve a task end-to-end. כדי לתמוך בזה, אנחנו צריכים את שלושת הדברים הבאים: 1. A standard payment primitive for APIs and agents, such as x402. שכבה של גילוי וזיהוי כדי שסוכנים יוכלו למצוא ולדרג את השירותים, אשר במערכת האקולוגית של Ethereum מפות לרשומות הסוכנים של ERC-8004. 3. A business layer so individuals and teams can turn endpoints into small, efficient businesses. היום, החלק החסר הוא לעתים קרובות תשלום וגילוי. Agents do not have a native way to pay per call. ספקים אינם יכולים לחשוף שירותים קטנים בגודל ננו בצורה פתוחה ופשוטה. מפתחים לא יודעים איפה לרשום נקודות קצה או איך להגיע למשתמשים מעבר לאפליקציה שלהם. זה חוסם שוק פתוח יותר, שבו: API מזג אוויר יכול לחייב חלקיק של סנט לכל שיחה. A niche dataset can charge per query instead of per month. A small tool can be a nano-business you set up in 30 minutes and leave running. 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 מחסומים נוכחיים: גנים קרובים, ספאם, נתונים שגויים The web stack of today suffers from being built on the code infrastructure of yesteryear. #1. Walled gardens and private workflows Workflows are private and hard-coded. API keys are stored and managed by humans. סוכנים אינם יכולים לחקור את השירותים החדשים באופן חופשי בגלל חוזה לא גלוי, לוח התקנים מותאם אישית, או גישה לכל מפתחות המוכר. Result: Innovation is locked within platforms rather than occurring on neutral rails. #2. No standard way for agents to pay עובדים צריכים לשלם על: Data. Compute. מודלים ופירוט כלים ושירותים מיוחדים. However, there is currently no common payment layer for agents. המשתמשים מתמודדים עם חשבונות Off-Chain. Calls might be free until rate limits hit, then “contact sales.” 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 אתרי ערך ומערכות נתונים מוחזקים בחינם. 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. שאלת נתונים מיוחדת. One high-value article read by an agent. The result is either under-monetization or overly heavy paywalls. #4. Spam and free riding רובוטים ותנועה מעורבת לעתים קרובות תוקפים API. Without a built-in cost per call, spam is cheap. Providers add complex rate limits, CAPTCHAs, and manual approvals. זה פוגע במפתחים כנים וגורם ל-API לקשה יותר לשימוש. #5. Distribution and discoverability היצרנים לא יודעים: Where to list x402-style endpoints. How agents will find them. How to rank providers when many offer similar services. The coming evolution phase is comparable to the early web. מנועי החיפוש הפכו לשער לאתרי אינטרנט. Here, agent discovery engines and agent stores will serve as the gateway. 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 תן לי להציג עכשיו ברור " ” structure around x402 that will need to be developed. cause → solution → fix cause → solution → 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. After payment, the server returns the result. יש לו כמה נכסים חשובים. It fits directly into existing HTTP flows. Web2 developers already understand status codes and retries. מפתחים צריכים רק מתאם ארנק ומעבד תשלום, לא ערכת Web3 מלאה. עבורם, זה מרגיש קרוב יותר להוסיף Stripe מאשר לבנות dApp. 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 Payment is not enough. Agents also need to decide who to call. 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. מנועי תזמורת יכולים לבחור בין ספקים בהתבסס על אותות אמון, לא רק מחיר. זה מאפשר: 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. גילוי פתוח, שבו חנויות חיפוש וסוכנים יכולות לאנדקס משאבים על תשתית נייטרלית במקום קטלוגים סגורים. Together, x402 and ERC-8004 create: 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. בואו נוריד את העסק. DayDreams.Systems: turning the stack into real tools and businesses DayDreams.Systems: turning the stack into real tools and businesses לדוגמה של כלים המבוססים על סט x402 ו-ERC-8004, בואו נסתכל על פרויקט DayDreams.Systems. 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. היצרנים יכולים לרשום נקודות קצה. Agents can find and compose them. Orchestration logic can stitch together multiple micro endpoints that each do one thing well. Example flow: An agent receives a task. 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. זה הופך את "קוד הדבק" שכבה כללית במקום שיש לוגיקה מותאמת אישית בכל אפליקציה. 2. Lucid: operations and micro-business management Lucid is DayDreams’s platform for individuals who run many micro businesses. Users can bring agents they built elsewhere or by using the Lucid agent kit. They can manage all their x402 endpoints from a single location and sandbox. They can track P&L, fund agents, and inspect analytics. In practice, Lucid provides: An operations dashboard for agent commerce. A way to manage multiple nano businesses from a single interface. כלים כדי להבין אילו נקודות קצה להרוויח, מי מפסיד כסף, ואיפה לאופטימיזציה. 3. Agent framework and software development kits (SDKs) DayDreams also focuses on the developer experience. הסטייק כולל: מסגרת של סוכנים עם הקשר, הזיכרון ושיתוף פעולה רב-סוכנים. Libraries to integrate x402 payments into services. Infrastructure to help agents call APIs, pay for them, and combine the results. יחד, זה הופך את הרעיון האפקט של "סוכן לסוכן מסחר על x402" לקוד כי מפתחים אמיתיים יכולים לשלוח. 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. Improve discovery of tools and data. Allow small providers to compete with large platforms. The specific angle in this article is the combination of x402, open discovery layers, and nano businesses built around single paid endpoints. 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 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 From status quo to agent commerce in three steps This, and the final section of this article, explain how the components in this article form an end-to-end flow. הוא מתאר תחילה את הבעיות הנוכחיות, לאחר מכן מתאר את העיצוב ברמה של הפרוטוקול, ובסופו של דבר מראה כיצד זה עובד בהפעלות מעשיות. הסדרה הבאה מראה כיצד הרכיבים האלה עובדים יחד סוף סוף. Cause (status quo) → Solution (x402 + 8004 + discovery) → Fix in practice (agents and endpoints + Lucid/XGATE-style platforms) Cause האינטרנט פועל על APIs, אבל מודלים עסקיים תקועים על מודעות ומנויים. סוכני AI מתנהגים יותר כמו משתמשים, אבל חסרים להם כלים סטנדרטיים לתשלום ולגילוי. זרימת העבודה היא פרטית, הגישה מוגבלת, וספאם זול. Solution Use x402 to define a standard per-call payment flow for HTTP. Add an identity-and-reputation layer to help agents find and rank services. 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 מפתח מקיף שרת ומציג משאב שימושי כנקודת קצה x402. 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. פלטפורמות ברורות וכאלה מסייעות למפעילים לנהל, לממן ולאופטימיזציה של עסקי ננו אלה. 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: Machine-readable prices. 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: אני מחזיק בעמדות על פרויקטים שעובדים על מערכות אקולוגיות x402/8004 מאמר זה מיועד למטרות חינוכיות ואינו ייעוץ השקעה. 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 fits into this picture as a practical implementation layer for these standards. The team has been building toward an agentic economy over the last 12 months and has aligned its stack with x402 since Coinbase introduced the standard in May 2025. בפועל, משמעות הדבר היא שנקודות הסוף האגנטיות של DayDreams הן כלים מבוססיים שאותם הסוכן שלך יכול להתקשר כדי להכין אסטרטגיות DeFi וזרמים עבודה בתשלום אחרים על x402 ו- ERC-8004. הסטנדרטים האלה חזקים, אבל לא מעודכנים. They address “how to pay,” “how to speak,” and “how to identify agents,” but on their own do not provide developers with a clear way to deploy, monitor, and scale agent workloads. DayDreams Lucid sits atop this stack as an abstraction layer. It aims to provide a place where agents can act as economic actors: they communicate A2A, pay and get paid via x402/AP2, and carry an ERC-8004 identity from the moment they come online. Personal autonomy is now open to anyone shipping paid agentic endpoints. Reputation and volume will gravitate toward useful endpoints, putting early movers ahead when traffic spikes. Built with Lucid -> Distribute through XGATE -> Get paid on x402. כיצד DayDreams מבנה את התערובת DayDreams.Systems currently present four core components. 1. DAYDREAMS Library – Open-source agent framework DAYDREAMS Library – Open-source agent framework Build autonomous AI agents. Use a modular architecture. Reach multiple chains through x402 as a common payment layer. פיתוח פתוח, עם GitHub ומסמכים זמינים. 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. Use a unified payment abstraction on top of x402. מסלול דרך שרשויות רבות. 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. הגדרת זרימת עבודה מותאמת. מעקב אחר התנהגות בזמן אמת. Aim for maximum autonomy rather than manual supervision. ברור הוא גם כאשר AP2, A2A, x402, ו- ERC-8004 מחוברים יחד לתוך משטח פועל אחד. 4. XGATE – agent-native search engine XGATE – agent-native search engine Index x402 endpoints by agents, for agents. Expose a live view of the x402 network. Provide direct links to deployment targets. רכיב זה הוא הצד של גילוי של העדר, עם דגש על "אופטימיזציה של מנוע סוכן" ולא 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 serves as both a runtime and a control plane for agent commerce. סטנדרטים כגון x402, ERC-8004 ו-A2A מגדירים חוזה משותף עבור תשלומים, זהות והודעות, כך שסוכנים המבוססים על גזעים שונים יכולים לשתף פעולה במקום לחיות בגינים מבודדים. Lucid’s goal is to make that interoperability practical by providing builders with a concrete runtime and toolkit that enable many independent agents to participate in the same agentic economy. 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. סוכני משחקים שמשחקים במשחקי שרשרת, מגרד, חווה או מתכננים אסטרטגיות בשם משתמש. 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. סוכנים יצירתיים שמוציאים מוסיקה, אמנות או קטעי וידאו כמוצרים דיגיטליים קטנים. 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 תחת השם Lucid Agents, DayDreams מציעה חבילת כלים שנועדה להיות "להביא את המסגרת שלך" תוך שמירה על מסחר מוכן. בסרטון הנוכחי, Lucid Agents כולל מעקב אחר תשלומים דו-כיווניים, אחזקות אחסון מתמשכות (SQLite, in-memory, ו- Postgres), מדיניות קפדנית עבור תשלומים נכנסים ויוצאים, מודול אנליטיקה לדווח פיננסי, ותזמן עבור שכירות של סוכנים בתשלום אוטומטית. יכולות אלה עוזרות לקבוצות לנהל את הסוכנים כמשתתפים כלכליים אחראים במקום כתסריטים חד פעמיים. 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. מערכת מסוג מחדש כדי לשפר את תחזוקה ולמנוע תלות מעגלית. מערכת בנייה חזקה יותר ושיפור איכות הקוד. Foundations for bidirectional A2A communication between agents. Developers can already spin up: סוכן Next.js מחובר ל-ERC-8004 ו-x402. A TanStack Start agent. A Hono agent. More integrations are planned. 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. The aim is to keep business logic and framework choice flexible, while Lucid Agents provides a consistent layer for payments, identity, and networking. אמין ו- Router v2: מן זרימות לפי בקשה אל זרימות מבוססות איזון One recurring theme around x402 is that pure per-request payment is not always enough for robust systems. Lucid’s design acknowledges that: Inference calls and other services can involve many hops. Each payment transaction is a potential failure point. Agent workflows can invoke multiple resources sequentially or in parallel. 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. זה מפחית את מספר העסקאות ומוריד את הסיכוי לכישלון חלקי בשרשרת ארוכה של שיחות, אשר חשוב בעיצוב סוכנים.אוטונומיה אמיתית של סוכנים תלויה ברצועות תשלום ללא רשות, כי סוכנים חייבים להיות מסוגלים לשמור על רווחים, להקצות תקציבים, ולסדר עם סוכנים אחרים או שירותים ללא אדם צריך ללחוץ על כל עסקה. They also describe the complexity of networking in a fully agentic, multi-resource environment: Networking between resources. Networking between facilitators and resources. רשתות פנימיות בתוך משאבים. Client-side networking and streaming. Client–server networking and streaming. כל שכבה יכולה להציג בעיות תזמון וסנכרון, במיוחד בהגדרת מרכזית. 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. מ-SEO ל-AEO: אופטימיזציה עבור סוכנים במקום אנשים A key conceptual shift in this ecosystem is the move from SEO to what some builders already call AEO. SEO (Search Engine Optimization) מתאים לתוכן עבור מנועי החיפוש המנוגדים לאדם. 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. בעולם x402 / ERC-8004: Agents chain paid APIs in real time, turning web endpoints into billable microservices. חיוב SaaS המבוסס על מנויים סטטיים מתחיל להיראות מיושן. Providers tune response schemas, latency, pricing, and proof hooks rather than landing page visuals. ERC-8004 agent cards help filter spam by giving machines structured information about who they are paying. Facilitators that see many requests and outcomes can evolve into discovery and reputation layers for AEO. A simple rule captures the design: x402 lets a service charge. ERC-8004 helps prove that the service is worth paying for. זה תואם את הרעיון כי החיפוש יעבור ממשק אנושי מבוסס פרסום לשכבה של סוכן שמדרג ומשלם בהתבסס על ביצועים ומוניטין. Privacy, z402, and Starknet יש גם שאלות פתוחות סביב פרטיות. במקרים מסוימים של שימוש, תשלומים ציבוריים ודפוסי צריכה גלויים הם בסדר. עבור אחרים, השימוש בנקודות הקצה והמחירים צריכים להישאר פרטיים. 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. דרך שבה סוכנים יכולים לשלם ולהוכיח הסכם מבלי לחשוף את כל הפרטים בפומבי. זה עדיין עבודה מוקדמת, אבל זה מראה כי העצבת אינה מוגבלת זרימות נקיות לחלוטין. Where the value in x402 is likely to appear Several themes around value capture appear repeatedly: מוצרים צרכניים המבוססים על משאבים x402, שבהם המשתמשים אינם רואים שרשרת, אלא רק משאבים ושירותים. פלטפורמות עבור יוצרים ויוצרים שרוצים להרוויח APIs, תוכן, או סוכנים ללא רשתות מודעות. Curation and discovery layers, such as XGATE, where agents and endpoints meet. מנקודת המבט של המשתמש, הציפיות הן ש"על שרשרת" תהיה בלתי נראית: יישומים יקבלו Stablecoins או לחשוף נקודות קצה בתשלום בצורה ידידותית לסוכן. Or they will feel like legacy products, tied to subscription forms and card payments. Macro backdrop and current stage The broader environment is shaped by: Large capital expenditure in AI infrastructure. Strong government support is needed because AI is now tied to economic competitiveness. תחזיות כי סוכנים יכולים להפעיל חלקים גדולים מאוד של פעילות כלכלית עתידית. 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. בדיוק עכשיו : רכבות Stablecoin כמו x402 הגיעו לנקודה של התנגדות, עם שחקנים מרכזיים כגון Google לעבר תשלומים סוכנים. ממשקי המשתמש של LLM נפוצים, אבל רוב הסוכנים נשארים קרובים יותר לסריפטים מאשר לשחקנים כלכליים אוטונומיים לחלוטין. 24 החודשים הבאים יקבעו אילו חבילות הופכות את סחר הסוכנים ליעיל בייצור. מסקנה The move from ad-funded pages to paid APIs and agent commerce is already underway. Standards such as AP2, x402, A2A, and ERC-8004 define how agents speak, pay, and prove their work. DayDreams.Systems positions itself as one of several platforms that try to close that gap. It wraps these protocols into a developer-facing toolkit and runtime so agents can not only exist, but also earn, pay, and be discovered as part of a larger network. At the same time, other projects work on adjacent pieces of the stack. Some focus on alternative payment protocols for API metering or streaming. Others provide general-purpose agent frameworks, orchestration engines, or marketplaces where tools and models expose paid endpoints. There are also discovery and reputation layers that index agents and services atop ERC-8004-style registries or proprietary identity systems. 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.