# opcode

> Desktop GUI app for managing Claude Code sessions, creating custom agents, and running background agents.

- Type: agent or tool
- Field: Coding & Development
- Repository: https://github.com/winfunc/opcode
- GitHub stars: 22465
- Licence: AGPL-3.0
- Language: TypeScript
- Last push: 2026-11-06
- Page: https://imutechz.in/agents/opcode

## What it is
opcode is a desktop GUI application and toolkit for Claude Code, built with Tauri 2. It gives a visual interface for managing Claude Code projects and sessions, creating custom agents with their own system prompts, running agents in the background, and tracking API usage. It is aimed at developers who use Claude Code from the command line and want a more visual way to browse sessions, configure agents, and monitor costs.

## Features
- Visual browser for Claude Code projects and session history with search
- Custom agents with configurable system prompts, models, and permissions
- Background agent execution with run history and logs
- Usage dashboard with cost and token analytics by model, project, and period
- MCP server management with connection testing and Claude Desktop import
- Session checkpoints, branching timeline, restore, and diff viewer

## Best for
- Browsing and resuming past Claude Code sessions
- Building a library of purpose-built agents
- Monitoring Claude API usage and costs
- Managing MCP server configurations from one UI

## Pros
- Provides a GUI over the Claude Code command-line tool
- Automatically detects the /.claude directory on first setup
- Supports running agents in separate processes for non-blocking work
- Includes a built-in editor with live preview for CLAUDE.md files

## Cons
- Requires an existing /.claude directory and Claude Code setup
- Usage alerts are listed as coming soon
- Not affiliated with, endorsed by, or sponsored by Anthropic

## Usage
```
Projects → Select Project → View Sessions → Resume or Start New
```

Tags: claude-code, gui, desktop-app, tauri, ai-agents, session-management, mcp, usage-analytics
