{
 "schema_version": 1,
 "generated": "2026-10-25",
 "id": "vxcontrol-pentagi--automate-pentagi-with-its-api",
 "repo": "vxcontrol/pentagi",
 "repo_url": "https://github.com/vxcontrol/pentagi",
 "repo_slug": "vxcontrol-pentagi",
 "title": "Start and collect pentest flows from your own tooling via API",
 "page_title": "How to start and collect pentest flows from your own tooling via API with PentAGI",
 "summary": "Use the REST or GraphQL API with a Bearer token to trigger flows and pull results into your pipeline.",
 "who": "A security team that wants scheduled lab scans feeding its tracker.",
 "problem": "Clicking through a UI does not scale to recurring checks.",
 "outcome": "Scripts that start PentAGI flows and fetch reports automatically.",
 "steps": [
  "Create an API token in PentAGI",
  "Call the REST or GraphQL API with Bearer token authentication",
  "Start a flow for an authorized target and poll for completion",
  "Fetch the report and file findings in your tracker"
 ],
 "agent_prompt": "Write a script that uses vxcontrol/pentagi's REST API with a token from an environment variable to start a flow on <authorized lab target>, wait for it, and save the Markdown report.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Authorized targets only.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "go",
 "requirements": [
  "Docker and Docker Compose (an interactive installer sets it up on Linux, macOS or Windows)",
  "An LLM provider key or a local model via Ollama or vLLM",
  "Written authorization to test every target"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "API tokens can start attacks on any configured target; store them as secrets and rotate them."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/vxcontrol-pentagi/automate-pentagi-with-its-api/",
 "md": "https://dedupedai.com/use-cases/vxcontrol-pentagi/automate-pentagi-with-its-api/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/vxcontrol-pentagi--automate-pentagi-with-its-api.json",
 "api_version": "v1"
}
