Install
uv tool install uclone-x # or: pipx install uclone-x
ucx --help
To try it without installing anything permanently:
uvx --from uclone-x ucx --help
Provider SDKs and the ontology stack are optional extras — install what you use:
pip install "uclone-x[llm]" # Gemini, Claude, OpenAI SDKs
pip install "uclone-x[ontology]" # LinkML, rdflib, networkx
pip install "uclone-x[all]"
Python 3.11 or newer is required.
First run
Configure at least one provider, then start a chat session:
cp .env.example .env # then fill in one API key, or point at a local Ollama
ucx run
ucx run is an interactive terminal REPL with streaming responses, tool calls
and slash commands. A local model needs no API key at all:
OLLAMA_FAST_BASE_URL=http://localhost:11434/v1 OLLAMA_FAST_MODEL=qwen3:8b ucx run
The developer dashboard — an agent and event-bus explorer — is a single command:
ucx dev ui
What UClone-X is
An agent runtime built around a non-blocking reactive event loop rather than a blocking request/response cycle. Agents yield when idle and wake on tool returns, interrupts or messages from other agents. The same event bus carries single-agent execution and multi-agent collaboration on one machine, without an external broker.
- Event-driven agent core — a six-stage reactive state machine over an in-memory priority event bus with backpressure policies and immutable event envelopes.
- LLM-agnostic — Gemini, Claude, OpenAI and local models (Ollama, vLLM) behind one interface, with schema translation and fallback routing.
- Dynamic personas and sub-agents — agents create, supervise and terminate child agents with their own prompts and strict tool boundaries.
- Pluggable sandboxing — host, workspace, container or WASM isolation selected per tool rather than globally.
- Ontology grounding — LinkML domain schemas and a semantic graph the agent reasons against instead of inventing structure per prompt.
- OpenTelemetry native — traces, metrics and OTLP export built in.
Implementation status
UClone-X is pre-1.0 and under active development. Read this section before depending on it.
| Area | State |
|---|---|
| Event bus, agent state machine, sessions | Implemented |
| Tool runtime, MCP client, built-in tools | Implemented |
| LLM connectors (Gemini, Claude, OpenAI, Ollama) | Implemented |
| Sandbox isolation modes | Implemented (host and workspace); container and WASM partial |
| Ontology engine, skills, code intelligence | Implemented, evolving |
| Developer dashboard | Implemented |
| A2A protocol | Specified, not implemented. No conformance is claimed |
Documentation
- Architecture overview
- Event-driven agent core
- Core principles P0–P9 — the normative rules every part of the runtime is built against
- Product requirements
- CLI specification
- LLM-agnostic interface
- Dynamic persona and sub-agent interface
- Local collaboration engine
- Sandbox execution
- Ontology architecture
- Skill system
- Code intelligence (AST, LSP, SCIP)
- Telemetry
- A2A protocol specification
- Security threat model
Development
git clone https://github.com/UClone-AI/uclone-x.git
cd uclone-x
uv sync --all-extras
./ucx test check # ruff format + lint, pyright strict, pytest with branch coverage
./ucx test check is the whole gate: zero ruff findings, zero pyright errors in
strict mode, and the test suite at or above 70% branch coverage. A change that
does not pass it is not ready.
See CONTRIBUTING.md for how patches reach this repository, and docs/local-development-guide.md for the longer setup walkthrough.
About this repository
This repository is the UClone-X runtime and its documentation. It is published
from a private development repository, in periodic snapshots rather than as a
mirror of that repository's history. The evaluation suites and multi-agent
build tooling used to develop it are not part of the published subset; the
runtime detects their absence and degrades cleanly, so ucx eval reports that
no evaluation backend is installed rather than failing to start.
License
Release files for uclone-x 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uclone_x-0.1.0.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uclone_x-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / uclone_x-0.1.0.tar.gz
| Download URL | uclone_x-0.1.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7c2465291595219766a6501efa7c8fd58639839ca65145ce2eadd31ccad4f2d
|
|
BLAKE2b-256 checksum How to use checksums |
f26359460afe61524e342532155f79dff1b64e48427a0ccd25ad4db2b75c7268
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / uclone_x-0.1.0-py3-none-any.whl
| Download URL | uclone_x-0.1.0-py3-none-any.whl |
|---|---|
| Size | 577.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fff2b37ca65077abaed93a1f6d9f7b5757eb2f5c42c372833ba05c60929024ee
|
|
BLAKE2b-256 checksum How to use checksums |
1189a357fe5ecb771bd751e9d9728f10902e1359d39c73b81e383e53c605c27c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|