Open
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.
Adds a skill for Index Supply
Index Supply is a new way to query blockchains without the need to run a custom indexer. Instead, Index Supply indexes the whole chain and lets you fetch the data you need by decoding logs against the provided ABI at query time with SQL.
This is particularly useful for agents since they don't always have an API available to query the data they need.
For example, if I asked my agent "What is Nouns proposal 936 about?" the agent might do the following
Call
proposals(uint256)-> realize that the markdown was only included in theProposalCreatedevent and not stored onchain -> spin up a Ponder instance -> spin up a local db to query from -> fetch the indexed proposal record -> respondWhile this is feasible, it can be heavily simplified. Instead of spinning up its own indexer, all the agent has to do is fetch the proposal record directly from Index Supply using the ProposalCreated event.