Skip to main content

Host-side CLI and Python API for launching ZAgent runtime containers.

Project description

zagent-launcher

Host-side launcher package for the zagent CLI.

The launcher is installed on the user's machine. The runtime is not installed on the host; it is delivered as a Docker image that contains the zagent-runtime entrypoint.

Target user flow:

zagent init
zagent run
zagent status
zagent logs
zagent result

Current implementation:

  • zagent init creates the base .zagent layout and starter files.
  • Dependencies are wired through Dishka.
  • zagent run reads .zagent/run.yaml, validates the model API key env var for real runs, builds Docker SDK run config from ContainerSpec, and starts the runtime image through docker-py.
  • zagent run --dry-run starts the runtime without requiring the model API key env var.
  • zagent status, zagent logs, and zagent result read runtime artifacts from .zagent/artifacts/<run_id>/.
  • zagent doctor is wired through the application layer and intentionally returns "not implemented yet" until environment checks are added.

Local development flow:

docker build -f docker/runtime.Dockerfile -t zagent-runtime:local .
uv run --package zagent-launcher zagent init
uv run --package zagent-launcher zagent run --dry-run
uv run --package zagent-launcher zagent status
uv run --package zagent-launcher zagent result

Architecture and roadmap: ../../docs/launcher.md.

Project details


Download files

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

Source Distribution

zagent_launcher-0.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

zagent_launcher-0.1.0-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file zagent_launcher-0.1.0.tar.gz.

File metadata

  • Download URL: zagent_launcher-0.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zagent_launcher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1df9dc6179a55cb58106c27130d6268fe814e42fdbea2d7c7d56be2e2d67d5d4
MD5 81e61ffdbca91218411d7acf3e9dcdac
BLAKE2b-256 e75cc7352d1aa4eb85de94559730cb93b3f626419642f43a1d8aaa1c23774263

See more details on using hashes here.

Provenance

The following attestation bundles were made for zagent_launcher-0.1.0.tar.gz:

Publisher: release.yml on vfaddey/zagent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zagent_launcher-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zagent_launcher-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zagent_launcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69f3c91db38b807020fc0396b7f9bdfc85e86d4a37077973ed9de9aa3abf5763
MD5 d825ea3dfbf145a1e24eb156ff79ebc8
BLAKE2b-256 68e59ca53279975fa25f7d1fffd2db35c07c5bbfff47a515519aa9c836985cee

See more details on using hashes here.

Provenance

The following attestation bundles were made for zagent_launcher-0.1.0-py3-none-any.whl:

Publisher: release.yml on vfaddey/zagent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page