LLMs in Zen mode
Project description
Your hyper-personal, always-on, open-source AI companion.
Dedicated to the creators of Zero — Aryabhatta and Bhaskara ✨
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
- Place
credentials.json(OAuth credentials) in the project root. - 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_gmailto 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
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
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e195f4b302265fb04258d1c89a49730741586b2d0ef87afb35e2fbac6b1c2f3c
|
|
| MD5 |
ad9459d1281b0e6e03879af9817eb0ef
|
|
| BLAKE2b-256 |
03b2962a6bbc95dce19ac5f0cc5efa31bb8c590f31e0ef502489f4239a888417
|
Provenance
The following attestation bundles were made for zerozen-2025.8.9.tar.gz:
Publisher:
release.yml on aniketmaurya/ZeroZen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zerozen-2025.8.9.tar.gz -
Subject digest:
e195f4b302265fb04258d1c89a49730741586b2d0ef87afb35e2fbac6b1c2f3c - Sigstore transparency entry: 370074864
- Sigstore integration time:
-
Permalink:
aniketmaurya/ZeroZen@f8b8f65161eb4a280469ece27b4f26f032374261 -
Branch / Tag:
refs/tags/v2025.8.9 - Owner: https://github.com/aniketmaurya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8b8f65161eb4a280469ece27b4f26f032374261 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f655473889d6f0913519aa3fd29e5af63aa8ed2652c25895ac4f1e4ab6e08737
|
|
| MD5 |
16251bb32c54e4fa1c1db63a43a21290
|
|
| BLAKE2b-256 |
427a19e7f591c9e7601f40b33df0cd5bc692a0c2e2b57eeea02cd28bfe87a032
|
Provenance
The following attestation bundles were made for zerozen-2025.8.9-py3-none-any.whl:
Publisher:
release.yml on aniketmaurya/ZeroZen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zerozen-2025.8.9-py3-none-any.whl -
Subject digest:
f655473889d6f0913519aa3fd29e5af63aa8ed2652c25895ac4f1e4ab6e08737 - Sigstore transparency entry: 370074881
- Sigstore integration time:
-
Permalink:
aniketmaurya/ZeroZen@f8b8f65161eb4a280469ece27b4f26f032374261 -
Branch / Tag:
refs/tags/v2025.8.9 - Owner: https://github.com/aniketmaurya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f8b8f65161eb4a280469ece27b4f26f032374261 -
Trigger Event:
push
-
Statement type: