Skip to main content

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:
You’ll receive a response like:

Check Task Status

Use the task_id to check the status:
Response:

Stream Events in Real-Time

Shannon supports Server-Sent Events (SSE) for real-time updates:
You’ll see events as they happen:

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 the mode 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

Check the logs for errors:
Common causes:
  • Invalid LLM API key
  • LLM provider rate limiting
  • Network connectivity issues
Shannon runs with authentication disabled by default (GATEWAY_SKIP_AUTH=1). If you’ve enabled auth, include an API key:
Budget limits are configured at the platform level via environment variables:
For per-task monitoring, check costs via the status endpoint or streaming events.