AURA (Agent-Usable Resource Assertion) introduces a new standard for AI agents to interact with websites efficiently and securely. By using a simple aura.json manifest, it allows websites to declare their capabilities, transforming fragile methods like screen scraping into a robust API, making the web machine-readable for AI.
AURA (Agent-Usable Resource Assertion) is an innovative open protocol designed to make the web comprehensible and operable by AI agents. It establishes a new standard for AI interactions with websites, moving away from unreliable screen scraping and DOM manipulation towards a secure, efficient, and robust machine-readable framework.
Current AI agents typically engage with websites in a manner that is inconsistent and cumbersome:
AURA addresses these challenges by enabling websites to declare their capabilities through a standardized aura.json manifest file. This declarative approach allows websites to specify their functionalities clearly.
For instance, instead of having an agent guess how to perform an action like creating a post, the website can explicitly communicate this:
"I have a capability named
create_post. It requires anHTTP POSTto/api/posts, withtitleandcontentas parameters."
This marks a transformative shift from an imperative guessing to a declarative interaction.
aura.json): Served at /.well-known/aura.json, this file functions as a comprehensive API documentation for AI agents, outlining all available resources and capabilities.list_posts, login, or update_profile), with each capability corresponding to a precise HTTP request.AURA-State Header): A dynamic HTTP header sent by the server that informs the agent about the current operational context and the available capabilities based on that context.This repository serves as the official specification for the AURA protocol, providing essential components for developers:
packages/aura-protocol: The core NPM package @aura/protocol, which includes TypeScript interfaces and the official JSON Schema for validation—serving as the backbone of AURA.packages/reference-server: A reference implementation of an AURA-compliant server built with Next.js, offering insight into creating a website integrated with AURA.packages/reference-client: A minimal, backend-oriented reference client that showcases robust methods of consuming the AURA protocol without reliance on browser-based interactions.The AURA protocol facilitates various applications that resonate with the future vision of the intelligent and interoperable web. For instance, functionality like automated testing ensures the protocol schemas and API routes are robust:
pnpm test --run
This command runs a comprehensive suite of tests to validate the integrity of AURA.
AURA is positioned as a public asset, encouraging developers to build upon this framework. The potential for creating adapters for major web frameworks (like Express or Django), programming language clients (such as Python or Java), and intelligent applications is immense. Fork this repository, innovate with it, and contribute towards establishing a more intelligent web.
No comments yet.
Sign in to be the first to comment.