{
  "api_version": "1.0.0",
  "slug": "gta-san-andreas-reagent",
  "url": "https://reversedwithai.com/p/gta-san-andreas-reagent",
  "markdown_url": "https://reversedwithai.com/p/gta-san-andreas-reagent.md",
  "json_url": "https://reversedwithai.com/p/gta-san-andreas-reagent.json",
  "title": "Reverse engineering GTA San Andreas with autonomous LLM agents (ReAgent)",
  "tagline": "A reverser LLM, a checker LLM and Ghidra evidence gates, used on San Andreas.",
  "summary": "ReAgent is an open-source tool that pairs Ghidra with LLMs such as Claude and Codex to reconstruct C/C++ functions. It gathers evidence, checks structure and tests parity automatically.",
  "target": {
    "name": "Grand Theft Auto: San Andreas",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "Windows, POSIX",
  "models": [
    "Claude",
    "Codex",
    "GPT-5.4"
  ],
  "tools": [
    "Ghidra"
  ],
  "outcome": "research",
  "outcome_label": "Research",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": "MIT",
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Dryxio",
    "url": "https://www.youtube.com/@dryxiogta"
  },
  "sources": {
    "repository": "https://github.com/Dryxio/reagent",
    "writeup": "https://www.youtube.com/watch?v=zBQJYMKmwAs",
    "discussions": [
      "https://news.ycombinator.com/item?id=47595048",
      "https://github.com/Dryxio/plugin-sdk-sa"
    ],
    "all": [
      "https://github.com/Dryxio/reagent",
      "https://www.youtube.com/watch?v=zBQJYMKmwAs",
      "https://news.ycombinator.com/item?id=47595048",
      "https://github.com/Dryxio/plugin-sdk-sa"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/gta-san-andreas-reagent.webp",
    "credit": "Dryxio on YouTube"
  },
  "commit_history": {
    "commits": 40,
    "ai_commits": 0,
    "ai_days": 0,
    "first_ai_commit": null,
    "last_ai_commit": null,
    "credited_models": []
  },
  "added_at": "2026-10-14T00:00:57+00:00",
  "updated_at": "2026-10-14T00:00:57+00:00",
  "sources_reviewed_at": "2026-10-14T00:00:57+00:00",
  "reviewed_by": "editor",
  "human_notes": "The maintainers say LLM output is never accepted as proof: every candidate finding is checked against decompiled code and assembly before it enters the reversed source.",
  "reproduce": null,
  "body_md": "ReAgent is an open-source reverse-engineering agent that connects Ghidra to LLMs, including Claude, Codex and OpenAI-compatible models, to reconstruct and validate C/C++ functions from compiled binaries. A reverser model and a separate checker model do the work, and build and test gates decide whether a candidate counts as matching. It works from bounded function manifests, gathers evidence and reports coverage and validation results. Gaps in the evidence stay visible, and it keeps running when the Ghidra bridge lacks a capability. [Source](https://raw.githubusercontent.com/dryxio/reagent/HEAD/README.md)\n\nReAgent 0.4.0 is on PyPI as auto-re-agent. It writes candidate C or C++ for functions in a binary for a person to review; the README says the tool does not patch source trees. You set the validation commands, such as build and test scripts, and the agent treats them as acceptance evidence only when you mark them trusted. A candidate passes only if the LLM checker returns PASS, a structural verifier finds no strong mismatch, the configured build and test gates pass, and the parity check is not blocked. The README calls this conservative verification, not proof of equivalence.\n\nYou need Python 3.10 or newer, Git, Ghidra with the Ghidra Bridge, and one LLM setup: a Claude or OpenAI-compatible API key, or a logged-in claude or codex command line. Install auto-re-agent[ghidra-bridge] with pip, run ghidra-bridge init and export, create a config with re-agent init (profiles include generic-cpp and gta-reversed), run re-agent doctor, then try re-agent reverse on one small function.\n\nSources:\n- https://github.com/Dryxio/reagent",
  "ai_use_excerpts": null
}
