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.1.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.1-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zagent_launcher-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a36554417175e51aa78fc75845edd1ba7bf25bf0172fe5ec52f06064173c571b
MD5 ab80a61433d809085e018ce905567889
BLAKE2b-256 ef45aaaf97a97528f6792e4cfdb03eb38548ac0ab2fabc02cd0abddebcf22158

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: zagent_launcher-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b71d87a4ea4451d0174a0503c6277a22e07d979c5b72077389cc94793b7929a2
MD5 b26f3e0a1eaed0da478564d10a0769a2
BLAKE2b-256 2f50fa9e39e88020ad13398cb9287bf3ace418879083905900e95e7c54e2caae

See more details on using hashes here.

Provenance

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