A2aptotocal
18Discover, compare, and implement the best agent-to-agent protocols for your AI systems. Enable your AI agents to communicate effectively with our curated protocol directory.
Getting Started
Or connect to the hosted endpoint: https://www.a2aprotocal.com/
README
A2A Protocol Directory
The central hub for discovering, listing, and comparing A2A (Agent-to-Agent) protocols. Find and share protocols that enable AI agents to communicate with each other across enterprise platforms.
Features
- Protocol submission form
- Protocol browsing with search and filter capabilities
- Responsive design for all devices
- Tag-based filtering
- Supabase database integration
Setup Instructions
Prerequisites
- Node.js (v18 or later)
- npm or yarn
- A Supabase account (free tier is sufficient)
Supabase Setup
- Create a new project in Supabase.
- After creating the project, navigate to the SQL Editor.
- Copy the contents of the
supabase-setup.sqlfile from this project. - Paste and run the SQL commands in the Supabase SQL Editor to set up the database schema.
- Go to Project Settings > API and copy the following:
- Project URL
- Project API Key (anon public)
Local Development Setup
-
Clone this repository:
git clone https://github.com/yourusername/a2a-protocol-directory.git cd a2a-protocol-directory -
Install dependencies:
npm install # or yarn -
Create a
.env.localfile in the root directory and add your Supabase credentials:NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key -
Start the development server:
npm run dev # or yarn dev -
Open http://localhost:3000 in your browser to see the app.
Project Structure
src/app/page.tsx- Home page with the protocol submission formsrc/app/browse/page.tsx- Protocol browsing pagesrc/utils/supabase.ts- Supabase client configurationsrc/types/protocol.ts- TypeScript interfaces for protocol datapublic/- Static assets including images and favicon
Deployment
This project can be easily deployed on Vercel or any other Next.js-compatible hosting platform:
- Push your code to a GitHub repository.
- Connect your repository to Vercel.
- Add your environment variables (Supabase URL and API Key).
- Deploy!
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.