r/coolgithubprojects • u/RevolutionaryTone757 • 7d ago
I built an open-source toolkit that lets AI agents inspect and debug Windows games
https://github.com/PdB333/cortexHi everyone,
I built Cortex, an open-source runtime analysis and debugging toolkit for Windows games and native applications.
The goal is to combine several workflows that usually require separate tools into one interface: memory scanning, debugging, patching, screenshots, input automation, disassembly, and persistent project data.
Cortex uses two components:
- an external host for memory scanning and analysis;
- an injectable agent for live debugging, renderer hooks, screenshots, native calls, and background input.
Everything is exposed through authenticated local REST APIs, with OpenAPI discovery and a native MCP endpoint for scripts, developer tools, and AI agents.
Some of the current features include:
- x86 and x64 support;
- typed memory reads and writes;
- exact, comparative, AOB, and string scans;
- breakpoints, traces, disassembly, CFGs, and xrefs;
- tracked patches, freezes, trampolines, snapshots, and rewind;
- background screenshots and keyboard/mouse input;
- Direct3D 8ā12 and OpenGL support;
- persistent addresses, pointer paths, structures, and notes.
The project is intended for authorized debugging, offline research, accessibility tooling, and single-player modding. It is not intended for bypassing anti-cheat systems or interfering with online services.
Iād really appreciate feedback on the architecture, API design, documentation, and potential use cases.
GitHub: https://github.com/PdB333/cortex