Skip to main content

LLMs in Zen mode

Project description

zerozen

Your hyper-personal, always-on, open-source AI companion.

Dedicated to the creators of Zero — Aryabhatta and Bhaskara ✨

zerozen CLI

Table of Contents


Installation

pip install git+https://github.com/aniketmaurya/zerozen.git

Usage

Convert Pydantic Models to XML

from zerozen import pydantic_to_xml
from pydantic import BaseModel


class User(BaseModel):
    name: str
    age: int


user = User(name="John", age=30)
xml_string = pydantic_to_xml(user)
print(xml_string)

Output:

<User><name>John</name><age>30</age></User>

Chat Interface

zen chat

Gmail Search Tool

Now integrated with a Gmail search feature via OpenAI Agents.

Setup

  1. Place credentials.json (OAuth credentials) in the project root.
  2. Run this tool to set up Gmail search for your agent:
zen setup-gmail

Example usage in Python:

from zerozen import agents

prompt = "Find emails from Stripe with invoices in the last 7 days."

result = agents.run(
    prompt,
    tools=["search_gmail"],
    user_context={"email_user_id": "me"},
)
print(result)
  • The agent uses search_gmail to locate matching emails and returns snippets like sender, subject, date, and snippet.
  • The search tool works out-of-the-box once authenticated and ready.
  • Perfect for building more sophisticated workflows—replying, summarization, reaction automation, and more.

Roadmap

Feature Status
Pydantic-to-XML
CLI Chat Interface
Gmail Integration (search)
Gmail Agent: Read, Draft, Reply 🔳 Planned
“Review & Send” workflow 🔳 Planned
Multi-tool Agents (email, calendar, docs...) 🔳 Planned

Contributing

Contributions are welcome! We recommend:

  • Opening an issue to suggest features or report bugs
  • Submitting pull requests with clear descriptions and tests

Enjoy the Zen of zero-friction AI tooling!

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

zerozen-2025.8.9.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

zerozen-2025.8.9-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file zerozen-2025.8.9.tar.gz.

File metadata

  • Download URL: zerozen-2025.8.9.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zerozen-2025.8.9.tar.gz
Algorithm Hash digest
SHA256 e195f4b302265fb04258d1c89a49730741586b2d0ef87afb35e2fbac6b1c2f3c
MD5 ad9459d1281b0e6e03879af9817eb0ef
BLAKE2b-256 03b2962a6bbc95dce19ac5f0cc5efa31bb8c590f31e0ef502489f4239a888417

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerozen-2025.8.9.tar.gz:

Publisher: release.yml on aniketmaurya/ZeroZen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zerozen-2025.8.9-py3-none-any.whl.

File metadata

  • Download URL: zerozen-2025.8.9-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for zerozen-2025.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f655473889d6f0913519aa3fd29e5af63aa8ed2652c25895ac4f1e4ab6e08737
MD5 16251bb32c54e4fa1c1db63a43a21290
BLAKE2b-256 427a19e7f591c9e7601f40b33df0cd5bc692a0c2e2b57eeea02cd28bfe87a032

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerozen-2025.8.9-py3-none-any.whl:

Publisher: release.yml on aniketmaurya/ZeroZen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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