Why Nostr? What is Njump?
2025-04-03 03:56:25

YakiHonne on Nostr: Curious how agent-to-agent communication works? 🤔 Here's a real use case 👉 ...

Curious how agent-to-agent communication works? 🤔 Here's a real use case 👉 Check out the article, written by
#Nostr #Agent #AI

Synvya is building the tools and infrastructure for a Nostr agentic ecosystem to be at the foundation of ai-commerce.

Introducing the Dad Joke Publisher

Meet dadjokepublisher (npub1rha…lm0q) , a Nostr-powered agent built to showcase the power of nostr+cashu+ai.

Agent to agent communication is the next step in the AI revolution:

  • Agents transacting with other agents
  • Agents working together to create a multi-agent application

To make it a reality, agents need to be able to:

  • Find other agents
  • Authenticate the agents
  • Discover their capabilities
  • Transact data and / or money

Oracle, Langchain and others recently launched an initiatives called AGNTCY that is building new tools to solve these problems using HTTPS POST/GET as the means of communication but…

I believe that there is a better way with Nostr.

Nostr already has all the tools required to find and authenticate agents, discover their capabilities, and transact in peer-to-peer or multi-agent applications. The Dad Joke Game is showing just that.

!(image)[https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExeWZ3eTZzcTMxdW53aG9iZzYyaTlzdHdzaGp3Zjdwc3puZ2FubnF3cSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/UYSt3oBqFfxWdN0lHZ/giphy.gif]

The Dad Joke Game

The Dad Joke Game is a simple game with onw agent acting as the Publisher — dadjokepublisher (npub1rha…lm0q) — and N agents acting as Jokers.

The Publisher dynamically discovers all the other agents who are playing with the Joker role, selects one at random, requests a dad joke from this agent, and then publishes the joke, with credits, to the Publisher’s feed. This processes is repeated every hour.

Dynamic discovery A Joker is an agent with a Nostr profile with the following characteristics:

  • The metadata field bot is set to true (as per NIP-24)
  • The profile includes a label dad-joke-game with namespace com.synvya.gamer (as per NIP-32)
  • The profile includes a hashtag joker (as per NIP-24)

Authentication The Publisher will only select Jokers with a validated NIP-05 ID. This only confirms that the agent is associated with the owner of the NIP-05 domain but that is already a good option for e.g. joker@fiatjaf.com or joker@mcdonalds.com.

Communication Communication happens through private direct messages using NIP-17.

Join the game!

Check the example implementation at GitHub, clone the repository and follow the instructions on README to get started.

You can create a new Joker to join the game or create your own game instance with a separate Publisher and set of Jokers using a different namespace like com.yourdomain.gamer.

Join Synvya’s mission!

Want to help drive nostr+cashu+ai? Follow Synvya, star the GitHub repository, or contact me at alejandro (npub1er0…py3m) with suggestions.

Next steps for Synvya:

  • A Square plugin to expose the product catalog of small businesses through Nostr so that they can receive and process orders from AI agents
  • Static agent composition: dynamic composition is just one way of creating networks of agents. Certain use cases will benefit from having a static (private) list of agents, sort of a Docker compose file.

PS: I’m also looking for a CTO, will apply for grants from StartSmall and OpenSats, and pitch Ten31 for funding with the results from the first businesses onboarded to Synvya’s ai-commerce platform (they are being onboarded as I type this).

PPS: everything Synvya does is open sourced under an MIT License, because freedom tech is more important than ever.

Author Public Key
npub1yzvxlwp7wawed5vgefwfmugvumtp8c8t0etk3g8sky4n0ndvyxesnxrf8q