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
)

See the SDK Reference for the full API.

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.19.tar.gz (514.5 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.19-py3-none-any.whl (150.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zil_ai-0.1.19.tar.gz
  • Upload date:
  • Size: 514.5 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.19.tar.gz
Algorithm Hash digest
SHA256 4d2941837db8ca76264e0ea22d765a7f8484237f770a4e1cc35a2ce518882080
MD5 fa5dffb7764a680e3093bbd0ca6416b1
BLAKE2b-256 458ad69020eb9d6829b571103e71449727c012133e789e4fe28d855575a660ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zil_ai-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 150.3 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 6f3e68a8fd5519403b821dfe5f380f7fd7993bfaae1078b73942470fb6d3a3f7
MD5 12dd30ede5cbfec58e33f02a07dd20e0
BLAKE2b-256 0e4973f40cb7852e1c0fad3e4f5f85feaf90573536fa2b326b3f7df5081a598b

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