Skip to main content

Hyper-personal, always-on, open-source AI companion.

Connect it with your everyday tools — Gmail, Calendar, CRMs, and more — in minutes.

banner

💻 Try CelestoAI PyPI version License: Apache 2.0

✨ What is ZeroZen?

ZeroZen is an open-source framework for building AI assistants that handle your personal and professional tasks. Connect it with your everyday tools — Gmail, Calendar, CRMs, and more — in minutes.

🎯 Perfect for:

  • Busy professionals who live in their inbox
  • Power users seeking zero-friction automation
  • Privacy-conscious individuals who prefer local, controllable AI

🚀 Quick Start

🔧 DIY with OSS   |   🖥️ Try the CelestoAI web interface

Installation

pip install zerozen

Setup Google Integration (2 minutes)

  1. Get Google credentials (one-time setup):

    # Opens setup guide with direct links
    zen setup-google
    
  2. Start chatting with your data:

    zen chat
    
  3. Ask questions like:

    • "Show me emails from GitHub about security alerts"
    • "What meetings do I have this week?"
    • "Find invoices from Stripe in my Gmail"

That's it! 🎉


🛠️ Integrations

Gmail and Google Calendar

pip install zerozen
zen setup-google  # One-time setup
zen chat          # Start using!

Google Setup Details

The zen setup-google command guides you through:

  1. Creating Google Cloud Project (if needed)
  2. Enabling APIs (Gmail, Calendar)
  3. OAuth credentials (desktop app)
  4. Browser authentication (automatic)
  5. Credential storage (secure, local)

First run:

zen setup-google
# ✅ Opens browser for one-time authentication
# ✅ Saves credentials locally
# ✅ Ready to use!

Already set up:

zen setup-google
# ✅ Google credentials already exist
# Use --force to re-authenticate

💬 Chat Interface

The heart of ZeroZen is its conversational interface. Just talk to your data naturally.

zen chat

Example Conversations

📧 Email Management:

You: Find emails from stripe with invoices
AI: 🔍 Found 3 invoices from Stripe in the last 30 days:
    • Dec 15: Monthly subscription - $29.00
    • Nov 15: Pro upgrade - $99.00  
    • Oct 15: Monthly subscription - $29.00

📅 Calendar Queries:

You: What's my schedule tomorrow?
AI: 📅 Tomorrow (Dec 16):
    • 9:00 AM - Team standup (30 min)
    • 2:00 PM - Client presentation (1 hour)
    • 4:30 PM - 1:1 with Sarah (30 min)

🔗 Cross-tool Intelligence:

You: Do I have any meetings about the project mentioned in John's email?
AI: 🔍 Found John's email about "Project Alpha" from yesterday.
    📅 Yes! You have "Project Alpha Planning" tomorrow at 10 AM.

Chat Features

  • 🧠 Smart context - Remembers your conversation
  • 🛠️ Multiple tools - Gmail, Calendar, web search (coming soon)
  • ⚡ Fast responses - Optimized for quick queries
  • 🎨 Rich formatting - Beautiful, readable output
  • 💾 Session memory - Continues where you left off

🧑‍💻 Developer Experience

Python API

Use ZeroZen programmatically in your own applications:

from zerozen import agents

# Simple agent usage
result = agents.run_sync(
    "Find emails from GitHub about security issues", tools=["search_gmail"], max_turns=3
)
print(result)

# Advanced usage with specific tools
result = agents.run_sync(
    "What's my schedule conflicts next week?",
    tools=["list_calendar_events", "search_gmail"],
    model="gpt-4o",  # Optional model override
)

Custom Integrations

from zerozen.integrations.google import GmailService, load_user_credentials

# Load your saved credentials
creds = load_user_credentials("credentials.my_google_account.json")

# Direct tool usage
gmail = GmailService(creds)
messages = gmail.search_messages(query="from:github.com", limit=10)

# Your custom logic here...

Backend Integration

Perfect for server applications:

from zerozen.integrations.google import CredentialRecord, UserProviderMetadata, UserInfo

# Create from your database/API
user_creds = CredentialRecord(
    access_token="ya29.xxx",
    user_provider_metadata=UserProviderMetadata(
        refresh_token="1//xxx",
        scope=(
            "openid "
            "https://www.googleapis.com/auth/gmail.readonly "
            "https://www.googleapis.com/auth/calendar "
            "https://www.googleapis.com/auth/calendar.readonly "
            "https://www.googleapis.com/auth/userinfo.email "
            "https://www.googleapis.com/auth/userinfo.profile"
        ),
        expires_at=1234567890,
    ),
    user_info=UserInfo(email="user@example.com", sub="google_user_id"),
    client_id="your_oauth_client_id",
    client_secret="your_oauth_secret",
)

# Use with any tool
gmail = GmailService(user_creds)

🔧 Configuration

CLI Options

zen chat --help

Environment Variables

# Optional: Set default model
export OPENAI_MODEL=gpt-4o

# Optional: Custom credential paths
zen setup-google --credentials-file /path/to/creds.json
zen setup-google --user-storage /path/to/user-creds.json

🔐 Security & Privacy

🛡️ Your data stays yours:

  • Local credentials - Stored securely on your machine
  • No data collection - We don't see your emails or calendar
  • Open source - Audit the code yourself
  • Standard OAuth - Uses Google's official authentication

🔒 Credential management:

  • Automatic token refresh
  • Secure local storage
  • Per-user isolation
  • Configurable file paths

🛣️ Roadmap

Feature Status Description
Gmail Integration ✅ Search, read, analyze emails
Google Calendar ✅ View events, check availability
Chat Interface ✅ Conversational AI with memory
Desktop OAuth ✅ One-command authentication
Backend API ✅ Programmatic access
Email Actions 🔜 Draft, reply, send emails
Calendar Management 🔜 Create, update events
Slack Integration 🔜 Team communication
Document AI 🔜 Google Docs, Sheets analysis
Multi-user Support 🔜 Team deployments
Plugin System 🔮 Custom integrations

🤝 Contributing

We'd love your help making ZeroZen even better!

Quick Contribution Guide

  1. 🍴 Fork & Clone

    git clone https://github.com/yourusername/zerozen.git
    cd zerozen
    
  2. 🔧 Development Setup

    # Create virtual environment
    python -m venv .venv
    source .venv/bin/activate  # or `.venv\Scripts\activate` on Windows
    
    # Install in development mode
    pip install -e .
    
    # Install development dependencies
    pip install pytest ruff black
    
  3. 🧪 Run Tests

    pytest tests/
    
  4. 🎯 Make Changes & Test

    # Test your changes
    zen setup-google
    zen chat
    
    # Run linters
    ruff check .
    black .
    
  5. 📝 Submit PR

Areas We Need Help

  • 🔌 New integrations (Slack, Linear, Notion)
  • 🎨 UI improvements (better formatting, themes)
  • 📚 Documentation (examples, guides)
  • 🧪 Testing (edge cases, error handling)
  • 🌍 Internationalization (non-English support)

📖 More Examples

Gmail Power Queries

zen chat
# Search patterns
You: "Emails from my manager in the last week"
You: "Unread emails with attachments"  
You: "Messages about the Q4 planning"

# Analysis
You: "Summarize the latest email from accounting"
You: "What action items do I have from recent emails?"

# Time-based
You: "Show me emails I received while I was on vacation"
You: "Important emails from the last 3 days"

Calendar Intelligence

# Schedule awareness
You: "When am I free for a 1-hour meeting this week?"
You: "Do I have conflicts with the team all-hands?"

# Event analysis  
You: "How many meetings do I have this week?"
You: "What's the longest meeting on my calendar?"

# Cross-reference
You: "Find emails about meetings I have tomorrow"

🙏 Acknowledgments

Built with love using:

Special thanks to:

  • The open-source community for inspiration and contributions
  • Early beta testers for valuable feedback

📄 License

Apache 2.0 License - see LICENSE for details.


Ready to experience zero-friction AI?

pip install zerozen
zen setup-google
zen chat

Welcome to your Zen mode. 🧘‍♀️✨

Metadata

Release files for zerozen 2025.10.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zerozen 2025.10.5
File Size Uploaded
zerozen-2025.10.5.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for zerozen 2025.10.5
File Interpreter ABI Platform
zerozen-2025.10.5-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / zerozen-2025.10.5.tar.gz

Download URL zerozen-2025.10.5.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
89fa1d2fd0a5361180385590f36b90f52f589f63acff11cec9a5c60ce55aa84d
BLAKE2b-256 checksum
How to use checksums
2a9265262f2c5da8029f38e4dcd9a31c5a6100958f6ff6129df4291c834f595b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2025.

Transparency log

Release files / zerozen-2025.10.5-py3-none-any.whl

Download URL zerozen-2025.10.5-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18062ccfc0bfb7677f7ee1fc4df1331a3740406eff624fae33da472278644846
BLAKE2b-256 checksum
How to use checksums
9da5d79af8dbee1257f09f899b4082c39b58a33a88a962b5e67a0e36ac6bd774
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2025.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page