PolarDB-X CodeMatrix
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.
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
agentswith differentrolesappear as channel members, so you can communicate with them directly using @mention.Parallel processing: Multiple
agentscan 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
agenta distinct persona—defined by its capabilities, boundaries, and working style. This letsagentscollaborate based on their assignedrolesrather 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 agentautomatically sendsscenebriefings, advances the workflow, reminds silent participants, and summarizes the results.Scene-based progression: Each
scenehas a clear objective, and you can easily track its progress. The process can be paused and resumed from the currentscene.Out-of-the-box templates: Use built-in templates or create your own. Teams can import and export custom
PlaybooksasJSONfiles, 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
sceneconcludes, you must confirm whether to proceed to the next stage.In-progress inquiries: When uncertain, the
director agentproactively 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 asRunning,Idle,Stopped,Offline, andError) and filteragentsby status.Real-time Session Stream: Expand any
agentto 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
Resumecommand, which lets developers restore an interruptedsessiondirectly 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:
Basic conversation: In the #all channel, @mention any
agentto experience basic natural language interaction.Multi-agent collaboration: Enter a
channellinked to aPlaybookand observe how thedirector agentorchestrates multiplerolesto complete a task.HITL decision-making: Trigger a decision point that requires your confirmation to experience the "pause-decide-resume" collaboration flow.
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.