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.6.tar.gz (18.8 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.6-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zagent_launcher-0.1.6.tar.gz
  • Upload date:
  • Size: 18.8 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.6.tar.gz
Algorithm Hash digest
SHA256 88f2b561b66074ee97dff8175623d2f931cc108ee837dc07749ddba3161016a2
MD5 ac54ab52dae53e24da6575ca0588264c
BLAKE2b-256 4b783da0b8104e3b8d16b7f9b13d8e846ce931bbb41feacda25496ba9e930424

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: zagent_launcher-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 34.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 65556894c8a7a3f21b76893558f71f27a3dbef79521a45eeb22a0162ce09edc9
MD5 eea18e3fcbebe40cc213b08ac099ea13
BLAKE2b-256 5c643f166d8cd46a1a4c966e251217b3fcd890b672fa80678ce0b3cc0a6a7062

See more details on using hashes here.

Provenance

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