Construct

Construct is an open-source terminal-based orchestrator and multi-harness manager developed by the construct-worlds organization. It functions as a meta-tool and execution harness for running, isolating, and coordinating various AI coding agents and interactive shell sessions from a unified environment. In day-to-day use, Construct manages multiple agent sessions (such as Claude Code, Codex, or native shell commands) through adapter processes and a background daemon. Users interact via a Terminal User Interface (TUI) or headless CLI, launching sessions with custom titles, working directories, and pass-through arguments directed to the underlying agent CLI or shell. Construct differentiates itself by acting as a daemon-backed multiplexer for AI coding agents rather than a standalone LLM wrapper. It decouples the session lifecycle, adapter dispatching, socket communications, and PTY logging from the underlying AI tools, enabling developers to run and orchestrate diverse tools (like Claude with custom flags or standard shell sessions) simultaneously. Construct is written in Rust and distributed as an open-source project. It provides installation formulas via Homebrew and standard Rust toolchains.

Tags: ai agent, cli, coding agent, developer tools, terminal

Visit Construct

Key features

  • Multi-Harness Orchestration — Spawns and supervises multiple agent CLI harnesses (including Claude, Codex, and standard shell sessions) through unified adapter processes. - Daemon and Socket Architecture — Utilizes a background daemon to manage session states, adapter lifecycles, and IPC socket connections independently of UI processes. - Transparent Argv Forwarding — Pass flags and command arguments directly through the construct new command to the underlying agent CLI or tool. - TUI and Headless Execution — Run sessions interactively inside a dedicated Terminal User Interface or execute headless workflows using the --no-tui flag. - PTY Session Logging — Captures terminal pseudo-TTY output and logs across concurrent agent sessions for monitoring and verification.

Use cases

Use Case: Orchestrating Multiple AI CLI Agents Developers can initiate and manage parallel sessions of different AI coding assistants (such as Claude Code and Codex) alongside standard shell tasks within a single orchestrated environment, passing specific model parameters and flags to each harness.

Use Case: Headless Automated Agent Execution Engineers can script agent executions and verification suites in CI/CD or local automation using the --no-tui flag, allowing daemon-driven agents to run specific prompts and capture output programmatically.

Use Case: Isolated Task Execution with Shell Harnesses Developers can run dedicated background processes, log watchers, or test suites directly through the shell harness adapter using commands like construct new --title "server logs" shell -lc 'tail -f server.log' alongside active coding agents.

Who it is for

Construct is intended for software engineers and DevOps professionals who frequently run multiple AI terminal agents and want a centralized harness to manage, multiplex, and automate them. It is less suited for developers looking for a simple standalone conversational AI wrapper or an all-in-one IDE GUI extension.

Install guide

Installation Install Construct using Homebrew (macOS/Linux): bash brew install construct-worlds/construct/construct Or build from source using Cargo if working with the Rust repository: bash git clone https://github.com/construct-worlds/construct.git cd construct cargo build --release

First Run Ensure the Construct daemon is available and your underlying agent tools (such as Claude CLI or Codex) are configured with appropriate environment variables and API keys.

Example Session Launch a new Claude session passing specific model parameters: bash construct new claude --model opus Run an agent with a specific initial prompt in non-interactive mode: bash construct new --prompt "fix tests" codex --approval-mode never Run an arbitrary shell harness command with custom titles: bash construct new --title "server logs" shell -lc 'tail -f server.log'

Part of CLI Coding Agents

Categories: AI Coding Agents, Code Assistants, Developer Tools

Related CLI agents

  • Warp — Warp is an AI-integrated terminal emulator and CLI workspace built by warpdotdev. Engineered in Rust with native GPU rendering, Warp…
  • Amazon Q Developer CLI — Amazon Q Developer CLI is an open-source command-line coding assistant developed by Amazon Web Services (AWS). Built primarily in Rust,…
  • darce-cli — darce-cli is an open-source terminal coding agent created by Amer Sarhan. Built in TypeScript with an Ink-powered terminal UI, it…
  • Even — Even is an agent-native desktop workspace and orchestration environment developed by Todience, Inc. It integrates a native terminal, an embedded…
  • CLAII — CLAII is an open-source terminal-based AI coding assistant developed by agencyswarm. Built in Python, it serves as a lightweight CLI…
  • Repomon — Repomon is an open-source developer harness and repository companion tool created by Ali Hamza Azam. Built with a Rust core…
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories