The not so secret agent is an AI-powered web scraping oracle system that is capable of populating on-chain oracles with data from any source on the internet, even without a well-defined API.
Prize Pool
Prize Pool
Creating oracles
Users can create new oracles by providing a natural-language script describing how to get the information that they’re looking for. They can then subsidize that oracle with bounty funds, encouraging scraping nodes to scrape the data from the web using LLMs.
Preventing inaccurate data
Scraping nodes must stake funds that they risk having slashed if they provide incorrect information. Before they can stake, they must also authenticate via Worldcoin. This means that if they get slashed and banned for incorrect data, they can’t re-stake from a new account — their World ID is permanently blocked. The banning process happens via a voting mechanism among other stakers.
Scraping data using an LLM
The node software launches a virtual web browser using PupI built a browser-to-AI interface which is able to transform a page into an LLM-friendly providing it the ability to interact with elements by clicking and typing. This means that it can take any actions that a human would — even things like noticing that a cookie consent pop-up must be closed before interacting with the page.
Oracle contract
Factory contract
Oracle
instances.The smart contract leverages Worldcoin integration to prevent Sybil attacks and ensure the integrity of the staking system. It provides a flexible and scalable solution for creating and managing multiple oracles within the not-so-secret agent ecosystem.
Scraping node
The scraping node is responsible for executing the data scraping tasks defined by the oracles and updating the oracle's value based on the scraped data.
Key components of the scraping node:
The scraping node leverages AI models to intelligently navigate and extract data from web pages. It follows a conversational approach, where the AI model guides the scraping process based on the current page content.
The scraped data is used to update the oracle's value on the smart contract, making it available for other applications. The scraping node continuously monitors the oracle's state and triggers the scraping task when conditions are met, ensuring the data remains up to date.