Skip to main content

Zen Agent SDK

A Python SDK for building AI agents.

Installation

pip install zgent

Quick Start

from zgent import Client, AgentOptions, TextMessage

client = Client(api_key="xxx")

agent = client.new_agent(AgentOptions(
    name="worker",
    model="claude-sonnet",
))

@agent.on_message
async def handle(message, ctx):
    await ctx.publish(TextMessage(text="Hello!"))

agent.start()

License

Apache-2.0

Metadata

Release files for zgent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zgent 0.1.0
File Size Uploaded Provenance Actions
zgent-0.1.0.tar.gz 3.3 kB Without provenance Details for zgent-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zgent 0.1.0
File Interpreter ABI Platform Actions
zgent-0.1.0-py3-none-any.whl Python 3 none any Details for zgent-0.1.0-py3-none-any.whl

Total release size: 9.1 kB

Release files / zgent-0.1.0.tar.gz

Download URL zgent-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cb328d4de346d7e8c2fcddeef8d20c823802cafae4fe8a3b2150ac90498f6712
BLAKE2b-256 checksum
How to use checksums
2fd3394a6759ae4a49594117fe41d08a9516dabe8fbdaa14743232be7c2c8563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / zgent-0.1.0-py3-none-any.whl

Download URL zgent-0.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a14389fba2423d9d7a4f8a690073b3fb0db7a4e11dc24463bf2383800b2daa8
BLAKE2b-256 checksum
How to use checksums
25702986c60fda2d3b54b20bbe55c8639678b517f4ce860e1b12270ed7d595f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for zgent 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page