Hexforge Gateway
APK reverse engineering workspace that orchestrates jadx, apktool, adb and Frida through a workflow engine, on Termux (Android) or PC.
التثبيت
خطوات التثبيت موجودة في التوثيق أدناه. التوثيق
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
HexForge Gateway
AI-assisted APK reverse-engineering workspace API. Dispatches tasks to MCP agents (jadx, apktool, adb, frida, filesystem, MT Manager's APK MCP, AI providers) and streams updates over WebSocket. Runs entirely on-device (Termux + MT Manager on Android) or on a normal PC - no cloud required.
Flow: Workspace -> Workflow -> Jobs -> Tasks -> MCP Agents, with modules
talking through an Event Bus. MIT licensed. Contributing: run
npm run typecheck && npm run build && ./scripts/smoke-test.sh before a
PR - see CONTRIBUTING.md.
Getting started
npm install
cp .env.example .env
npm run dev
The Gateway starts on http://localhost:8080 and prints a banner with your
workspaces and copy-pasteable commands. GET / returns the same as JSON -
the quickest way to see what's here.
Core endpoints (request/response shapes are in the linked docs):
GET /- live cheat sheet -GET /health- service + config statusPOST /workspaces/GET /workspaces[/:id]/PUT /workspaces/by-name/:name(idempotent get-or-create)POST /workspaces/:id/tasks- dispatch to an MCP agent, fire-and-forget; poll or watch/ws(AGENTS)POST /workspaces/:id/jobs//workflows//knowledge(ARCHITECTURE)GET /workspaces/:id/inbox- APKs dropped intoAPK_INBOX_DIR, if configured, and auto-claimed into this workspace (INBOX)POST|GET /workspaces/:id/chat(AI)GET /plugins(PLUGINS)GET /capabilities- what the Gateway can do and which agents provide it (AGENTS)GET /workspaces/:id/artifacts/GET /artifacts/:id- directories and files finished tasks produced, with the run that made them (ARCHITECTURE)POST/GET /workspaces/:id/findings(filter bystatusor a citedentityId),GET/PATCH /findings/:id,GET /findings/:id/verification- claims with evidence checked against real artifacts and graph entities, and re-checked against the cited files (ARCHITECTURE)POST/GET /workspaces/:id/graph/entities,GET /graph/entities/:id,POST/GET /workspaces/:id/graph/edges- typed entities and relationships observed about the target (ARCHITECTURE)WS /ws- real-timetask:update,job:update,workflow:update,knowledge:entry_created,workspace:status_changedfor every workspaceWS /ws/workspaces/:id- same events, filtered to one workspace
Stack
Node.js 22+ / TypeScript, Fastify (+ @fastify/websocket), Zod. Storage is
local files by default; Supabase is opt-in (STORAGE_BACKEND=supabase). Auth
is an opt-in API key check, off by default (AUTH_ENABLED=false). npm test
runs the Vitest unit suite (retry/failure-path logic, no live instance
needed); scripts/smoke-test.sh covers end-to-end happy paths against a
running Gateway - see tests/README.md for the split.
Documentation
| Doc | Covers |
|---|---|
docs/SETUP.md | Requirements, auth, storage backend, running on PC and Android/Termux |
docs/ARCHITECTURE.md | Event Bus, Job Engine, Workflow Engine, Knowledge Engine |
docs/AGENTS.md | Every MCP agent - operations and examples |
docs/AI.md | The AI provider layer (9 providers), the ai agent, Terminal chat |
docs/MCP_SERVER.md | Registering HexForge's agents as native tools in Claude Desktop/Code/Cursor |
docs/PLUGINS.md | The Plugin System - contract, loader, reference plugins |
docs/CLI.md | the hf CLI (scripts/hf.sh) and scripts/smoke-test.sh |
docs/MT_MANAGER.md | MT Manager's APK MCP setup, with screenshots and troubleshooting |
docs/PROJECT_STRUCTURE.md | Repo layout and how the pieces talk |
docs/ROADMAP.md | What's done and what's still open |
الأسئلة الشائعة
ما هو Hexforge Gateway؟
APK reverse engineering workspace that orchestrates jadx, apktool, adb and Frida through a workflow engine, on Termux (Android) or PC.
كيف أثبّت Hexforge Gateway؟
اتبع خطوات التثبيت في توثيقه المعروض في هذه الصفحة وفي مستودعه.
هل Hexforge Gateway مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Hexforge Gateway؟
ينشره boy-offi9-inc. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من القوائم المجتمعية awesome-mcp-servers ومستودع المشروع على GitHub. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.