What is Beacon?
Beacon is a CLI tool and web API that analyzes your codebase and automatically generates an AGENTS.md file, making your repository discoverable and usable by autonomous AI agents.AGENTS.md is a standard specification that describes what capabilities, endpoints, and authentication methods your repository provides to AI agents.
Why Beacon exists
As AI agents become more prevalent in software development, repositories need a standardized way to communicate their capabilities. Without this, agents must:- Guess at available endpoints and functionality
- Parse inconsistent documentation formats
- Lack clear authentication requirements
- Miss critical capabilities hidden in source code
Key benefits
Automated discovery
Scans source files, README, package manifests, and OpenAPI specs to identify capabilities
AI-powered inference
Uses Gemini, Claude, OpenAI, or Beacon Cloud to intelligently extract agent-usable features
Standards-compliant
Generates AGENTS.md files following the AAIF specification
Validation built-in
Validates existing AGENTS.md files and optionally checks endpoint reachability
How it works at a high level
Beacon follows a three-step process to generate your AGENTS.md file:Scan
Walks your repository and extracts:
- README files
- Source files (up to 50 files, max 50KB each)
- Package manifests (Cargo.toml, package.json, pyproject.toml, go.mod)
- OpenAPI specifications
node_modules, target, .git, and dist.Infer
Sends the extracted context to your chosen AI provider (Gemini, Claude, OpenAI, or Beacon Cloud) with a structured prompt asking it to:
- Identify agent-usable capabilities
- Extract REST API endpoints with parameters
- Determine authentication requirements
- Generate JSON schemas for inputs and outputs
Use cases
Making APIs agent-discoverable
If you have a REST API built with Express, NestJS, FastAPI, or similar frameworks, Beacon extracts endpoint definitions from decorators and route handlers:Documenting CLI tool capabilities
For CLI tools like Beacon itself, it identifies the commands agents can invoke:Web services and background jobs
Beacon looks beyond just HTTP endpoints to identify background services, notification systems, chat integrations, and indexers that agents might want to trigger or monitor.What’s next?
Install Beacon
Get Beacon installed on your system in under a minute
Quickstart guide
Generate your first AGENTS.md file in 5 minutes
How it works
Deep dive into the scanning and inference process
AI providers
Learn about Gemini, Claude, OpenAI, and Beacon Cloud options