Your First Task
Let’s submit a simple task to Shannon and see it in action. This guide assumes you’ve completed the installation.Using the REST API
The simplest way to interact with Shannon is through its REST API:Check Task Status
Use thetask_id to check the status:
Stream Events in Real-Time
Shannon supports Server-Sent Events (SSE) for real-time updates:Using the Python SDK
For a better developer experience, use the Python SDK:Installation
Submit and Monitor Tasks
Stream Events
Execution Modes
Shannon auto-selects execution modes based on task complexity. You can override this by passing themode parameter (simple, standard, complex, supervisor) in your task submission.
Cost Control
Budget controls are managed by Shannon. Explicit per‑request budget settings are not yet available via REST.Multi-Turn Conversations
Shannon supports session-based conversations:Using the Desktop App
For a graphical view of tasks and sessions, use the Shannon Desktop Application (Tauri-based client). See Desktop Application for installation and usage details.Example Use Cases
Shannon automatically selects the appropriate execution mode and cognitive strategy based on query complexity. You don’t need to specify these parameters.
Sentiment Analysis
Research & Summarization
Code Generation
Complex Analysis with Context
What’s Next?
Core Concepts
Learn about agents, workflows, and cognitive patterns
API Reference
Explore all API endpoints and parameters
Python SDK Guide
Deep dive into SDK features and async usage
Configuration
Customize Shannon for your needs
Troubleshooting
Task stays in 'running' state
Task stays in 'running' state
Check the logs for errors:Common causes:
- Invalid LLM API key
- LLM provider rate limiting
- Network connectivity issues
Authentication errors
Authentication errors
Shannon runs with authentication disabled by default (
GATEWAY_SKIP_AUTH=1). If you’ve enabled auth, include an API key:High costs / token usage
High costs / token usage
Budget limits are configured at the platform level via environment variables:For per-task monitoring, check costs via the status endpoint or streaming events.