How rfkokt/command-rdev-center works
Kern Studio is a local-first desktop workspace for using the pi coding agent across projects. The main workflow is to discover a project, open an agent session (optionally in an isolated worktree), then inspect or deliver its changes through review, Kanban, and pipeline tools. Separate dashboards support restricted Deep Research and local knowledge features. The tree, README, and sampled command registrations support these major product areas; several subsystem connections are documented capabilities rather than inspected call sites.
Main entry points: lib.rs Native command host · App.tsx Workspace shell · ChatView.tsx Agent chat · pi_rpc.rs Pi session runtime
Components 25
Workspace UI
- Workspace shell
src/App.tsx - Agent chat
src/components/ChatView.tsx - Native command host
src-tauri/src/lib.rs
Agent and research
- Pi session runtime
src-tauri/src/pi_rpc.rs - Research dashboard
src/components/DeepResearchView.tsx - Deep Research
src-tauri/src/deep_research.rs - Prompt engines
src/components/PromptEnginesView.tsx - Prompt engine store
src-tauri/src/prompt_engines.rs - Agent skills
src-tauri/src/skills.rs
Project work
- Project discovery
src-tauri/src/projects.rs - Isolated worktrees
src-tauri/src/worktree.rs - Project terminal
src-tauri/src/terminal.rs
Knowledge and delivery
- Diff and source control
src/components/DiffPanel.tsx - Git operations
src-tauri/src/scm.rs - Kanban tracking
src/components/KanbanBoard.tsx - Task management
src-tauri/src/kanban.rs - Pipeline dashboard
src/components/PipelineView.tsx - Pipeline settings
src/components/PipelineSettings.tsx - Pipeline runner
src-tauri/src/pipeline.rs - RAG knowledge
src-tauri/src/rag.rs - Graphify context
src-tauri/src/graph.rs
Other components
- User
- Pi CLI
- Web sources
- Git repositories
Connections 25
- User → Workspace shell: uses
- Workspace shell → Agent chat: opens sessions
- Workspace shell → Research dashboard: opens dashboard
- Workspace shell → Prompt engines: opens dashboard
- Workspace shell → Kanban tracking: opens dashboard
- Workspace shell → Pipeline dashboard: opens dashboard
- Agent chat → Native command host: invokes commands
- Research dashboard → Native command host: invokes commands
- Prompt engines → Prompt engine store: lists and saves
- Pipeline dashboard → Pipeline runner: starts and controls
- Pipeline settings → Pipeline runner: configures
- Native command host → Project discovery: dispatches commands
- Native command host → Isolated worktrees: dispatches commands
- Native command host → Pi session runtime: dispatches commands
- Native command host → Deep Research: dispatches commands
- Native command host → Task management: dispatches commands
- Native command host → Git operations: dispatches commands
- Native command host → RAG knowledge: dispatches commands
- Native command host → Graphify context: dispatches commands
- Native command host → Project terminal: dispatches commands
- Native command host → Agent skills: dispatches commands
- Pi session runtime → Pi CLI: runs sessions
- Deep Research → Web sources: retrieves sources
- Git operations → Git repositories: reads and changes
- Project discovery → Git repositories: discovers repositories