shannon
Shannon is a platform designed to orchestrate workflows using Claude Code, allowing users to create and manage AI agents within teams. It provides a visual interface for building task execution flows, complete with real-time monitoring and analytics. Users can define agents, organize them into teams, and plan tasks, all while tracking their performance. The platform offers a dashboard for quick insights into project status, agent activity, and task completion rates. It's particularly useful for developers and AI enthusiasts who want a structured way to leverage Claude Code for complex tasks. Shannon simplifies the process of managing and optimizing AI-powered workflows, offering a centralized hub for agent creation, team building, and task execution.
Shannon solves the challenge of managing complex AI workflows, especially when using Claude Code, by providing a visual and organized platform. Instead of manually coordinating agents and tasks, users can leverage Shannon's intuitive interface to build, monitor, and optimize their workflows, saving time and improving efficiency.
CAPABILITIES & CONSTRAINTS
README
<p align="center">
<img src="build/appicon.png" width="128" height="128" alt="Shannon" />
</p>
<h1 align="center">Shannon</h1>
<p align="center">
<strong>AI Agent Workflow Orchestration Platform for Claude Code</strong>
</p>
<p align="center">
<img src="https://img.shields.io/badge/Claude_Code-CLI-blue?style=flat-square" alt="Claude Code" />
<img src="https://img.shields.io/badge/Go-1.23-00ADD8?style=flat-square&logo=go&logoColor=white" alt="Go" />
<img src="https://img.shields.io/badge/React-18.2-61DAFB?style=flat-square&logo=react&logoColor=black" alt="React" />
<img src="https://img.shields.io/badge/Wails-v2-red?style=flat-square" alt="Wails" />
<img src="https://img.shields.io/badge/hobby_project-purple?style=flat-square" alt="Hobby Project" />
</p>
---
Create agents, organize them into teams, plan tasks with AI, and monitor execution in real-time. All powered by Claude Code.
Named after [Claude Shannon](https://en.wikipedia.org/wiki/Claude_Shannon), the father of information theory.
> **Note:** This is a hobby project. Built for personal use, shared in case others find it useful.
---
## Dashboard
Real-time metrics, agent performance, task analytics, and activity feeds — all at a glance.
<p align="center">
<img src="docs/screenshots/dashboard.svg" alt="Dashboard" width="100%" />
</p>
- **Stat Cards** — Project, Agent, Team, and Session counts at a glance
- **Live Running Tasks** — See what's actively executing right now
- **Charts** — Task status distribution, session overview, success rate gauge, code review stats
- **Completion Trend** — Track task completion velocity over time
- **Agent Leaderboard** — Performance metrics and model distribution
- **Recent Activity** — Latest sessions and active tasks feed
---
## Visual Team Builder
Drag and drop agents onto the canvas, connect them to define execution flow. Choose from parallel, sequential, or fully custom strategies.
<p align="center">
<img src="docs/screenshots/team-editor.svg" alt="Team Editor" width="100%" />
</p>
- **Drag & Drop Canvas** — Powered by ReactFlow for smooth interactions
- **3 Strategy Presets** — Parallel (all at once), Sequential (chained), or Custom (draw your own DAG)
- **Multi-Model Teams** — Combine Opus, Sonnet, and Haiku agents in a single workflow
- **Visual Edge Editing** — Click to connect, click to remove
---
## Prompt Editor
A purpose-built Monaco code editor for crafting Claude system prompts. Semantic syntax highlighting, intelligent autocomplete, and one-click AI improvement.
<p align="center">
<img src="docs/screenshots/prompt-editor.svg" alt="Prompt Editor" width="100%" />
</p>
- **Semantic Tag Coloring** — 6 categories with distinct colors: Role (emerald), Structure (cyan), Context (sky), Tool (amber), Thinking (violet), Artifact (pink)
- **Smart Autocomplete** — XML tag snippets, `{{variable}}` suggestions, auto-closing tag detection with stack-based matching
- **Hover Documentation** — Hover over any tag name for category and description
- **AI Improve** — One-click prompt enhancement via Claude with explanation, Revert/Keep workflow
- **Full Monarch Tokenizer** — Markdown headings, bold/italic, lists, code blocks, `IMPORTANT:` keywords, template variables — all properly highlighted
- **Custom Theme** — `claude-zinc-dark` with bracket pair colorization and emerald cursor
---
## Session Workspace
Watch your task dependency graph execute in real-time. Chat with agents, review code changes, and manage workflow — all in one split view.
<p align="center">
<img src="docs/screenshots/workspace.svg" alt="Session Workspace" width="100%" />
</p>
- **DAG View** — Interactive task dependency graph with live status updates (completed, running, pending)
- **Live Chat** — Stream agent output as it works, see tool usage in real-time
- **Changes Panel** — Review code diffs with file-level +/-/~ indicators
- **Real-Time Events** — Wails event streaming with 15s polling fallback
- **Session Controls** — Start, Stop, Complete from the workspace header
---
## AI Task Planner
Describe your goal in natural language. The AI analyzes your workspace structure and proposes an optimal task breakdown with dependencies.
- **Workspace-Aware** — Analyzes your codebase structure before planning
- **Auto-Dependencies** — Automatically resolves task ordering
- **Smart Assignment** — Maps tasks to the most suitable agents or teams
- **Accept & Iterate** — Review proposed tasks, re-plan if needed, then accept
---
## All Features
| Feature | Description |
|---------|-------------|
| **Custom Agents** | Create agents with specific models (Opus, Sonnet, Haiku), system prompts, tool permissions, and MCP server connections |
| **Team Workflows** | Organize agents into teams with visual DAG editor — parallel, sequential, or custom execution |
| **MCP Servers** | Connect to Model Context Protocol servers with JSON editor, health checks, and import from Claude |
| **Sessions & Tasks** | Task queues with dependency graphs, retry policies, and automatic test execution |
| **Project Workspaces** | Link repos, configure build/test commands, and manage CLAUDE.md context files |
| **Encrypted Vault** | AES-256 encrypted storage for API keys and environment variables — injected at runtime, never exposed |
| **Code Review** | Hunk-level and file-level diff review with feedback loop and inline Monaco editing |
| **Prompt Improver** | AI-powered system prompt enhancement with explanation and revert capability |
---
## How It Works
```
1. Add Workspace → Link your project, configure build/test commands
2. Create Agents → Specialized agents with models, prompts, and tools
3. Build Teams → Organize agents with visual DAG workflows
4. Launch Session → Plan tasks with AI, execute, monitor in real-time
```
---
## Tech Stack
| Layer | Tech |
|-------|------|
| Desktop shell | [Wails v2](https://wails.io/) (Go + WebView) |
| Backend | Go 1.23, SQLite (GORM) |
| Frontend | React 18, TypeScript, Tailwind CSS |
| Code editor | Monaco Editor (custom claude-prompt language) |
| Graph viz | React Flow (XYFlow) + Dagre |
| State | Zustand (granular selectors) |
| Virtualization | TanStack Virtual (1000+ log entries) |
| AI engine | Claude Code CLI |
---
## Prerequisites
- [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) installed and authenticated
- [Wails v2](https://wails.io/docs/gettingstarted/installation) development environment
- Go 1.23+
- Node.js 18+
## Getting Started
```bash
# Clone
git clone https://github.com/yourusername/shannon.git
cd shannon
# Install frontend dependencies
cd frontend && npm install && cd ..
# Run in development mode
wails dev
# Build for production
wails build
```
## Project Structure
```
shannon/
├── backend/
│ ├── claude/ # Claude Code CLI integration
│ ├── config/ # App configuration & encrypted vault
│ ├── models/ # Data models (Agent, Team, Session, Task...)
│ ├── services/ # Business logic (TaskEngine, Planner, DiffTracker, PromptImprover...)
│ └── store/ # SQLite database operations
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ │ ├── agents/ # Agent editor, ClaudePromptEditor, steps
│ │ │ ├── chat/ # Chat components
│ │ │ ├── dashboard/# Stat cards, charts, leaderboard
│ │ │ ├── layout/ # AppShell, Sidebar
│ │ │ ├── mcp/ # MCP server management
│ │ │ ├── session/ # DAGView, ChatPanel, ChangesPanel
│ │ │ └── team/ # TeamAgentNode (ReactFlow)
│ │ ├── pages/ # Dashboard, Agents, Teams, Sessions, Workspace, Monitor...
│ │ ├── stores/ # Zustand state (session, agent, team, project)
│ │ └── types/ # TypeScript type definitions
│ └── index.html
├── build/ # App icons and build assets
├── app.go # Wails bindings (all exposed methods)
└── main.go # Entry point
```
## Limitations
- Requires Claude Code CLI — this
[truncated…]PUBLIC HISTORY
IDENTITY
Identity inferred from code signals. No PROVENANCE.yml found.
Is this yours? Claim it →METADATA
README BADGE
Add to your README:
