How evanbaker315/attentionos works
AttentionOS is a self-hosted, agent-driven short-form video content pipeline. The documented workflow runs from research and strategy through scripting, human filming, editing, publishing and community engagement, then feeds analytics and lessons into another cycle. Studio is the operator interface; the worker runs jobs, schedules and webhooks, while Postgres stores workspace-scoped facts and queues. The README documents the major stages and runtime layout; source excerpts confirm selected runner, MCP, editing, scripting and ingestion behavior, but not every module connection.
Main entry points: src Postgres state · service.ts Editing · research Research · publishing Publishing
Components 20
Content workflow
- Research
modules/research - Strategy
modules/strategy - Scripting
modules/scripting/src/service.ts - Human filming
- Editing
modules/editing/src/service.ts - Publishing
modules/publishing - Community
modules/community - Analytics and learning
modules/learn - Onboarding
modules/onboarding - Trial reels
modules/trial-reels/src/service.ts
Application runtime
- Studio dashboard
apps/studio - Job worker
apps/worker/src/worker.ts - Agent runner
packages/runner/src/llm.ts - MCP server
packages/mcp/src/server.ts
Policy and media
- Deterministic guardrails
packages/guardrails/src - Media processing
media-py/src/attentionos_media
State and integrations
- Postgres state
packages/db/src - Workspace and Brand Kit
packages/core/src/workspace.ts - Provider adapters
packages/providers
Other components
- Operator
Connections 26
- Operator → Studio dashboard: operates
- Operator → Onboarding: sets up
- Onboarding → Workspace and Brand Kit: drafts Brand Kit
- Job worker → Research: runs jobs
- Research → Strategy: hands off
- Strategy → Scripting: hands off
- Scripting → Human filming: prepares scripts
- Human filming → Editing: supplies footage
- Editing → Publishing: hands off
- Publishing → Community: hands off
- Community → Analytics and learning: feeds measurement
- Analytics and learning → Research: feeds next cycle
- Studio dashboard → Postgres state: reads and writes
- Job worker → Postgres state: uses queues
- Agent runner → Postgres state: records runs
packages/runner/src/llm.ts - Agent runner → MCP server: uses tools
packages/runner/src/llm.ts - MCP server → Postgres state: records tool events
packages/mcp/src/server.ts - Scripting → Deterministic guardrails: checks copy
modules/scripting/src/service.ts - Editing → Media processing: processes footage
modules/editing/src/service.ts - Job worker → Provider adapters: dispatches integrations
- Publishing → Provider adapters: publishes through
- Editing → Trial reels: enables rendering
modules/trial-reels/src/service.ts - Trial reels → Publishing: schedules variants
- Analytics and learning → Postgres state: records metrics
modules/learn/src/jobs/ingest.ts - Research → Postgres state: stores transcripts
modules/research/src/jobs/ingestTranscript.ts - Workspace and Brand Kit → Agent runner: provides agent context