Skip to main content

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


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)

Uploaded Source

Built Distribution

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

zgent-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for zgent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb328d4de346d7e8c2fcddeef8d20c823802cafae4fe8a3b2150ac90498f6712
MD5 033276db085c46aefb71eac9c2b00d05
BLAKE2b-256 2fd3394a6759ae4a49594117fe41d08a9516dabe8fbdaa14743232be7c2c8563

See more details on using hashes here.

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

Hashes for zgent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a14389fba2423d9d7a4f8a690073b3fb0db7a4e11dc24463bf2383800b2daa8
MD5 bb5b553b8a917ed355e85424f69ef4f9
BLAKE2b-256 25702986c60fda2d3b54b20bbe55c8639678b517f4ce860e1b12270ed7d595f1

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