Skip to main content

edge-ai-lab

A lab for edge AI — the exploration engine for the mesh's edge and local-model work: designs, runs and compares experiments across edge hardware and model stacks, then hands proven configurations to lobes-cli, which is the runtime that serves them.

Where it sits

  • lobes-cli (binary lobes) is the runtime this lab feeds. lobes runs, assesses, and switches the local vLLM fleet the Culture mesh consumes, tuned per card by machine profiles and composed per box by deployment shapes. A configuration this lab proves lands there — as a profile/shape value, a catalog entry, a per-model doc, or an evidence transcript — via a PR or issue on that repo.
  • sparkrun is the recipe-driven launcher for inference workloads on one or more NVIDIA DGX Sparks (vLLM / SGLang / llama.cpp, multi-node tensor parallelism). It is the natural experiment runner for Spark-class arms: an arm is a recipe YAML.
  • dgx-spark-cli / rtx-spark-cli operate the boxes themselves (setup, health, monitoring).

Current state: this repository is the mesh-agent scaffold — identity, agent-first CLI, vendored skill kit, CI/publish baseline. The experiment harness and results store are not built yet; the conventions they must follow (evidence-before-claims, benchmark-the-incumbent-first, keep unadopted experiments on record) are documented in CLAUDE.md.

What you get

  • An agent-first CLI cited from teken (afi-cli) — the runtime package has no third-party dependencies.
  • A mesh identityculture.yaml (suffix: edge-ai-lab, backend: colleague) and the matching resident prompt file AGENTS.colleague.md.
  • The canonical guildmaster skill kit under .claude/skills/, vendored cite-don't-import. See docs/skill-sources.md.
  • A build + deploy baseline — pytest, lint, the agent-first rubric gate, and PyPI Trusted Publishing wired into GitHub Actions.

Quickstart

uv sync
uv run pytest -n auto                 # run the test suite
uv run lab whoami                     # identity from culture.yaml
uv run lab learn                      # self-teaching prompt (add --json)
uv run teken cli doctor . --strict    # the agent-first rubric gate CI runs

The console script is lab (python -m edge_ai_lab is equivalent).

CLI

Verb What it does
whoami Report this agent's nick, version, backend, and model from culture.yaml.
learn Print a structured self-teaching prompt.
explain <path> Markdown docs for any noun/verb path.
overview Read-only descriptive snapshot of the agent.
doctor Check the agent-identity invariants (prompt-file-present, backend-consistency).
cli overview Describe the CLI surface itself.

Every command supports --json. Results go to stdout, errors/diagnostics to stderr (never mixed). Exit codes: 0 success, 1 user error, 2 environment error, 3+ reserved.

Contributing

Every PR bumps the version (python3 .claude/skills/version-bump/scripts/bump.py <patch|minor|major> — one bump type per run; CI blocks merge otherwise) and goes through the cicd skill (devex pr + SonarCloud gate). Lint is black / isort / flake8 (line length 100) / bandit / markdownlint plus teken cli doctor . --strict. Full conventions — worktree placement, memory discipline, the ask-colleague reflex, the hand-off contract to lobes-cli — are in CLAUDE.md.

License

Apache 2.0 — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edge_ai_lab-0.7.1.tar.gz (168.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edge_ai_lab-0.7.1-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file edge_ai_lab-0.7.1.tar.gz.

File metadata

  • Download URL: edge_ai_lab-0.7.1.tar.gz
  • Upload date:
  • Size: 168.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for edge_ai_lab-0.7.1.tar.gz
Algorithm Hash digest
SHA256 a96c013e30c157db1bd6985387ebc2018f2944157b721cf6f68ff0f560511c66
MD5 9d6d9411eae0bbcb8fee4db979cff97b
BLAKE2b-256 0501c93c41817fa1b692b55d0f55bb183847577ce5205235971320536d24e2f6

See more details on using hashes here.

File details

Details for the file edge_ai_lab-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: edge_ai_lab-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for edge_ai_lab-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8128941c6f861d1a2b099ed738a52008052a919076f5db3bd1a827362b0a3ced
MD5 988efaaeff23ee719513e7aa52e0d7b4
BLAKE2b-256 54dc19f8d44cd796b0e1afe785f7432649cd1604d0bb8d220391f3ee0201b57e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.0

2 files

This release

0.7.1 This release

2 files

0.7.0

2 files

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