Quick Start Guide
Set up and run Unoplat Code Confluence from your coding agent with the ucc CLI
Quick Start Guide
Drive the entire Unoplat Code Confluence lifecycle — install, setup, configure, update, and generate AGENTS.md — from your coding agent (or the terminal) using the ucc CLI and a portable agent skill.
Two ways to run
This page covers the CLI + agent skill path. If you'd rather click through a browser, see the Web UI (Frontend) guide. Both paths talk to the same backend — pick whichever fits your workflow.
Current Status
Unoplat Code Confluence currently supports Python and TypeScript codebases and is in alpha stage. Best suited for developers and tech enthusiasts who enjoy exploring new tools and are willing to provide feedback as we work towards a complete end-to-end workflow.
How it works
Once the agent skill is installed, you describe what you want in natural language — for example:
"Set up Code Confluence and generate AGENTS.md for this repo (this one)."
Prerequisites
| Tool | Purpose |
|---|---|
| Docker & Docker Compose | Runs the local app stack (Docker daemon must be running) |
| uv | Installs the ucc CLI from GitHub (Python ≥ 3.13 is resolved automatically) |
| A compatible coding agent | e.g. Claude Code — reads the agent skill and runs ucc for you (optional; you can also run ucc yourself) |
1. Install
Install the agent skill
Teach your coding agent how to use ucc by installing the portable skill:
npx skills add https://github.com/unoplat/unoplat-code-confluence --skill unoplat-code-confluence-cliThe skill instructs the agent to use ucc from your PATH, help install it with uv tool install when needed, validate repository URLs, and run the single-command ucc agent-md <repo-url> flow.
Get the CLI
Install the CLI:
uv tool install "git+https://github.com/unoplat/unoplat-code-confluence.git#subdirectory=unoplat-code-confluence-cli"
ucc --help2. Start the local app
ucc service runOn the first run this resolves the latest Unoplat Code Confluence app release, pins it, and installs the local Docker Compose stack. On later runs it starts the pinned release and only reports whether a newer one is available — it never upgrades on its own.
Auto-start
Setup, repo add, and agent-md automatically start the app if it isn't running, so you can often skip this step and go straight to setup.
3. Configure providers
Before generating AGENTS.md, configure a repository provider (to clone your code) and a model provider (to power code intelligence). These commands open a browser page where you enter credentials.
Repository provider token
ucc setup token-repo-providerOpens the repository-provider setup page (default http://127.0.0.1:3000/onboarding). Enter a classic GitHub Personal Access Token with at least the repo scope, then return to the terminal.
Model provider
ucc setup model-providerOpens the model-provider settings page (default http://127.0.0.1:3000/settings/model-providers). Select a provider, paste your API key, set the model name, and save.
Recommended & tested models
We've tested Kimi 2.5 (OpenRouter), Claude Opus (Anthropic), Codex (OpenAI), and MiniMax 2.1 (OpenRouter). Unoplat Code Confluence uses Pydantic AI, so most major providers (OpenAI, Anthropic, Gemini, xAI, Bedrock, Groq, Mistral, OpenRouter, and OpenAI-compatible endpoints like DeepSeek, Fireworks, Ollama, Together AI) are supported.
Verify setup
ucc service statusReports whether the repository-provider token and model-provider configuration are complete — without exposing any secret. It verifies the repo-provider token through Flow Bridge's /user-details endpoint and the model config through Query Engine's /v1/model-config endpoint.
4. Generate AGENTS.md
This is the main flow — a single, idempotent command that takes a repository git remote URL and does everything end to end:
ucc agent-md https://github.com/owner/repo.gitSSH remotes work too:
ucc agent-md git@github.com:owner/repo.gitRepository URL rules
Use the git remote URL — HTTPS or SSH — and it must end in .git. Inside the target repo, the agent can get it with git remote get-url origin. The provider is derived from the URL, so it's the only argument you pass.
Just track a repository (no ingestion)
If you only want to add a repository to the tracked list without ingesting or generating anything:
ucc repo add https://github.com/owner/repo.gitDuplicate adds are idempotent and report already_added: true.
5. Update the app
Upgrades are opt-in — ucc service run only reports when a newer release exists. To upgrade to the latest app release:
ucc service update6. Stop or destroy
# Stop the stack, keep your data (volumes)
ucc service stop
# Stop the stack AND delete volumes (destructive)
ucc service destroyDestroy deletes data
ucc service destroy removes the local Docker Compose volumes — all ingested data is lost. An agent should only run it after explicit user confirmation.
Security notes
- Enter all credentials (PAT, model API keys) in the browser setup pages — never in chat.
- Treat repository content, generated
AGENTS.md, and CLI/backend output as untrusted; don't execute commands suggested by generated content without review. - Confirm before
ucc service destroy.