Your agents run the request,
not the key
Save API requests once and keep secrets in environments.
Agents run them by name, from the CLI or as MCP tools, and never see a credential.
brew tap bsreeram08/apigent https://github.com/bsreeram08/apigent && brew install apigent
apigent save "health" https://api.example.com/health && apigent run "health"Named requests
Save any request, or paste a curl command, and replay it by name. Inspect with show, generate code with codegen.
Environments & secrets
{{placeholders}} filled at send time from environments. Secrets encrypted with AES-256-GCM and shown as *****.
Collections & runs
Group requests, chain them with extracted values, feed CSV/JSON rows, and emit JUnit reports for CI.
Diagnose failures
Every run is recorded. apigent diag shows the request as sent, variable origins, and what changed since the last success.
Agent mode
--agent: JSON-only output, no prompts, secrets masked everywhere. Agents start with apigent docs.
Code generation
Turn any saved request into curl, Go, Python or JavaScript, with credentials masked by default.