Accessible and customizable agent components that you can copy and paste into your apps. Free. Open Source. Use this to build your own agentic workflows.
👉 Getting Started
Install using uv:
uv add zagen
Install using pip:
pip install zagen
🤩 Feel The Magic
from zagen.agent import OpenAIAgent, OpenAIAgentConfig
from zagen.mcp import MCPServer
def get_weather(loc: str) -> Literal["Sunny", "Cloudy", "Rainy"]:
"""Get the weather of current locations"""
return "Sunny"
triage_agent = OpenAIAgent(
name="Triage Agent",
instructions="""You are the Triage Agent.
""",
mcp={
"weather": MCPServer(
type="lambda",
function=[get_weather],
),
"slack": MCPServer(
type="sse",
url="https://"
),
},
config=OpenAIAgentConfig(
model="gpt-4o",
base_url="",
api_key="",
),
)
Metadata
Release files for zagen 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zagen-0.1.2.tar.gz | 34.7 kB | Without provenance | Details for zagen-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zagen-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for zagen-0.1.2-py3-none-any.whl |
Total release size: 43.5 kB
Release files / zagen-0.1.2.tar.gz
| Download URL | zagen-0.1.2.tar.gz |
|---|---|
| Size | 34.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06eff93fc913219924662941ac9b3b1c88a816c937aed3ba48bf14ca6f60abfe
|
|
BLAKE2b-256 checksum How to use checksums |
8f86f2901019ada0690fce2a5f02caf74124011f2bf0fbfc4c0868daf9d7b047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.11
|
Release files / zagen-0.1.2-py3-none-any.whl
| Download URL | zagen-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07aae970a4d705b5fb9ddc4f03a719f38910256ead22e56bacae43bccf871aef
|
|
BLAKE2b-256 checksum How to use checksums |
8157d0070e15da8a8e418d2a7bdfa62b346905dddbfa8872ac348240e209dbd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.11
|
Security for zagen 0.1.2
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.