Three-Column AI Workspace UI Design: Architecture and Implementation
This article breaks down the interface design logic behind three-column AI workspaces used in AI coding tools and assistants. It explains why separating capabilities, task execution, and results reduces cognitive load, then presents a reusable technical architecture: a capability registry model for the left panel, an explicit state machine for the center panel, and a traceable artifact and change model for the right panel. Includes implementation notes and sample JSON structures.
In AI coding tools and AI assistant products, the three-column layout is becoming a mainstream interaction pattern. It is not just visual partitioning: it maps the chain of capability supply, task execution, and result consumption onto the interface, so users can go from intent input to output review within a single view. This article starts from the interface structure, abstracts a reusable technical architecture, and outlines implementation details with sample code.
1. Why Three Columns: Splitting Cognitive Load
The problem with a single-column chat is mixed responsibilities: capability selection, context preparation, execution progress, and result preview are all squeezed into one timeline. As tasks grow longer, users have to scroll back repeatedly to find a file or a specific change, which makes rebuilding context expensive.
The three-column layout is essentially separation of concerns:
- The left column answers “what capabilities do I have” and serves as the catalog and entry point for capabilities.
- The center column answers “what am I doing and what is happening now” and is the main channel for intent and state.
- The right column answers “what was produced and what changed” and is where artifacts land and get reviewed.
This split means each column has a naturally different update frequency: the left column changes slowly (the capability set is relatively stable), the center column changes fast (streaming output, step progression), and the right column updates on events (file generation, version changes). Once partitioned, rendering and state management can be optimized independently at their own frequencies, avoiding full-page redraws.
2. Left Column: An Abstract Model for Capability Management
The capability area typically holds entries such as tasks, assistants, projects, expert roles, automation flows, knowledge bases, and skills. Abstractly, it is a registration and discovery layer for “capability units,” where each unit carries at least four kinds of metadata:
{"id": "cap_001","kind": "skill", // task / assistant / project / expert / automation / kb / skill"name": "Document structured extraction","inputSchema": { "type": "object" },"outputSchema": { "type": "object" },"scope": ["workspace:ws_01"], // visibility and permission boundary"version": "1.4.0"}
Three engineering points are worth emphasizing. First, unified capability descriptions: whether the underlying implementation is a prompt template, a retrieval-augmented flow, or an external function call, it should expose a consistent input/output contract to the layer above, so the center column can orchestrate everything the same way. Second, permissions and visibility: projects and knowledge bases often involve data boundaries, so the capability discovery interface must filter by tenant and workspace to avoid unauthorized visibility. Third, versioning and gradual rollout: when capabilities iterate frequently, version numbers and rollout scope control who gets which version, and problems can be rolled back quickly.
3. Center Column: A State Machine for Task Execution
The center column is the most complex part. It has to handle instruction input, file uploads, model selection, skill binding, and workspace selection at the same time. It is best modeled as an explicit state machine rather than scattered boolean flags:
IDLE -> COLLECTING -> QUEUED -> RUNNING -> (WAITING_INPUT)-> SUCCEEDED-> FAILED / CANCELLED
Several key designs:
- Intent collection and slot filling. Treat “instruction + attachments + model + skill + workspace” as slots, and fill missing ones by asking follow-up questions instead of failing outright.
- Streaming and interruptible. Execution progress is pushed as incremental events (token deltas, step start/end, tool calls), and users can cancel at any time; the server must guarantee resource release and cleanup of partial state after cancellation.
- Idempotency and retries. Each task submission carries an idempotency key, so retries caused by network jitter do not produce duplicate side effects, especially for operations that write files.
- Context assembly. User input, retrieved snippets, and history summaries are assembled by priority; when the limit is exceeded, trim in the order of “recent conversation > current task constraints > long-term reference material.”
A sample task submission payload:
{"idempotencyKey": "task-2026-0824-0001","workspace": "ws_01","instruction": "Turn the table in the attachment into structured data and generate a report","attachments": ["file_88"],"model": "general-purpose","capabilities": ["skill:extract", "kb:policy"],"stream": true}
4. Right Column: Traceability in the Results Area
The results area shows generated files, workspace materials, change records, and web previews. Its real value is not that you “can view” things, but that everything is traceable and rollback-able. A manifest of artifacts and a change set should be created for each execution:
{"taskId": "task-2026-0824-0001","artifacts": [{ "path": "report.md", "bytes": 18432, "mime": "text/markdown" }],"changes": [{ "path": "data.csv", "op": "update", "diffRef": "diff_77" }],"preview": { "type": "web", "url": "internal://preview/0001" }}
Implementation points include: binding artifacts tightly to tasks so they can be cleaned up per task; recording changes as diffs to support per-item review and selective rollback; rendering previews in a sandbox to isolate the risk of script execution; placing large files and static assets in object storage while the interface holds only references, avoiding transferring large objects within a session. If auditing is required, change events can be written to a logging service with monitoring and alerting configured, including threshold alerts for failure rates and overly long tasks.
5. How the Three Columns Work Together: Data Flow of a Complete Task
- The user selects a skill and knowledge base in the left column; the system validates permissions and generates a capability context.
- The center column submits the task, it enters the queue, and a task identifier is returned.
- During execution, progress is pushed back through an event stream, and the right column refreshes incrementally on artifact events.
- On completion, the right column shows diffs and a preview, and the user adds follow-up instructions in the center column for multi-turn iteration.
- State and artifact references throughout the process are persisted, so a refresh or a device switch can restore the session.
The most error-prone part here is state consistency: the center column shows “completed” while the right column has no artifacts yet, usually caused by event ordering or eventual consistency delay. In practice, the server should be the source of truth for the terminal task state, and the frontend should pull the artifact manifest once after the terminal state to align.
6. Common Anti-Patterns and Improvements
- Making capability selection a deep modal: it adds click cost, so use a searchable lightweight list laid out flat instead.
- Showing only a progress percentage: without readable steps, users cannot tell where things are stuck, so expose step-level events.
- Artifacts that cannot be rolled back: once the original file is overwritten it is hard to recover, so keep versions and diffs by default.
- Validating permissions too late: filter at the capability discovery stage rather than throwing errors at execution time.
- Unbounded context growth: set a budget and a summarization strategy to control latency and cost.
7. Conclusion
The value of a three-column AI workspace lies in modeling capabilities, execution, and artifacts separately, optimizing each on its own, and then linking them into a closed loop with a unified event and state model. For developers, focusing on three main threads—unified capability contracts, explicit task state machines, and traceable artifact changes—is enough to build a smooth and engineering-controllable AI application interface on general cloud infrastructure such as Baidu AI Cloud.
