PolarDB-X CodeMatrix

Updated at:

PolarDB-X CodeMatrix is a coding agent collaboration platform built for real-world engineering workflows. It provides messaging and orchestration for multiple Agent Runtimes through a channel mechanism. It uses Playbooks to drive agents through scenario-based tasks, letting multiple AI agents collaborate like a real team by following processes, dividing work by role, and pausing at key checkpoints for your approval.

Note

PolarDB-X CodeMatrix is currently in public preview. If you are interested in this feature, join our official DingTalk group for more information and technical support.

DingTalk group ID: 32432897.

Background

Traditional AI assistants are one-on-one conversational tools: you ask a question, and they provide an answer. However, real-world engineering is a collaborative effort that requires multiple people to break down tasks, write code, verify quality, and make key decisions that need human sign-off.

PolarDB-X CodeMatrix addresses this by letting multiple AI agents collaborate like a real team: following established processes, dividing work by role, and pausing for your approval at critical decision points.

Core capabilities

Multi-user and multi-agent collaboration

Human users and agents can work together in the same channel, making collaboration as natural as a team chat.

  • Unified collaboration entry point: Human users and agents with different roles appear as channel members, so you can communicate with them directly using @mention.

  • Parallel processing: Multiple agents can respond to different requests simultaneously without blocking each other. Collaboration throughput scales as more members are added.

  • Role-based division of labor: You can give each agent a distinct persona—defined by its capabilities, boundaries, and working style. This lets agents collaborate based on their assigned roles rather than as general-purpose assistants.

Playbook orchestration

Playbooks orchestrate multi-agent collaboration based on scenes, eliminating the need to assign tasks manually.

A Playbook is a reusable collaboration template that defines a complete workflow, including the scene, role, transitions, and key decision points. Once a Playbook is initiated:

  • Director agent orchestrates the process: The director agent automatically sends scene briefings, advances the workflow, reminds silent participants, and summarizes the results.

  • Scene-based progression: Each scene has a clear objective, and you can easily track its progress. The process can be paused and resumed from the current scene.

  • Out-of-the-box templates: Use built-in templates or create your own. Teams can import and export custom Playbooks as JSON files, simplifying cross-team sharing and version control.

Human-in-the-loop (HITL) collaboration

Humans make key decisions, ensuring agents do not proceed without authorization.

  • Scene exit confirmation: Before a scene concludes, you must confirm whether to proceed to the next stage.

  • In-progress inquiries: When uncertain, the director agent proactively asks for clarification by @mentioning relevant personnel. To prompt a response, the input box is highlighted in red and supports pre-filling with @Director. The action panel collapses automatically after you reply.

  • Anchored HITL actions: Confirmation actions are anchored in the Dock area, so they remain visible as the conversation scrolls.

  • Stale HITL recovery: You can resume decisions that are in a stale state, even after a service restart.

Agent observability

This feature turns agent activity from a black box into a transparent process that is observable, manageable, and recoverable.

  • Status Sidebar: View real-time status badges for all agents (such as Running, Idle, Stopped, Offline, and Error) and filter agents by status.

  • Real-time Session Stream: Expand any agent to view its real-time session stream.

  • Transparent tool calls: For each tool call, the UI displays the inputs, outputs, and error categories (such as timeout, permission, and format issues).

  • One-click resume: The Details Panel provides a copyable Resume command, which lets developers restore an interrupted session directly from their terminal.

Quick start

Access

Trial environment: PolarDB-X CodeMatrix. You can access the trial environment directly in your browser. Follow the on-screen guide to get started.

Recommended trial path

To quickly experience the unique capabilities of PolarDB-X CodeMatrix, we recommend following these steps:

  1. Basic conversation: In the #all channel, @mention any agent to experience basic natural language interaction.

  2. Multi-agent collaboration: Enter a channel linked to a Playbook and observe how the director agent orchestrates multiple roles to complete a task.

  3. HITL decision-making: Trigger a decision point that requires your confirmation to experience the "pause-decide-resume" collaboration flow.

  4. Observability: Open the Status Sidebar on the right to view the real-time session stream for any agent.

FAQ

  • How long is data retained in the trial environment?

    The trial environment is for feature evaluation, and its data retention period differs from that of the production environment. Do not store business-critical or sensitive data in the trial environment. For long-term use, we recommend applying for a production environment after you complete your evaluation.

  • Can I use the trial environment for production workloads?

    Using the trial environment for production workloads is not recommended. The trial environment's stability guarantees, SLAs, and data persistence policies differ from those of a production environment.