Metadata-Version: 2.4
Name: urace
Version: 0.8.4
Summary: Persistent autonomous Product-evolution control plane
License: Apache-2.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: cryptography<51,>=50
Requires-Dist: zeroconf<1,>=0.148
Requires-Dist: kademlia<3,>=2.2
Requires-Dist: miniupnpc<3,>=2.2
Provides-Extra: evm
Requires-Dist: pysha3<2,>=1.0; python_version < "3.13" and extra == "evm"
Requires-Dist: eth-account>=0.10; extra == "evm"
Provides-Extra: report
Requires-Dist: openpyxl; extra == "report"
Provides-Extra: media
Requires-Dist: Pillow; extra == "media"
Provides-Extra: telemetry
Requires-Dist: opentelemetry-sdk>=1.20; extra == "telemetry"
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.20; extra == "telemetry"
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Requires-Dist: pytest-xdist>=3; extra == "test"
Requires-Dist: pytest-testmon>=2; extra == "test"
Provides-Extra: all
Requires-Dist: urace[evm,media,report,telemetry]; extra == "all"

# URACE

**Autonomous improvement. P2P feature market. Token rewards for every contribution.**

Type a goal — URACE executes, verifies, and checkpoints. Borrow proven features from peers instead
of building from scratch. Mint yours and earn when others borrow them. Run a node and earn for
every delivery, relay, or block you seal.

Open-source, community-governed.

→ **[Full documentation: github.com/joaoalbertocsjunior/URACE](https://github.com/joaoalbertocsjunior/URACE)**

---

## Install

```sh
# one-liner (Linux / macOS / WSL):
curl -fsSL https://raw.githubusercontent.com/joaoalbertocsjunior/URACE/main/install.sh | sh

# pip:
pip install urace

# npm:
npm install -g urace-cli

# Homebrew:
brew install urace

# conda:
conda install -c conda-forge urace
```

```sh
export ANTHROPIC_API_KEY=...  # or OPENAI_API_KEY
urace start                   # boot daemon, wire executor, join P2P
```

## Update

```sh
# one-liner (re-run installer):
curl -fsSL https://raw.githubusercontent.com/joaoalbertocsjunior/URACE/main/install.sh | sh

# pip:
pip install --upgrade urace

# npm:
npm install -g urace-cli@latest

# Homebrew:
brew upgrade urace

# conda:
conda update -c conda-forge urace
```

---

## Daily use

```sh
urace start                      # boot
urace                            # open shell — type goals, rules, context, questions
urace status                     # see health, goals, decisions, activity
urace stop                       # shutdown
```

Inside the shell:

```
> improve test coverage and reduce build time
→ Goal added

> never modify database migrations without a review
→ Rule added (prohibition)

> /events --follow               # live activity tail
> /status                        # daemon + network status
```

---

## Core commands

| Command | What it does |
|---------|-------------|
| `urace start` | Boot daemon + join P2P network |
| `urace` | Open shell (your main workspace) |
| `urace status` | Health, goals, decisions, activity |
| `urace source add --kind <kind>` | Connect data, executors, metrics, github, peers |
| `urace config` | Change settings |
| `urace update` | Apply spec updates |
| `urace stop` | Shutdown |

→ [5-minute guide](https://github.com/joaoalbertocsjunior/URACE/blob/main/docs/reference/ux-guide.md) · [Full reference](https://github.com/joaoalbertocsjunior/URACE/blob/main/docs/reference/ux-surfaces.md)

---

## Run from source (without pip install)

Python 3.11+, no third-party runtime dependencies.

```sh
cd /path/to/project
pip install -e runtime           # installs `urace` command from local source
urace start
```

Or without installing:

```sh
cd /path/to/project/runtime
python3 -m urace start
python3 -m urace status
```

---

## Connect sources

```sh
urace source add mydb            --kind file     --connect ./data.json
urace source add claude          --kind executor --command claude-code --adapter claude-cli
urace source add                 --kind github   --repo owner/repo
urace source add coverage        --kind metric   --metric-source mydb --metric-path $.coverage
urace source add pass-rate       --kind vital    --numerator passed_tests --denominator total_tests
urace source list
```

Kinds: `file` `csv` `json` `sqlite` `api` `connector` `executor` `metric` `vital` `github` `product` `peer`

---

## P2P / Exchange

```sh
urace exchange node roles --set bootstrap,relay  # restrict to relay+bootstrap only
urace exchange setup-node                        # check NAT, configure roles, print next steps
urace exchange bootstrap add --address https://<ip>:7301
```

```sh
urace status          # network_mode: internet | intranet | hybrid + peer count
```

---

## Tests

```sh
python3 -m unittest discover -s tests -v
```

---

v0.8.4 · Code: [Apache 2.0](https://github.com/joaoalbertocsjunior/URACE/blob/main/LICENSES/Apache-2.0.txt) · Spec: [CSL 1.0](https://github.com/joaoalbertocsjunior/URACE/blob/main/LICENSES/CSL-1.0.txt) · Copyright 2006–2026 Joao Alberto Cambauva dos Santos Junior
