BlogUpdated

Why an AI coding workspace still needs a real terminal

See what a real terminal (PTY) preserves for interactive coding CLIs, what Canopy adds around it, and a quick test for comparing agent workspaces.

On this page

A coding agent CLI is an interactive program with its own prompts, keyboard controls, session state and account. Wrap it in a generic chat panel and you change how it behaves. A real terminal keeps the CLI intact; the workspace around it is where an IDE adds value.

Canopy agent workspace connecting a terminal session with project review context
Canopy agent workspace connecting a terminal session with project review context

The terminal is the agent's native interface

Canopy runs coding CLIs as child processes in Rust-owned pseudo-terminals (PTYs). The CLI gets real terminal input and draws its own output, including full-screen interfaces and confirmation prompts. Canopy streams that output instead of pretending every CLI has the same chat API.

Keep the CLI's controls and account

A real terminal keeps the CLI's model picker, slash commands, permission prompts and login. Canopy adds a launcher and integrations, but isn't the model provider and doesn't pool subscriptions. Integration depth varies: the parity audit shows different resume, hook, usage and edit-attribution support by CLI.

Add the context a terminal can't show

The useful extra layer is project state: which branch the agent owns, files changed, PR checks, running services, the preview and other agents' work. Agent Workspace links sessions to Git, and Servers and Preview show the running result. The agent runs in the CLI; the workspace makes its claims easy to check.

Look at process ownership and failure states

In Canopy, Rust handles PTY creation, streaming, backpressure, scrollback limits, resizing and process-group shutdown, and app exit is a cleanup point. That matters when an agent prints a long log, waits for input, resizes a text UI or leaves a child process behind. A good demo shows those states too.

Run a five-minute comparison test

Use the same CLI and repository in a plain terminal and in Canopy. Start a session, resize the terminal, trigger a permission prompt on a harmless operation, run a local service and review a small diff. Note which controls match, which project facts are easier to find, and whether close and reopen work. That tells you more than ‘AI native’ branding.

Copyable resources

Real-terminal evaluation card

Use the same CLI account and safe sample task in both environments.

CLI/version/platform: [ ]
Repository and task: [ ]
Interactive prompt and keyboard controls: [observed]
Resize/full-screen behavior: [observed]
Permission prompt on safe operation: [observed]
Branch, changed files, PR context: [where visible]
Local service output and preview: [where visible]
Close/reopen or CLI resume: [observed]
Unexpected differences and evidence: [ ]

Frequently asked questions

Does a real PTY make every coding CLI equally integrated?

No. It keeps each CLI's interactive terminal behavior. Session events, resume, usage and file attribution still vary by CLI and Canopy release.

Why use Canopy if a terminal already runs the CLI?

A terminal is enough for one focused session. Canopy adds a workspace for branches, changed files, services, previews and review across agents. Try it on your own workflow.

More questions and answers →

Sources and further reading