Zen Agent SDK - A Python SDK for building AI agents
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zgent-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
zgent-0.1.0-py3-none-any.whl
(5.8 kB
view details)
File details
Details for the file zgent-0.1.0.tar.gz.
File metadata
- Download URL: zgent-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb328d4de346d7e8c2fcddeef8d20c823802cafae4fe8a3b2150ac90498f6712
|
|
| MD5 |
033276db085c46aefb71eac9c2b00d05
|
|
| BLAKE2b-256 |
2fd3394a6759ae4a49594117fe41d08a9516dabe8fbdaa14743232be7c2c8563
|
File details
Details for the file zgent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zgent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a14389fba2423d9d7a4f8a690073b3fb0db7a4e11dc24463bf2383800b2daa8
|
|
| MD5 |
bb5b553b8a917ed355e85424f69ef4f9
|
|
| BLAKE2b-256 |
25702986c60fda2d3b54b20bbe55c8639678b517f4ce860e1b12270ed7d595f1
|