How mahesh-mettireddy/falkortrace works
FalkorTrace investigates software incidents by resolving a service, checking whether prior findings remain applicable, tracing dependencies and patches, and verifying candidate causes against approved checks and requirements. It records findings with version fingerprints so later investigations can reuse only compatible results. The FastAPI dashboard and REST endpoints expose triage, graph inspection, remediation, fault injection, and benchmarking; an MCP server offers tool access through HTTP-mounted functions or stdio. The graph engine supports topology analysis, while a lexical baseline provides a comparison. Some subsystems are documented but their source was not sampled, so their links are omitted or grounded in README statements.
Main entry points: agent.py Triage Orchestrator · mcp_server.py MCP Server · main.py REST API · db.py Tenant Graph Store
Components 17
Interfaces
- REST API
backend/main.py - Operations Dashboard
frontend/index.html - MCP Server
backend/mcp_server.py
Investigation
- Triage Orchestrator
backend/agent.py - Service Resolution
backend/tools.py - Memory Applicability
backend/tools.py - Ticket And PRD Scope
backend/tools.py - Dependency And Patch Analysis
backend/tools.py - Topology Algorithms
backend/tools.py - Lexical Baseline
backend/agent.py - Ablation Benchmark
backend/agent.py
Verification And Memory
- Approved Checks
backend/tools.py - Sandbox Verifier
backend/verifier.py - Finding Memory
backend/tools.py
Graph Data
- Tenant Graph Store
backend/db.py - Tenant Graph Seeding
backend/seed.py
Other components
- Engineer
Connections 34
- Engineer → Operations Dashboard: uses
README.md - Operations Dashboard → REST API: requests triage
README.md - Engineer → REST API: calls REST
README.md - REST API → Triage Orchestrator: runs triage
backend/main.py - REST API → Tenant Graph Store: reads graph
backend/main.py - REST API → Tenant Graph Seeding: seeds tenant
backend/main.py - Triage Orchestrator → Service Resolution: resolves service
backend/agent.py - Triage Orchestrator → Memory Applicability: checks reuse
backend/agent.py - Triage Orchestrator → Ticket And PRD Scope: inspects scope
backend/agent.py - Triage Orchestrator → Dependency And Patch Analysis: traces dependencies
backend/agent.py - Triage Orchestrator → Topology Algorithms: analyzes islands
backend/agent.py - Triage Orchestrator → Approved Checks: lists checks
backend/agent.py - Triage Orchestrator → Sandbox Verifier: verifies outputs
backend/agent.py - Triage Orchestrator → Finding Memory: records findings
backend/agent.py - Triage Orchestrator → Lexical Baseline: compares retrieval
backend/agent.py - Triage Orchestrator → Tenant Graph Store: queries graph
backend/agent.py - Triage Orchestrator → Tenant Graph Seeding: loads dataset
backend/agent.py - Triage Orchestrator → Ablation Benchmark: runs scenarios
backend/agent.py - MCP Server → Engineer: serves tools
README.md - MCP Server → Service Resolution: dispatches tools
backend/mcp_server.py - MCP Server → Memory Applicability: evaluates applicability
backend/mcp_server.py - MCP Server → Ticket And PRD Scope: dispatches inspection
backend/mcp_server.py - MCP Server → Dependency And Patch Analysis: dispatches traversal
backend/mcp_server.py - MCP Server → Topology Algorithms: dispatches analysis
backend/mcp_server.py - MCP Server → Approved Checks: dispatches checks
backend/mcp_server.py - MCP Server → Finding Memory: dispatches recording
backend/mcp_server.py - MCP Server → Sandbox Verifier: computes fingerprints
backend/mcp_server.py - MCP Server → Tenant Graph Store: selects graph
backend/mcp_server.py - MCP Server → Tenant Graph Seeding: validates tenant
backend/mcp_server.py - Tenant Graph Store → Tenant Graph Seeding: seeds graph
backend/db.py - Finding Memory → Tenant Graph Store: stores findings
- Approved Checks → Sandbox Verifier: executes fixtures
- REST API → Ablation Benchmark: exposes benchmark
README.md - REST API → Tenant Graph Store: remediates graph
backend/main.py