What are Agents in Superset?
In Superset, an “agent” refers to any CLI-based coding assistant that can read, write, and execute code in a terminal environment. Superset doesn’t provide the agents themselves — it provides the infrastructure to run multiple agents in parallel without conflicts.Superset is agent-agnostic. If it runs in a terminal, it runs in Superset. No special integration required.
Universal CLI Agent Support
Superset works with any command-line coding agent by:- Providing isolated workspaces — Each agent runs in its own git worktree with dedicated terminal sessions
- Monitoring agent activity — Superset detects when agents make changes or need attention
- Enabling parallel execution — Run 10+ agents simultaneously without interference
- Offering notification hooks — Agents can notify Superset when they’re ready for review
Supported Agents
Superset has been tested with the following CLI coding agents:Claude Code
Anthropic’s official CLI coding agent.Status: Fully supported
Launch:
Launch:
claude codeOpenCode
Open-source AI coding agent.Status: Fully supported
Launch:
Launch:
opencodeCodex CLI
OpenAI’s Codex command-line interface.Status: Fully supported
Launch:
Launch:
codexCursor Agent
Cursor’s terminal-based agent mode.Status: Fully supported
Launch:
Launch:
cursor agentGemini CLI
Google’s Gemini coding assistant.Status: Fully supported
Launch:
Launch:
geminiGitHub Copilot
GitHub Copilot CLI for terminal.Status: Fully supported
Launch:
Launch:
gh copilotAny CLI agent will work. The agents listed above have been explicitly tested, but Superset’s architecture supports any terminal-based tool.
How to Run Agents in Workspaces
1. Create a Workspace
First, create a workspace for your task:2. Launch Your Agent
Open a terminal in the workspace and launch your agent:- Read and modify files in the worktree
- Install dependencies
- Run build commands
- Make git commits
- Start development servers
3. Monitor Agent Progress
Superset automatically detects agent activity:- Running: Agent is actively working
- Review: Agent has made changes and is waiting for feedback
- Idle: Agent has finished or is waiting for input
Workspaces with agents needing attention show an orange indicator in the sidebar.
4. Review Changes
When the agent finishes:- Switch to the workspace (
⌘[1-9]or click in sidebar) - Open the Changes panel (
⌘L) to view diffs - Review all modified files
- Give feedback or merge the changes
Agent Monitoring and Notifications
Superset integrates with agents through a notification system:Automatic Detection
Superset monitors terminal output for agent activity patterns:- File modifications detected via git status
- Process completion signals
- Custom notification hooks (see below)
Agent Notification Hooks
Agents can explicitly notify Superset using a special command:- Claude Code: Wrapper at
~/.superset/wrappers/claude - OpenCode: Plugin at
~/.opencode/plugins/superset-notify.js - Codex: Wrapper at
~/.superset/wrappers/codex - Cursor: Hook script via
.cursor/hooks.json - Copilot: Hook script via
.github/copilot/hooks.json
How agent wrappers work
How agent wrappers work
Agent wrappers are thin shell scripts that:
- Call the real agent binary
- Monitor the agent’s exit status
- Send a notification to Superset when complete
- Pass through all output unchanged
Real Examples of Agent Commands
Here are practical examples of running agents in Superset workspaces:Example 1: Feature Development
Example 2: Bug Fix
Example 3: Refactoring
Example 4: Documentation
Example 5: Test Writing
Running Multiple Agents in Parallel
The real power of Superset is running many agents at once:Agent Environment Variables
Agents running in Superset workspaces have access to special environment variables:| Variable | Description | Example |
|---|---|---|
SUPERSET_WORKSPACE_NAME | Name of the current workspace | "add-oauth-integration" |
SUPERSET_ROOT_PATH | Path to the main repository | "/Users/you/projects/my-app" |
Agent Isolation and Safety
Superset ensures agents can’t interfere with each other:Filesystem Isolation
Each workspace has its own working directory via git worktrees. Agents can’t accidentally modify files in other workspaces.
Branch Isolation
Each workspace works on its own git branch. Commits from one agent never affect another agent’s branch.
Port Allocation
Each workspace gets a dedicated range of 10 ports to avoid port conflicts when running dev servers.
Process Isolation
Terminal sessions are fully isolated. Killing processes in one workspace doesn’t affect others.
Best Practices
1. Give Clear Instructions
Agents work best with specific, well-defined tasks: ✅ Good: “Add input validation to the signup form using Zod, including email format and password strength checks” ❌ Bad: “Fix the signup form”2. Review Agent Output
Always review agent changes before merging:- Open the Changes panel (
⌘L) - Check all modified files
- Run tests to verify correctness
- Give feedback if changes need iteration
3. Use Descriptive Workspace Names
Name workspaces after the task, not the agent: ✅ Good: “Add OAuth Integration” ❌ Bad: “claude-task-1”4. Iterate in the Same Workspace
If an agent’s output needs improvement, give it feedback in the same workspace rather than creating a new one. This maintains context.5. Clean Up After Merging
Delete workspaces after merging their changes to keep your workspace list manageable.Troubleshooting
Agent not showing as 'Review' status
Agent not showing as 'Review' status
If Superset doesn’t detect when your agent finishes:
- Check if agent wrappers are installed (see Configuration)
- Manually trigger review by right-clicking the workspace
- Set up custom notification hooks for your agent
Agent can't access files
Agent can't access files
Make sure you’re running the agent inside the workspace’s terminal, not your main repository terminal. Each workspace has its own working directory.
Port conflicts between workspaces
Port conflicts between workspaces
Each workspace gets a dedicated port range (10 ports). If you need more ports, configure custom port allocation in your setup scripts.
Agent running out of memory
Agent running out of memory
Reduce the number of concurrent agents or increase your system’s available memory. Close workspaces you’re not actively using.
Next Steps
Workspaces
Learn more about workspace isolation
Presets
Create presets to auto-launch agents
Configuration
Set up agent notification hooks
Worktrees
Understand git worktree mechanics