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, resolves runtime.env variables from the host environment with optional defaults, 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.7.tar.gz (20.2 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.7-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zagent_launcher-0.1.7.tar.gz
  • Upload date:
  • Size: 20.2 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.7.tar.gz
Algorithm Hash digest
SHA256 1a031a06f217ecd9c11bce15177e419f2d2e035e612d30722f12c111fdc59fa3
MD5 bf5ee9a6e6f20a9ef2c857e59400663d
BLAKE2b-256 da773d1cbcbabf0f5cec14825604641e583b19badc7744a4b2a7078316f6ab39

See more details on using hashes here.

Provenance

The following attestation bundles were made for zagent_launcher-0.1.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: zagent_launcher-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 36.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 46379b868832a8cf3775e7528f7a2aba47db21fafb9f9cbb7df784fa19c18584
MD5 db63ccd0e73af61a72eca71f276259b9
BLAKE2b-256 d6d0d2d05022abd855c5181d45c7908b0c09e56db86df4807c9e450f454e73a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for zagent_launcher-0.1.7-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