Skip to main content

Make your coding agent API-aware.

Reqbook is strongest when a coding agent is part of your API workflow. The agent can read source routes, create markdown specs, validate them, run requests, and build flows. You still keep control because every result is saved as reviewable markdown in the repo.
If you only want terminal commands, use the CLI reference. If you want to inspect and run specs visually, use the Web preview. This guide focuses on agent-first development.

Set up the project

1

Initialise Reqbook

This creates api-docs/, an example endpoint, _shared/env.template.md, local _shared/env.md, and .gitignore protection for .env.local plus local _shared/env.md.
2

Install agent skills

Or target one agent:
3

Register MCP for your agent

MCP mode gives the agent structured Reqbook tools instead of asking it to parse terminal output.
4

Open the UI beside your agent

Keep the browser preview open while your agent edits files. The UI reads the same markdown files and updates as they change.

Prompts that work well

Use prompts that describe the API intent and let the Reqbook skill choose the correct operation.

Create one endpoint

Scan existing routes

Run and debug

Create a workflow


Agent responsibilities

When the skills are installed, the agent should follow this pattern:

What stays under your control

  • Agents should not overwrite existing specs unless you explicitly ask for that exact file to be replaced.
  • Secrets belong in .env.local or RQB_*, not in markdown committed to the repo.
  • The browser request builder can override params, headers, and body for one run without changing the markdown file.
  • Persistent changes happen only when the agent edits markdown or you use the UI edit mode and save.
  • rqb validate api-docs/ is the final safety check before commit.

Example session

Keep rqb serve open during this loop. It gives you a visual review layer while the agent edits markdown behind the scenes.