aiui-code — PraisonAI Code Web UI Plugin
Standalone multi-agent coding workspace Web UI plugin for PraisonAIUI (aiui). Plugs dynamically into PraisonAIUI via Python entry points (praisonaiui.plugins) with zero UI code in praisonaiagents or praisonai-code and zero coding-domain bloat in aiui.
Features
- Workspaces → Parallel Agent Runs: Register multiple local folders/repos, launch concurrent runs, and
Cmd/Ctrl-click a second run for 2-pane split comparison. - Isolated Git Worktrees: Automatic per-run
.praisonai/worktrees/<slug>isolation (backed lazily bypraisonaiagents.GitWorktreeAdapter) with one-click Commit, Merge Worktree, and Discard. - Live Diff Review + Inline Line Comments: Unified & side-by-side split diff viewer; click any line to attach inline review comments and press
Cmd/Ctrl+Enterto send structuredfile:linefeedback directly back to the agent. - Unified Agent Inbox & Per-Agent Approvals: Per-agent
WebApprovalBackendprevents concurrent runs from colliding, syncs to@aiui/sdknotifications, and persists narrow "Allow Always" rules strictly outside cloned repos (~/.praisonai/permissions/). - Multi-Engine Choice: PraisonAI Agent (100+ LLMs / Ollama), Claude Code CLI, OpenAI Codex CLI, Gemini CLI, and Grok CLI.
- Mid-Flight Steering, Interrupts, Checkpoints & OpenShip: Steer running agents mid-flight, restore file checkpoints, run OpenShip Self-Review, or open Draft PRs (never auto-merges).
- Opt-In Terminal & 390 px Mobile Handoff: Structured read-only command logs by default; pass
--enable-terminalfor an interactive workspace PTY. Responsive 4-tab layout on mobile.
Quickstart
pip install aiui-code
aiui code serve --workspace /path/to/your/repo
# → http://127.0.0.1:8766/code
With authentication for remote/Tailscale access:
export GATEWAY_AUTH_TOKEN="your-secret-token"
export AIUI_REQUIRE_TOKEN=1
aiui code serve --workspace /path/to/repo --host 0.0.0.0 --port 8766 --require-auth
List detected engines:
aiui code engines
Full CLI Parity (Control the Live Dashboard)
Every dashboard action is available via aiui code ... or aiui-code ... (supports --url, --token, and --json):
aiui code status
aiui code workspaces list
aiui code workspaces add /path/to/another/repo
aiui code runs start <ws_id> "Add unit tests for auth" --engine praisonai --mode safe --focus
aiui code runs watch <run_id>
aiui code runs steer <run_id> "Use pytest fixtures instead"
aiui code runs message <run_id> "Address review" --comment "app.py:12:Handle None input"
aiui code diff <run_id> --patch
aiui code commit <run_id> -m "feat: add auth tests"
aiui code merge <run_id>
aiui code approvals list --status pending
aiui code approvals approve <approval_id>
aiui code ui --run <run_id> --tab diff # Live-control the open browser dashboard
MCP Server (Let Any Agent Control the Dashboard)
aiui-code exposes 23 MCP tools and 4 live resources (code://status, code://workspaces, code://runs, code://approvals) over both transports:
- Stdio MCP (
aiui code mcp/aiui-code mcp) — for Antigravity, Claude Desktop, Claude Code, Cursor, Codex:aiui code mcp-config --transport stdio
- Embedded HTTP MCP (
POST http://127.0.0.1:8766/api/plugins/code/mcp) — mounted directly on the running dashboard behind PraisonAIUI's auth/origin guards:aiui code mcp-config --transport http
Development
# Frontend (externalizes react & @aiui/sdk)
cd frontend && npm ci && npm test && npm run build
# Backend + plugin contract tests
pip install -e ".[dev]"
ruff check src tests
pytest -v
Metadata
Release files for aiui-code 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiui_code-0.2.1.tar.gz | 67.0 kB | Without provenance | Details for aiui_code-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiui_code-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for aiui_code-0.2.1-py3-none-any.whl |
Total release size: 134.9 kB
Release files / aiui_code-0.2.1.tar.gz
| Download URL | aiui_code-0.2.1.tar.gz |
|---|---|
| Size | 67.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d98e630863275023c77f83f054e0fd758ab7ee0005c127625d0e6a6d4ac15bd2
|
|
BLAKE2b-256 checksum How to use checksums |
cd7fb3a9ddcb1ff716d8a500d751142e32f975499d239136d9515d5614779bb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / aiui_code-0.2.1-py3-none-any.whl
| Download URL | aiui_code-0.2.1-py3-none-any.whl |
|---|---|
| Size | 67.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65d451beaaad51d06dc9caa201cf55a43e9bd69ea73b29fd5c905a57a47e3ea0
|
|
BLAKE2b-256 checksum How to use checksums |
49a3131dee4e5744b3d6c0b4ad79231f16a71d8780fe226c8539b3c937da6500
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for aiui-code 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.