# Tools And Integrations

This page lists the major local tools, protocols, and integrations that make up Matrix and its
plugins. It is not an exhaustive dependency manifest; use package manifests and lockfiles for that.

## Agent And AI Integrations

- Official Cline SDK via `@zonegaze/cline-sdk`
- CLI-driven coding agents surfaced through the runtime agent catalog, including Claude Code,
  OpenAI Codex, Gemini, OpenCode, Factory Droid, and Kiro
- Ollama as the default local chat provider for the Chat plugin
- MCP server support through `@modelcontextprotocol/sdk`
- Deep Research runtime, worker, doctor, verify, and module-run commands through
  `flow/runtime/src/commands/research.ts`
- Shared model-source setup reused by Chat, Flow, Code, Open Design, Research, and Social Studio

## Runtime And Protocol Foundations

- tRPC for the local typed runtime API
- `ws` for runtime and terminal websocket transport
- `zod` for contract validation
- `node-pty` for PTY-backed agent and shell sessions
- xterm for browser terminal rendering
- local hook ingestion and agent wrapper commands through `flow/runtime/src/commands/hooks.ts`

## UI And Host Foundations

- React for plugin and shell UI
- Tailwind CSS and Radix UI for web styling/primitives
- Assistant UI for the Chat plugin runtime surface
- Electron for the desktop host app
- Android native Kotlin plus the owned Zone Terminal runtime backend
- `platforms/server-manager` for managed local server lifecycle and adoption

## Plugin-Specific Integrations

- ZoneGaze Code uses a VS Code OSS source mirror behind Matrix-owned branding and adapters
- Open Design mounts the upstream daemon/web runtime inside Matrix
- Exo mounts the upstream local-cluster dashboard inside Matrix
- Research uses local infrastructure under `infra/deep-research/`
- Git setup can detect optional `lazygit`, but it is not bundled
- Social Studio uses BYO connectors for `cline-sdk`, `ollama`, `exo`, and `custom-api`, with
  runtime orchestration under `flow/runtime/src/social-studio/`

## Repository Tooling

- TypeScript, Vitest, and Playwright for build and test workflows
- Biome for formatting and linting
- TypeDoc plus `typedoc-plugin-markdown` for generated API docs
- `scripts/generate-docs-inventory.mjs` and `scripts/check-docs.mjs` for docs generation/validation

## Owner Docs

- [Flow runtime](../../flow/runtime/README.md)
- [Shared contracts](../../flow/contracts/README.md)
- [Cline SDK boundary](../../packages/cline-sdk/README.md)
- [Platforms package index](../../platforms/README.md)
- [Plugin catalog](../plugins/README.md)
