Build with an AI assistant#
Coding assistants integrate AllowedBy well when they read these pages rather than guess. Give them one of the following.
The documentation as tools (MCP)#
claude mcp add --transport http allowedby-docs https://docs.allowedby.com/mcpThe assistant can then search the documentation, read a page, get a recipe in your language and look up an error. Any assistant that supports MCP over HTTP can use the same address.
One file per language#
Everything needed to accept agents in one language, in one Markdown file:
| Language | File |
|---|---|
| Python | llms/python.txt |
| JavaScript | llms/js.txt |
| Go | llms/go.txt |
| Java | llms/java.txt |
| C# | llms/dotnet.txt |
| PHP | llms/php.txt |
| Ruby | llms/ruby.txt |
| Rust | llms/rust.txt |
The index of every page is llms.txt, and all guides together are llms-full.txt. Any page is
also Markdown at its own address with .md added.
A prompt that works#
Read https://docs.allowedby.com/llms/python.txt. Then add AllowedBy to this app:
- list the routes an agent may call, and propose a capability, class and level for each; ask me before going on;
- write the sentence a person will sign for each capability;
- add the middleware, and key every query on the person's id from the context;
- run the app, show me that a protected route answers 401, and write the tests from the "test" recipe.Change python to your language.
Rules an assistant must keep#
- Never take the person's identity from the agent's input: use the id in the verified context.
- Never catch a refusal and continue.
- Never log
Allowed-By,AllowedBy-Proofor a request body. - Use a shared store as soon as there is more than one process, and a key file in production.
- Put the middleware outside anything that rewrites the path or the method.
A weekly test gives an assistant only these public pages, asks it to integrate AllowedBy in a new app, and runs the end-to-end scenarios on the result.