LLM-OSINT is a local-first OSINT research stack built around a Fastify API, a Streamable HTTP MCP server, and Python LangGraph graphs for evidence collection and report generation.
The release-stage source of truth is docs/WIKI.md. This README is the short landing page.
apps/api: Fastify API for runs, events, files, graph views, and report retrievalapps/mcp-server: MCP server with deterministic ingest tools and Python-backed research toolsapps/web: React + Vite analyst UIservices/agent-langgraph: Stage 1 planner/tool-worker graphs and Stage 2 report graphservices/worker-python: deterministic text chunking and embedding helpersservices/worker-temporal: Temporal worker skeletonservices/worker-embedding: local vLLM embedding serviceinfra/docker: Docker Compose stack for local developmentinfra/db/migrations: Postgres schema migrations
POST /runscreates a run.- The API autostarts
services/agent-langgraph/src/run_planner.py. - The API passes
--run-stage2, so successful API-launched runs execute Stage 1 and then Stage 2 by default. - Stage 1 calls MCP tools, stores evidence, emits receipts, and updates vector/graph stores.
- Stage 2 writes report snapshots to Postgres and the API exposes them at
GET /runs/:runId/report.
- API:
http://localhost:3000 - MCP server:
http://localhost:3001/mcp - Kali/preset MCP server:
http://localhost:3002/mcp - Web UI:
http://localhost:5173 - MinIO console:
http://localhost:9001 - Neo4j browser:
http://localhost:7474 - Temporal UI:
http://localhost:8233
cp .env.example .env
cp infra/docker/.env.example infra/docker/.env
yarn install
yarn infra:upIf you are running inside the VS Code dev container, connect it to the compose network once:
docker network connect docker_default $(hostname) || trueRun migrations:
yarn db:migrateStart the web app:
yarn dev:webHealth check:
curl http://localhost:3000/healthCreate a run:
curl -X POST http://localhost:3000/runs \
-H "Content-Type: application/json" \
-d '{"prompt":"Investigate example.com and related accounts"}'- docs/WIKI.md: comprehensive repository wiki
- SETUP.md: shortest setup path
- docs/ENVIRONMENT.md: environment troubleshooting
- apps/mcp-server/README.md: MCP server details
- apps/mcp-server/MCP_CLIENT_GUIDE.md: MCP client integration
- docs/STAGE1_BLUEPRINT_RUNTIME_MAPPING.md: Stage 1 blueprint/runtime contract mapping
