hyper-personal, always-on, open-source AI companion.
Project description
Hyper-personal, always-on, open-source AI companion.
Connect it with your everyday tools โ Gmail, Calendar, CRMs, and more โ in minutes.
โจ 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)
-
Get Google credentials (one-time setup):
# Opens setup guide with direct links zen setup-google
-
Start chatting with your data:
zen chat -
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:
- Creating Google Cloud Project (if needed)
- Enabling APIs (Gmail, Calendar)
- OAuth credentials (desktop app)
- Browser authentication (automatic)
- 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
-
๐ด Fork & Clone
git clone https://github.com/yourusername/zerozen.git cd zerozen
-
๐ง 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
-
๐งช Run Tests
pytest tests/ -
๐ฏ Make Changes & Test
# Test your changes zen setup-google zen chat # Run linters ruff check . black .
-
๐ 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:
- OpenAI Agents - The backbone of our AI system
- Typer - Beautiful CLI interfaces
- Rich - Rich text and formatting
- Google APIs - Gmail and Calendar integration
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. ๐งโโ๏ธโจ
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.10.5.tar.gz.
File metadata
- Download URL: zerozen-2025.10.5.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89fa1d2fd0a5361180385590f36b90f52f589f63acff11cec9a5c60ce55aa84d
|
|
| MD5 |
ad9c3ac511ce9903cdd8c405908e28bd
|
|
| BLAKE2b-256 |
2a9265262f2c5da8029f38e4dcd9a31c5a6100958f6ff6129df4291c834f595b
|
Provenance
The following attestation bundles were made for zerozen-2025.10.5.tar.gz:
Publisher:
release.yml on CelestoAI/ZeroZen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zerozen-2025.10.5.tar.gz -
Subject digest:
89fa1d2fd0a5361180385590f36b90f52f589f63acff11cec9a5c60ce55aa84d - Sigstore transparency entry: 584045758
- Sigstore integration time:
-
Permalink:
CelestoAI/ZeroZen@f5345d20d054ffa93faf323b02258bc49e7c1ac9 -
Branch / Tag:
refs/tags/v2025.10.5 - Owner: https://github.com/CelestoAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f5345d20d054ffa93faf323b02258bc49e7c1ac9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file zerozen-2025.10.5-py3-none-any.whl.
File metadata
- Download URL: zerozen-2025.10.5-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18062ccfc0bfb7677f7ee1fc4df1331a3740406eff624fae33da472278644846
|
|
| MD5 |
c56011496cedf6c8c897ec643f6a9c76
|
|
| BLAKE2b-256 |
9da5d79af8dbee1257f09f899b4082c39b58a33a88a962b5e67a0e36ac6bd774
|
Provenance
The following attestation bundles were made for zerozen-2025.10.5-py3-none-any.whl:
Publisher:
release.yml on CelestoAI/ZeroZen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zerozen-2025.10.5-py3-none-any.whl -
Subject digest:
18062ccfc0bfb7677f7ee1fc4df1331a3740406eff624fae33da472278644846 - Sigstore transparency entry: 584045762
- Sigstore integration time:
-
Permalink:
CelestoAI/ZeroZen@f5345d20d054ffa93faf323b02258bc49e7c1ac9 -
Branch / Tag:
refs/tags/v2025.10.5 - Owner: https://github.com/CelestoAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f5345d20d054ffa93faf323b02258bc49e7c1ac9 -
Trigger Event:
push
-
Statement type: