A Git-based template for creating internal inventories of A2A-compatible AI agents. This project provides a beautiful, searchable interface for documenting and discovering agents within your organization.
Note: This is a sample implementation and template, not affiliated with the official A2A protocol. It's designed for documentation and team discoverability purposes.
The Agent Directory Template is a static site generator that helps organizations:
- Document AI agents using A2A protocol standards
- Enable team discovery of existing agents before building new ones
- Maintain a searchable inventory of agent capabilities and endpoints
- Version control agent documentation through Git
- Deploy quickly to any static hosting service
This is not a runtime agent management system or an official A2A protocol agent discovery implementation. It's purely for documentation and human discoverability.
This template uses a GitOps workflow to automatically build and deploy your agent directory. You simply add or update agent JSON files, and a GitHub Action handles the rest.
- Commit JSON: Developers add or update agent definitions in the
/agentsdirectory. - CI/CD Trigger: A push to the
mainbranch triggers the GitHub Actions workflow. - Generate & Build: The workflow runs a script to generate Markdown pages from your JSON files and then builds the static site using Hugo.
- Deploy: The final static site is automatically deployed to GitHub Pages.
Add your agent configurations as individual .json files in the /agents directory. You can use template-agent.json as a starting point.
{
"protocolVersion": "0.2.6",
"name": "Your Agent Name",
"description": "Detailed description of what your agent does and its main capabilities.",
"url": "https://your-agent.example.com/a2a",
"version": "1.0.0",
"provider": {
"organization": "Your Organization Name",
"url": "https://your-organization.com"
},
"capabilities": {
"streaming": true,
"pushNotifications": false
},
"skills": [
{
"id": "exampleSkill",
"name": "exampleSkill",
"description": "Description of what this skill does and how it helps users.",
"tags": ["category", "feature", "type"],
"examples": [
"How to use this skill - example 1",
"Another way to use this skill"
]
}
]
}Commit your new agent file and push it to the main branch. The GitHub Action will automatically update the live site.
- Clone the repository:
- Install dependencies:
- Run the dev server:
- Open your browser to
http://localhost:1313
git clone https://github.com/aymenfurter/agent-dir.git
cd agent-dirnpm installnpm run devThis project is licensed under the MIT License. See the LICENSE file for details.

