How infinitary-labs/infinitary-apps works
Infinitary is a cross-platform AI work-orchestration app: a person describes work to a first mate, which plans and routes tasks to agents on local or linked computers; results return as reviewable cards with evidence and approval points. The graph includes desktop entry/UI, task policy and execution, result records, browser/panel capabilities, and the companion phone client. Workflow links reflect README descriptions; source-level links are limited to relationships visible in the supplied excerpts or SOURCE INDEX, so unsampled implementation details are not inferred.
Main entry points: App.tsx Main app UI · jobManager.ts Job execution · ReadOnlySession.swift Phone session · recordEngine.ts Record reader
Components 23
Desktop app
- App lifecycle
src/main/app.ts - Desktop interface
src/renderer/src/main.tsx - Main app UI
src/renderer/src/app/App.tsx - Voice input
src/renderer/src/voice/voiceController.ts
Task workflow
- Task contracts
src/shared/tasks.ts - Routing policy
src/shared/routingPolicy.ts - Model routing
src/core/routing/routingEngine.ts - Computer placement
src/core/routing/placementEngine.ts - Job execution
src/core/jobs/jobManager.ts
Results and review
- App database
src/core/storage/db.ts - Record reader
src/core/recordReads/recordEngine.ts - Task queries
src/core/tasks/taskQuery.ts - Task board state
src/renderer/src/app/store.ts - Cards and evidence
src/shared/cards.ts
Automation and panels
- Browser control
src/main/host/chrome/chromeEngine.ts - Custom panels
src/panels/now/cards/board.tsx - Schedules and chores
src/core/orchestrator/cardService.ts
Phone companion
- Phone workspace
ios/Infinitary/InfinitaryApp/PhoneTasks.swift - Phone session
ios/Infinitary/InfinitaryKit/Sources/InfinitaryKit/ReadOnlySession.swift
Other components
- Person
- AI provider
- Linked computers
- GitHub or GitLab
Connections 23
- Person → Main app UI: describes work
README.md - Person → Voice input: speaks request
README.md - Voice input → Main app UI: provides input
README.md - App lifecycle → Desktop interface: loads interface
src/main/app.ts - Desktop interface → Main app UI: mounts UI
src/renderer/src/main.tsx - Main app UI → Task contracts: submits work
- Task contracts → Routing policy: defines policy
src/shared/routingPolicy.ts - Routing policy → Model routing: guides selection
src/core/routing/routingEngine.ts - Model routing → AI provider: chooses model
README.md - Computer placement → Linked computers: assigns computer
README.md - Job execution → Linked computers: runs task
README.md - Job execution → App database: persists task
src/core/jobs/jobManager.ts - Record reader → App database: reads records
src/core/recordReads/recordEngine.ts - Record reader → Task board state: supplies task data
- Task board state → Cards and evidence: shows results
- Job execution → GitHub or GitLab: delivers changes
README.md - Person → Cards and evidence: reviews evidence
README.md - Main app UI → Browser control: drives web page
README.md - Main app UI → Custom panels: opens panels
README.md - Main app UI → Schedules and chores: sets chores
README.md - Phone workspace → Phone session: requests task data
ios/Infinitary/InfinitaryApp/PhoneTasks.swift - Phone session → Linked computers: connects privately
README.md - Phone session → Phone workspace: returns task data
ios/Infinitary/InfinitaryApp/PhoneTasks.swift