Skip to main content

Agentic package to build your next AI Workflows

Project description

zagen

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.
    """,
    config=OpenAIAgentConfig(
        model="gpt-4o",
        base_url="",
        api_key="",
        mcp={
            "weather": MCPServer(
                type="lambda",
                function=[get_weather],
            ),
            "slack": MCPServer(
                type="sse",
                url="https://"
            ),
        },
    ),
)

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

zagen-0.1.1.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

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

zagen-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file zagen-0.1.1.tar.gz.

File metadata

  • Download URL: zagen-0.1.1.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.11

File hashes

Hashes for zagen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6e70682d84a49027898e95de98bf8ffdc3fcac322aa4c9534628ea7b3a6b74c3
MD5 a263986ce86e06ac647d9c0e0a6b0972
BLAKE2b-256 fd5a8524507a4546bd6a752dc520a8092ec7a39ae6f7a59ad24fb2e8d727a84f

See more details on using hashes here.

File details

Details for the file zagen-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: zagen-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.11

File hashes

Hashes for zagen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbab8055cc358a6c601505c3089a4ccbf1ccc68501423cf77c1cfbaf092bd065
MD5 1c909c1f15e9a021b8f8c1e671083314
BLAKE2b-256 35a628fe2ced9efbae7e0da7a8b373df91a73455d585b20777755d45a2445951

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