AgentSwarm provides a browser-based terminal that connects directly to a task’s Docker workspace container. You can open it from the task detail page to run an interactive Codex or Claude agent session, or to access a restricted Git shell for manual branch and diff operations — all without leaving the browser.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/coretracker/agentswarm/llms.txt
Use this file to discover all available pages before exploring further.
Terminal Modes
Two terminal modes are available, selected when you open the terminal.Interactive
Launches a full interactive Codex or Claude session inside the task workspace. The agent runs in real time and any file changes it makes are tracked as workspace changes, which then appear as a change proposal (checkpoint) when the session ends.
Git Terminal
Launches a restricted Alpine-based shell with only
git, vim, and diff3 available. Use this for manual Git operations — inspecting diffs, resolving conflicts, or staging changes — without the risk of running arbitrary commands inside the workspace.Starting a Terminal Session
Open the task detail page
Navigate to the task you want to work in. The terminal button is available in the task actions area.
Choose a mode
Select Interactive Terminal to run Codex or Claude interactively, or Git Terminal for the restricted shell.
The terminal is unavailable while a task is queued or actively running an automated build or ask job. Finish or cancel the current run before opening a terminal session. Only one terminal session can be active per task at a time.
Interactive Session
The interactive mode runs the agent — Codex or Claude, matching the task’s configured provider — inside the same workspace the automated runs use. The session uses the same model and reasoning effort profile configured on the task.- Codex sessions start with
--dangerously-bypass-approvals-and-sandboxand-C /workspaceso all changes target the task workspace. - Claude sessions start with auto-updater disabled and
disableBypassPermissionsModeset. - Provider session state (the session ID file) is persisted across terminal sessions for the same task, so you can resume a conversation if the connection drops.
- Repository environment variables and secrets configured on the repository are injected into the container at session start.
awaiting_review, just like after an automated build run. You can then apply, reject, or revert the changes from the task detail page.
Git Terminal
The Git terminal mode uses a separate minimal image (GIT_TERMINAL_IMAGE) built from tools/codex-web-terminal/Dockerfile.git. It provides:
git— for all standard Git operationsvim— for editing files directly in the workspacediff3— for manual conflict resolution
/workspace. Your Git identity (name and email) is configured automatically from the task’s repository settings. A GitHub token (if configured in Settings) is available inside the container for authenticated Git operations.
Session Lifecycle
Each terminal session produces structured lifecycle log messages that appear in the task’s log history:| Event | Message |
|---|---|
| Interactive session started | Interactive terminal session started. |
| Git session started | Terminal session started. |
| Interactive session ended | Interactive terminal session ended. |
| Git session ended | Git terminal session ended. |
| No changes detected (interactive) | Interactive terminal session ended. No workspace changes were detected. |
| No changes detected (git) | Git terminal session ended. No workspace changes were detected. |
| Changes available for review (interactive) | Interactive terminal session ended. Review proposed changes below. |
| Changes available for review (git) | Git terminal session ended. Review proposed changes below. |
Required Docker Images
Three Docker images must be built before interactive terminals are available. These are separate from the automated runtime images.| Environment Variable | Purpose | Default Tag |
|---|---|---|
GIT_TERMINAL_IMAGE | Restricted Git shell container | local/git-terminal:latest |
CODEX_INTERACTIVE_IMAGE | Interactive Codex terminal container | local/codex-interactive:latest |
CLAUDE_INTERACTIVE_IMAGE | Interactive Claude Code terminal container | local/claude-interactive:latest |
tools/codex-web-terminal/ directory: