Full Pipeline Demo¶
End-to-end walkthrough of the Orion content pipeline: detect a trend, generate content, review it, publish, and monitor the results. This guide covers both the CLI and the Dashboard so you can use whichever interface you prefer.
Prerequisites¶
Start the full Orion stack:
Wait for all services to become healthy:
Demo mode
If you don't have the backend running, you can use demo mode instead. See the Demo Mode guide for setup instructions.
Step 1: Detect Trends¶
Trigger the Scout service to scan external sources for trending topics.
Scan Frequency
In production, trend scans run on a configurable schedule. For this demo, we trigger a scan manually. You can adjust the automatic scan interval via the SCOUT_SCAN_INTERVAL environment variable.
# Authenticate first
orion auth login
# Email: admin@orion.local
# Password: orion_dev
# Trigger a trend scan
orion scout trigger
Expected output:
View detected trends:
Expected output:
┌────────┬──────────────────────────────────────────────┬───────┬────────────────┬────────┐
│ ID │ Topic │ Score │ Source │ Status │
├────────┼──────────────────────────────────────────────┼───────┼────────────────┼────────┤
│ t-001 │ AI Agents Replace Junior Devs — Hype or ... │ 0.94 │ google_trends │ NEW │
│ t-003 │ Apple Vision Pro 2 Leak Sparks AR/VR Debate │ 0.91 │ twitter │ NEW │
│ t-002 │ Rust Adoption Surges in Enterprise Backend │ 0.87 │ rss │ NEW │
│ t-004 │ Open-Source LLMs Close the Gap on GPT-5 │ 0.82 │ google_trends │ NEW │
│ t-006 │ WebAssembly Enters Server-Side Mainstream │ 0.73 │ twitter │ NEW │
└────────┴──────────────────────────────────────────────┴───────┴────────────────┴────────┘
- Open http://localhost:3001 and log in with
admin/orion_dev - Navigate to the Trends page from the sidebar
- Trends are displayed with their virality score, source, and status
- New trends detected by Scout appear here automatically via WebSocket updates
Step 2: Review Content¶
Once Scout detects a trend, the Director service automatically picks it up via Redis pub/sub and begins generating content through the LangGraph pipeline (strategist, creator, media, editor stages).
# List all content items
orion content list
# List content in JSON format
orion content list --format json
Expected output:
┌────────────┬────────────────────────────────────────────┬────────────┬───────────────────┐
│ ID │ Title │ Status │ Created │
├────────────┼────────────────────────────────────────────┼────────────┼───────────────────┤
│ c-a1b2c3d4 │ AI Agents: Hype vs Reality in 2026 │ review │ 2026-03-18 09:15 │
│ c-e5f6a7b8 │ Why Rust Is Taking Over Enterprise │ generating │ 2026-03-18 09:20 │
│ c-c9d0e1f2 │ Vision Pro 2: What We Know So Far │ generating │ 2026-03-18 09:22 │
└────────────┴────────────────────────────────────────────┴────────────┴───────────────────┘
View full details of a content item:
- Navigate to the Content Queue page from the sidebar
- Content items are listed with their status (generating, review, approved, published)
- Click on any item to see its full details: script, media assets, and metadata
- Items in review status are ready for your approval
Step 3: Approve Content¶
Content goes through a human-in-the-loop review stage before publishing.
Expected output:
You can also reject content:
- Open a content item from the Content Queue
- Review the generated script, images, and video preview
- Click Approve to send the content for publishing
- Or click Reject and provide feedback for regeneration
Step 4: Publish¶
Once approved, the Publisher service handles distribution to configured social media accounts.
# List connected social accounts
orion publish accounts
# Publish to a specific platform
orion publish send c-a1b2c3d4 --platform twitter
# View publishing history
orion publish history
Expected output:
- Navigate to the Publishing page from the sidebar
- Approved content appears in the publishing queue
- Select the target platform and click Publish
- Published items show their external URL and engagement metrics
Step 5: Monitor¶
Track system health, pipeline performance, and content analytics.
# Overall system status
orion system status
# Detailed health check of all services
orion system health --format json
Expected output for orion system status:
- Analytics page — content performance metrics, engagement charts, trend correlation
- System Health page — service status cards, GPU utilization gauge, queue depth
- Real-time updates via WebSocket connections
For deeper observability, see the Monitoring guide for Grafana dashboards and Prometheus metrics.
What Happens Behind the Scenes¶
The complete pipeline flow:
sequenceDiagram
participant User
participant Gateway
participant Scout
participant Redis
participant Director
participant Media
participant Editor
participant Publisher
User->>Gateway: POST /api/v1/scout/api/v1/trends/scan
Gateway->>Scout: Proxy request
Scout->>Scout: Poll external sources
Scout->>Redis: Publish orion.trend.detected
Redis->>Director: Deliver event
Director->>Director: LangGraph pipeline (strategist -> creator)
Director->>Redis: Publish orion.content.created
Redis->>Media: Deliver event
Media->>Media: Generate images (ComfyUI/Fal.ai)
Media->>Redis: Publish orion.media.generated
Redis->>Editor: Deliver event
Editor->>Editor: Render video (TTS + stitch + subtitles)
Editor->>Redis: Publish orion.content.ready
Note over User: Human reviews and approves
User->>Gateway: POST /approve
Gateway->>Director: Update status
Director->>Redis: Publish orion.content.approved
Redis->>Publisher: Deliver event
Publisher->>Publisher: Post to social platforms
Each service communicates exclusively through Redis pub/sub -- there are no direct HTTP calls between Python services.
Next Steps¶
- CLI Workflow -- CLI-only walkthrough with detailed command reference
- Provider Setup -- Switch between local and cloud AI providers
- Monitoring -- Grafana dashboards and Prometheus metrics
- Demo Mode -- Run the dashboard with pre-seeded fixture data
- Dashboard Overview -- Tour of all dashboard pages