Skip to main content

noxus-lab

ci python license

Workflow-as-code for Noxus AI. Build in the UI, edit in your IDE, review in pull requests, run/trace/debug from the terminal.

install

pip install noxuslab
noxuslab init my-noxus-project
cd my-noxus-project
noxuslab doctor

The init wizard prompts for NOXUS_API_KEY and writes a chmod-600 .env. Get the key at Noxus UI → Settings → Workspace → API Keys.

Unreleased commits (between tags) are still installable directly from the git repo:

pip install git+https://github.com/AdvanceWorks/noxus-lab.git@<ref>

where <ref> is a tag (v0.17.0), branch (main), or commit SHA. See RELEASING.md for the release flow.

multi-process scaffold

For repos that automate several end-to-end business processes from a single codebase (one Noxus workspace per process), use noxuslab init --multi-process:

noxuslab init --multi-process --workspace gbe --workspace ausencias my-repo

The scaffold materialises each workspace under ws/<name>/ and emits a generated ws/__init__.py (REGISTRY + PREFIX) as the single source of truth for which workspaces exist and what prefix they use on the platform. A Makefile and the bin/dev.py / bin/deploy.py runners read from there, so adding a new workspace is a one-liner. See [docs/adding_a_workspace.md] in the scaffolded repo for the full recipe; the noxus-ctt repo is a complete reference of what the layout looks like in practice.

one cheat sheet

You want to… Run
Pull a workflow from the UI to code noxuslab pull <workflow-id>
Run it locally + record logs noxuslab run examples/NN_x.py --input k=v
Inspect a past run (logs) noxuslab trace [list | show <id>]
Replay a past run noxuslab replay <run-id>
Review-before-push (dry-run+diff+log) noxuslab check examples/NN_x.py
See server-vs-local diff noxuslab diff examples/NN_x.py
Push a code-defined workflow back noxuslab push examples/NN_x.py
Switch between API-key environments noxuslab env [list | use <name>]
Talk to one of your agents noxuslab chat -a <agent-id>
One-shot question (pipe-friendly) noxuslab ask "..." -a <agent-id>
List workflows / agents noxuslab list / noxuslab agents
Manage agents as code noxuslab agents pull/push/diff/delete
Generate workflow code from a prompt noxuslab gen "..."
Auto-push on save noxuslab watch examples/NN_x.py
Reformat a workflow file noxuslab fmt examples/*.py
Open the local read-only dashboard noxuslab portal
Diagnose env / network / SDK noxuslab doctor
Serve as an MCP tool to your editor noxuslab mcp serve
Upgrade the CLI pip install --upgrade noxuslab

Full reference: docs/cli.md. Concepts: docs/concepts.md. Renderer: docs/codegen.md. MCP server: docs/mcp.md.

review loop

When a teammate builds a workflow in the Noxus UI and you want to review, test, and push back via PR:

noxuslab pull <workflow-id>             # 1. fetch as examples/NN_x.py
noxuslab run  examples/NN_x.py --input topic=...   # 2. run + log
noxuslab trace show <run-id>            # 3. read the logs
noxuslab check examples/NN_x.py         # 4. dry-run + diff + last-trace
git switch -c review/<short>            # 5. branch + commit
git commit -am "review: <workflow-name>"
git push -u origin HEAD                 # 6. open the PR
# ... after PR review ...
noxuslab push examples/NN_x.py          # 7. ship to Noxus

noxuslab check is the single "safe-to-commit?" gate: it dry-runs the file, diffs it against the server (provenance header carries the id, so no UUID needed), and prints the latest local trace status. Exit 0 means clean; exit 1 means fix something first.

why

The Noxus UI is great for sketching. Code is great for diffing, reviewing, sharing, and version-controlling. noxuslab pull <id> turns a workflow built in the UI into a clean Python file you can edit and push back. Examples under examples/ are top-level scripts — read top-to-bottom, no magic.

philosophy

Three rules:

  1. The reader matters more than the writer. Examples are read 100 000 times for every time they're written. Optimise for the reader on day one, sitting in front of 01_hello.py.
  2. Small surface, sharp edges. The package exports workflow_to_python and a CLI. Everything else is private (_term, _net, _secrets, _audit, …). When in doubt about adding something, don't.
  3. Standard library first. Hard deps: noxus-sdk and python-dotenv. Everything else is stdlib.

contributing

See docs/contributing.md and AGENTS.md. Three commands cover the inner loop:

pip install -e ".[dev]"
ruff check . && ruff format .
pytest

CI mirrors that on Linux, macOS, and Windows. Conventional Commits required; pre-commit handles ruff + gitleaks; pre-push runs pytest.

Metadata

Release files for noxuslab 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noxuslab 0.17.0
File Size Uploaded Provenance Actions
noxuslab-0.17.0.tar.gz 118.8 kB With provenance Details for noxuslab-0.17.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for noxuslab 0.17.0
File Interpreter ABI Platform Actions
noxuslab-0.17.0-py3-none-any.whl Python 3 none any Details for noxuslab-0.17.0-py3-none-any.whl

Total release size: 212.0 kB

Release files / noxuslab-0.17.0.tar.gz

Download URL noxuslab-0.17.0.tar.gz
Size 118.8 kB
Tags Source
SHA-256 checksum
How to use checksums
244623931fe4b997576e2747273011a99798bc36063576962805dc5ee7b438e3
BLAKE2b-256 checksum
How to use checksums
9183cd0ba6badfc6a4b38774b7474f3f86017ad58154f30f6131d983966061c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Release files / noxuslab-0.17.0-py3-none-any.whl

Download URL noxuslab-0.17.0-py3-none-any.whl
Size 93.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03ebfdb7b9f787e087cc31c75cc2a62d2c4585c92b451380dd2aca820927314c
BLAKE2b-256 checksum
How to use checksums
fb8b35750d7e4ae10575a727743dd3bca0cb6ae095bdd60998e7e690d5d0a690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

Security for noxuslab 0.17.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for noxuslab-0.17.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 27, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page