Skip to main content

A framework for production AI agents

Project description

Zil

A framework for production AI agents.

PyPI Python License Slack

Documentation · Getting Started · CLI Reference · Community Slack


Zil composes with ADK, A2A, MCP, DeepEval, and OpenTelemetry to provide a declarative manifest format and CLI for building, validating, auditing, packaging, and deploying AI agents.

Install

uv pip install zil-ai

For agent creation with ADK:

uv pip install 'zil-ai[adk]'

Quick start

# Scaffold a new agent project
zil init my-agent
cd my-agent && source .venv/bin/activate

# Validate the project
zil validate

# Security audit
zil audit --fix

# Run the agent interactively
zil run

# Or start the ADK web UI
zil web

Commands

Command Description
zil init Scaffold a new agent project
zil validate Validate project against the manifest schema
zil audit Agent-native security audit (injection, leakage, identity hardening)
zil eval run Run evaluation suites
zil eval generate LLM-powered eval case synthesis
zil run Run the agent interactively
zil web Start the ADK web UI for testing
zil pack Build a versioned .zil archive
zil push Push archives to an OCI-compatible registry
zil deploy Deploy to Google Cloud Run with eval gating

SDK

import zil

root_agent = zil.create_agent(
    tools=[],              # your tool functions
    enable_guardrails=True, # runtime guardrail engine
    enable_telemetry=True,  # OpenTelemetry tracing
    enable_memory=True,     # long-term memory from adapters/memory.yaml
)

See the SDK Reference for the full API.

Long-term memory is framework-neutral and works across ADK and OpenHands — see docs/memory.md.

Example

The examples/hello-agent directory contains a minimal reference agent you can run immediately:

cd examples/hello-agent
uv pip install -r requirements.txt
zil validate && zil audit && zil run

Community

Contributing

We welcome contributions! See CONTRIBUTING.md for development setup, testing, and PR guidelines.

License

Apache-2.0


Built by FluentData

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

zil_ai-0.1.20.tar.gz (468.4 kB view details)

Uploaded Source

Built Distribution

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

zil_ai-0.1.20-py3-none-any.whl (184.7 kB view details)

Uploaded Python 3

File details

Details for the file zil_ai-0.1.20.tar.gz.

File metadata

  • Download URL: zil_ai-0.1.20.tar.gz
  • Upload date:
  • Size: 468.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for zil_ai-0.1.20.tar.gz
Algorithm Hash digest
SHA256 72e70b11c96632830c3ba8cde5226007d68d50d604bf54c94c292a1cd7cb56c3
MD5 b9dd7e7cb2f960988f98c722e822d4d3
BLAKE2b-256 38e6a8a039a4d98ba2190ee34bdf2131bc339a3b85366b41f46081ee101ce73b

See more details on using hashes here.

File details

Details for the file zil_ai-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: zil_ai-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 184.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for zil_ai-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 dd1a981260a4e1ef778f665c91902a2ba4dd48a1c434b0aba395a4fbbf4c51ef
MD5 300d56380c47240b43b9a1b3c544440b
BLAKE2b-256 aea06e5608054f7d7eda37c4e6a0b86943a3cac2b0f68c5aa917eb2ad430782f

See more details on using hashes here.

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