Claude Pilot
Native Electron control center managing 3 database systems with type-safe IPC
●The Challenge
Claude Code power users manage sessions across multiple projects, each with their own memory state stored across PostgreSQL (structured data), Memgraph (knowledge graphs), and Qdrant (vector embeddings). Without a unified dashboard, developers context-switch between terminal sessions, database clients, and config files constantly. There's no way to visualize the knowledge graph, inspect memory health, or manage MCP server configurations without diving into raw database queries. The typical workflow involves 4-5 separate tools just to understand the state of a single project's AI memory. For developers running Claude Code 8+ hours daily, this fragmentation costs 2+ hours of productive time.
●The Approach
Chose Electron deliberately—this tool needs native OS access for process management, file system watching, and system tray integration that web apps can't provide. The critical architecture decision was using tRPC for all IPC communication between main and renderer processes. This gives full type safety from the database query layer through to the React UI without any serialization boundaries or manual type definitions. Built 25 tRPC endpoints covering session management, memory inspection, MCP health monitoring, and configuration. Zod schemas validate every message crossing the IPC bridge, catching type mismatches at runtime that TypeScript can't catch at compile time.
●Tech Decisions
●Technical Challenges
●The Solution
Claude Pilot runs as a native desktop application with a React frontend communicating through tRPC to the Electron main process. The dashboard provides real-time views of all active Claude Code sessions, memory utilization across all three database systems, and MCP server health status. The knowledge graph visualizer renders Memgraph data as an interactive force-directed graph, letting developers see relationship patterns in their project's AI memory. Configuration management handles MCP server setup, memory retention policies, and session preferences through a unified interface. 80% test coverage across both main and renderer processes, with zero production incidents since launch.
●Key Takeaways
●Related Projects
Have a similar challenge?
I help teams solve complex technical problems. Let's discuss your project.