How rt-codes/themisforge works
Themis is a self-hosted app for assigning work to AI agents, organizing it in projects, and reviewing runs and results. The main workflow is to configure an agent and its capabilities, create a task, run it immediately or on a schedule, then inspect its logs and outputs. Workflows add graph-based, multi-step execution; shared folders, access controls, and resource limits govern agent work. The graph combines documented product capabilities with relationships visible in the provided excerpts and SOURCE INDEX; some unsampled subsystem internals and links are therefore omitted.
Main entry points: scheduler.py Task scheduler · projects.py Project and task API · project_config.py Project configuration · cells.py Isolated agent cells
Components 19
User experience
- Themis web app
frontend/src/App.svelte - Task controls
frontend/src/lib/components/project/TaskSheet.svelte
Projects and planning
- Project and task API
backend/app/routers/projects.py - Projects and boards
backend/app/boards.py
Agent execution
- Scheduling
backend/app/scheduling.py - Task scheduler
backend/app/scheduler.py - Isolated agent cells
backend/app/cells.py - Agent harness
backend/app/harness.py - Workflow engine
backend/app/workflows.py - Run logs and results
backend/app/runlog.py
Agent capabilities
- Project configuration
backend/app/project_config.py - Skills
backend/app/skills.py - Service connections
backend/app/connections.py - MCP sign-in
backend/app/mcp_auth/scheme.py - Shared folders
backend/app/volumes.py
Platform and state
- HTTP API
backend/app/main.py - Application database
backend/app/models.py - Runtime settings
backend/app/app_settings.py
Other components
- Project owner
Connections 23
- Project owner → Themis web app: uses
README.md - Themis web app → Task controls: opens tasks
- Task controls → HTTP API: requests task run
frontend/src/lib/components/project/TaskSheet.svelte - HTTP API → Project and task API: routes requests
backend/app/main.py - Project and task API → Projects and boards: uses boards
backend/app/routers/projects.py - Project and task API → Application database: reads and writes
backend/app/routers/projects.py - Project and task API → Scheduling: uses scheduling
backend/app/routers/projects.py - Scheduling → Task scheduler: makes work due
backend/app/scheduler.py - Task scheduler → Isolated agent cells: starts cells
backend/app/scheduler.py - Task scheduler → Project configuration: plans capabilities
backend/app/scheduler.py - Task scheduler → Agent harness: prepares runs
backend/app/scheduler.py - Agent harness → Isolated agent cells: runs in
backend/app/harness.py - Task scheduler → Run logs and results: records output
- Project owner → Workflow engine: designs workflows
README.md - Workflow engine → Isolated agent cells: runs agent steps
backend/app/workflows.py - Project configuration → Skills: loads skills
backend/app/project_config.py - Project configuration → Service connections: plans connections
backend/app/project_config.py - Project configuration → Shared folders: loads folder access
backend/app/project_config.py - Service connections → Application database: stores credentials
backend/app/connections.py - MCP sign-in → Service connections: uses connection policy
backend/app/mcp_auth/scheme.py - Runtime settings → Application database: loads and saves
backend/app/app_settings.py - Isolated agent cells → Shared folders: mounts approved folders
- Project owner → Run logs and results: reviews results
README.md