How botharness/deepseekbot works
Tobs is a DeepSeek Harness plugin and companion mobile client for managing a persistent crew of AI bots. The main workflow is to create or install bots, talk with them individually or in groups, and delegate work that can recur or require approval; users can also connect external chat services and let bots operate computers or browsers. The graph preserves README-documented capabilities, while source evidence is limited to the supplied excerpts and SOURCE INDEX, so many runtime links are documented rather than verified in sampled implementation.
Main entry points: host-session.ts Host session · bot-creation-steps.ts Bot creation · messaging Conversations · client.ts Host client
Components 20
Bots and collaboration
- Bot creation
apps/mobile/src/host/bot-creation-steps.ts - Bot identity
packages/core/src/bots - Conversations
packages/core/src/messaging - Group collaboration
apps/mobile/app/group - Bot memory
apps/mobile/app/bot/[slug]/memory.tsx - Scheduled routines
apps/mobile/app/bot/[slug]/routine-new.tsx - Approvals
apps/mobile/app/bot/[slug]/approval-rules.tsx - Computer and browser
packages/computer/src/service.ts
Host and connectivity
- Host session
apps/mobile/src/host/host-session.ts - Host client
packages/host-client/src/client.ts - Conversation cache
apps/mobile/src/host/native-conversations.ts
Mobile experience
- Mobile app routes
apps/mobile/app - Notifications
apps/mobile/modules/conversation-notifications/android/src/main/java/expo/modules/conversationnotifications/ConnectionService.kt - Host pairing
apps/mobile/app/pair - Preferences and storage
apps/mobile/src/ui/storage-settings.tsx
Integrations and distribution
- Chat services
packages/core/src - Bot marketplace
packages/market/src/worker.ts - Cloud teams
apps/mobile/src/cloud
Other components
- User
- DeepSeek Harness
Connections 19
- User → Mobile app routes: uses
README.md - Mobile app routes → Host session: connects through
apps/mobile/app/settings/storage.tsx - Host session → Host client: uses
apps/mobile/src/host/host-session.ts - Host client → DeepSeek Harness: connects to
- User → Bot creation: creates
README.md - Bot creation → Bot identity: configures
- User → Conversations: chats with
README.md - User → Group collaboration: delegates in
README.md - Conversations → Bot memory: uses persistent memory
README.md - User → Scheduled routines: schedules
README.md - User → Approvals: reviews
README.md - User → Computer and browser: authorizes
README.md - Host session → Conversation cache: loads conversations
apps/mobile/src/host/host-session.ts - Host session → Notifications: coordinates
- User → Host pairing: pairs device
README.md - User → Preferences and storage: manages preferences
README.md - User → Chat services: connects bots
README.md - User → Bot marketplace: browses and installs
README.md - User → Cloud teams: manages teams