agents.txt
for any repo.

Tell autonomous AI agents what they're allowed to do on your repo, in 60 seconds. Open standard. MIT licensed. No signup.

robots.txt  told crawlers what to crawl.
sitemap.xml  told search engines what to index.
llms.txt  told LLMs what to read.
โ†’ agents.txt  tells autonomous agents what they're allowed to do.

Install in one line

$ npm install -g @agent_press/agentpress
$ agentpress init
# answer 5 questions, get an agents.txt at your repo root + GitHub Action + README badge

Python? pip install agentpress-static

What an agents.txt declares

Allowed

Agents may do these

Read code, run tests, file PRs, comment on issues.

Requires approval

Agents must pause and ask

Schema migrations, billing changes, production deploys.

Prohibited

Agents must refuse

Secret exfiltration, 2FA bypass, deceptive tracking, spam.

What you get on day one

01

The CLI

agentpress init drops a sensible agents.txt and supporting machine-readable surfaces in your repo.

02

The GitHub Action

agentpress/setup-action@v1 validates your contract on every PR, fails CI on misconfig, posts a step summary.

03

The README badge

One markdown line. Every adopter advertises the standard for free.

04

The MCP server

@agent_press/mcp-server plugs into Claude Code, Cursor, Devin โ€” agents respect contracts natively.

05

The VS Code extension

Syntax highlighting, snippets, on-save validation. The editor catches mistakes before you commit.

06

The browser extension

URL-bar badge when a repo or site has an agents.txt. Daily reminder of who's adopted.

The agents.txt v1.0 surfaces