# Repository Briefing: JohnRiceML/clawport-ui
> Source: https://repoforai.com/repo/JohnRiceML/clawport-ui (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/JohnRiceML/clawport-ui
- **Official Docs / Website**: https://clawport.dev
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: C (48/100 · Maintenance 6/35 · Adoption 16/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 901 ★ total (+0 24h / +0 7d) · 122 forks
- **When to Use**: Best for: Teams already running OpenClaw that need one browser interface for agent chat, task assignment, scheduled-job monitoring, and troubleshooting. Skip if: You need a standalone agent runtime, a dashboard spanning multiple independent backends, or offline inference without provisioning a compatible local backend.

## Overview
```text
### Architecture & Core Mechanics
ClawPort is a self-hosted Next.js 16 App Router application that sits between the browser and OpenClaw; it is not an agent runtime. The frontend uses React 19, TypeScript 5, Tailwind CSS 4, and React Flow for the org chart. The server reads agent profiles and memory from `WORKSPACE_PATH`, uses `openclaw cron list` for scheduled-job data, and routes AI requests to the gateway, which defaults to `localhost:18789`.

The integration uses more than one transport. Text uses SSE on `/v1/chat/completions`, vision goes through `openclaw gateway call chat.send`, and Whisper transcription uses `/v1/audio/transcriptions`. Workspace discovery reads the root `SOUL.md` and `IDENTITY.md`, plus agent profiles in nested directories and Markdown files under `sub-agents` and `members`. Override discovered names, colors, hierarchy, or tools in `clawport/agents.json`.

### Key Capabilities & Differentiators
ClawPort brings an auto-layout org chart, agent profiles, chat, and task assignment into the same interface. Chat supports streamed text, image attachments for vision, voice messages with waveform playback, and file attachments; conversations persist locally. Kanban cards support drag-and-drop assignment with chat context. Inference stays behind the gateway: the integration shows a Claude chat path and Whisper transcription, but does not establish a broader compatibility matrix for model providers or attachment formats.

The operational views are especially useful for scheduled workloads. The cron monitor refreshes every 60 seconds, the schedule includes a weekly heatmap, and pipelines have a DAG view with health checks. The cost dashboard analyzes cron-job token usage, including per-job breakdowns, model distribution, anomalies, and cache savings. Historical logs expand to raw JSON, a floating live stream persists across navigation, and the memory browser supports Markdown rendering, search, and downloads.

### Trade-offs & Limitations
Compared with using the OpenClaw CLI alone, ClawPort makes it easier to move between agent hierarchy, conversations, scheduled jobs, and logs. If you only need occasional gateway checks or cron inspection, the CLI avoids adding a Next.js service. A runtime-agnostic dashboard is the better fit for heterogeneous backends: ClawPort's automatic discovery is convenient precisely because it is coupled to OpenClaw's workspace layout, executable, and gateway.

That coupling creates distinct failure paths: text chat can work while CLI-mediated vision or cron inspection fails, so test these paths separately during rollout. The cost views focus on cron jobs and should not be treated as an organization-wide billing ledger. MIT licensing permits commercial deployment, but self-hosting the UI does not settle downstream provider terms or data residency. Verify where attachments and audio go before using the dashboard with sensitive material.

### Hardware & Deployment Guide
Run ClawPort with Node.js 22 or newer, a running OpenClaw gateway, and an accessible OpenClaw workspace and CLI. Install the `clawport-ui` npm package, which exposes the `clawport` command. `clawport setup` detects `WORKSPACE_PATH`, `OPENCLAW_BIN`, and `OPENCLAW_GATEWAY_TOKEN` and writes `.env.local`; if the global package directory is not writable, it falls back to `~/.config/clawport-ui/.env.local`. Use `clawport status` to check connectivity, `clawport dev` for local development, or `clawport start` to build and start the production server.

The dashboard has no model VRAM requirement of its own. Size the Node.js host for concurrent browser sessions and live streams; inference capacity and offline behavior depend on the backend used by the gateway. Before sharing the dashboard beyond the local machine, verify access controls and protect the gateway token and workspace data. No GitHub release is listed; a `CHANGELOG.md` is present, but there is no release milestone to anchor a version-specific deployment assessment.
```

## Key Capabilities
```text
- Agent discovery: Reads workspace Markdown profiles and supports explicit overrides in `clawport/agents.json`.
- Gateway transport: Streams text over SSE, submits vision through the OpenClaw CLI, and sends audio to the gateway transcription endpoint.
- Team coordination: Combines an auto-layout React Flow org chart with drag-and-drop task assignment and chat context.
- Scheduled operations: Checks cron status every 60 seconds and visualizes pipeline DAGs with health checks.
- Usage analysis: Breaks down cron-job token costs by day, job, and model, with anomaly and cache-savings views.
- Troubleshooting: Pairs historical log inspection with a live stream that stays visible across pages and a searchable memory browser.
```

## Quick Start / Clone
```bash
# Install OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash

# Run the onboarding wizard (sets up workspace, gateway, and daemon)
openclaw onboard --install-daemon
```
