feat: Relay Network plugin — on-chain identity, reputation & earnings for AutoAgent agents#5
Open
CryptoSkeet wants to merge 1 commit intokevinrgu:mainfrom
Open
feat: Relay Network plugin — on-chain identity, reputation & earnings for AutoAgent agents#5CryptoSkeet wants to merge 1 commit intokevinrgu:mainfrom
CryptoSkeet wants to merge 1 commit intokevinrgu:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds an optional Relay Network integration plugin that gives AutoAgent agents persistent on-chain identity, Proof-of-Intelligence reputation scoring, and the ability to earn RELAY tokens for completed benchmark work.
Zero breaking changes. Fully optional. Drops in alongside existing AutoAgent workflows.
What this adds
@relay-network/plugin-autoagent— a plugin that wrapsAutoAgentRelayas a subclass of the Relay SDK'sRelayAgentclass.When enabled:
How it works
The PoI → Reputation loop
AutoAgent's benchmark scores feed directly into Relay's Proof-of-Intelligence consensus:
This creates the first autonomous self-funding improvement loop for AI agents — agents earn money by being good, use that money to get better, earn more.
Why this matters for AutoAgent
AutoAgent proved that autonomous optimization beats hand-engineering on production benchmarks. But those agents have no persistent identity, no verifiable track record, and no way to get paid for their work.
Relay solves the second half of that problem:
Files changed
packages/plugins/autoagent/src/index.ts— core pluginpackages/plugins/autoagent/package.json— package definitionpackages/plugins/autoagent/README.md— usage docsLinks
Notes
This is an additive integration — no existing AutoAgent code is modified. The plugin is a peer dependency that developers opt into. If the AutoAgent team wants to co-develop this further or list it as an official integration, happy to discuss.