How deepseek-ai/deepseek-harness works
DeepSeek Harness is a plugin-oriented agent harness with Web and Desktop entry points. The documented user path is launching dsh web to start the Web UI; the source index also identifies session, tool, subagent, scheduling, and plugin-management subsystems. The graph preserves these distinct product areas and the session client’s internal layers. Evidence is limited: only selected files were sampled, so undocumented runtime connections between subsystems are intentionally not asserted.
Main entry points: bin.ts CLI launcher · main.ts Web application
Components 14
User entry points
- CLI launcher
apps/cli/src/bin.ts - Web application
apps/web/src/main.ts - Desktop application
apps/desktop/src/main.ts
Session lifecycle
- Session client manager
packages/api/session-controller/src/client/sessions/manager.ts - Session projections
packages/api/session-controller/src/client/sessions/projection-store.ts - Session notifications
packages/api/session-controller/src/client/sessions/notifier.ts - History controller
packages/api/session-controller/src/history/controller.ts - JSONL persistence
packages/session/session-persistence-jsonl/src/storage.ts
Agent capabilities
- Tool execution
packages/core/tools/src/pipeline.ts - Subagent manager
packages/subagent/subagent/src/manager.ts - Scheduled tasks
packages/schedule/schedule/src/storage.ts
Plugin experience
- Plugin manager UI
packages/client/ui-plugin-manager/src/client/PluginManagerPage.tsx - Claude mods engine
packages/experimental/claude-code-mods/src/engine.ts
Other components
- User
Connections 2
- User → CLI launcher: launches
README.md - CLI launcher → Web application: starts
README.md