Add your description here
Project description
agentgog
AI message classifier that categorizes messages into CALENDAR, TASK, MEMO, or OTHER using OpenRouter API.
Features
- Classify messages into categories
- Extract details and integrate with external services:
- CALENDAR: Add events to Google Calendar
- TASK: Add tasks to Google Tasks
- MEMO: Save notes to Simplenote
- TRANSLATOR: Translate SRT subtitles from English to Czech using smolagents
- QRPAYMENT: Generate QR payment codes from text descriptions using smolagents
Model Providers
All components use OpenRouter as the AI provider with OPENROUTER_API_KEY environment variable for authentication.
Component Breakdown
| Component | Implementation | Default Models |
|---|---|---|
| smolagent parts (translator, qrpayment) | smolagents framework OpenAIModel wrapper |
google/gemma-3-27b-it:free, xiaomi/mimo-v2-flash:free, nex-agi/deepseek-v3.1-nex-n1:free |
| Direct chat | Direct HTTP API calls to OpenRouter | x-ai/grok-4.1-fast |
| Classification | Uses chat_classification from openrouter_client |
x-ai/grok-4.1-fast |
Note: All three parts use OpenRouter, but with different implementations:
- smolagent parts use the smolagents framework's
OpenAIModelabstraction - chat and classification use direct HTTP requests to OpenRouter's
/api/v1/chat/completionsendpoint
Installation
uv tool install agentgog
Usage
# Calendar event
agentgog "Meeting with Alice tomorrow at 10am"
# Task
agentgog "Buy groceries on the way home"
# Memo
agentgog "Remember that my passport number is 123456789"
Logging
All runs are logged to ~/agentgog.log with timestamps and classification results.
Configuration
Google Services (Calendar, Tasks)
Place Google credentials in ~/.config/google/:
credentials.json- OAuth client ID from Google Cloud Consoletoken.json- Created automatically on first run
Simplenote (Memos)
Set in ~/.config/google/:
simplenote_user- Your Simplenote emailsimplenote_password- Your Simplenote password
Notifications (ntfy)
For push notifications, configure ntfy client at ~/.config/ntfy/client.yml:
default-host: https://ntfy.sh
default-user: phill
default-password: mypass
subscribe:
- topic: echo-this
command:'$HOME/.local/bin/agentgog "$message"'
Run subscriber perpetually:
ntfy sub --from-config
See ntfy documentation for setup details.
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 agentgog-0.1.6.tar.gz.
File metadata
- Download URL: agentgog-0.1.6.tar.gz
- Upload date:
- Size: 105.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fae853b46d36152d4af5e807f2ddd0959bd27c76f51b4ad7b422e460ffefe5b0
|
|
| MD5 |
c20314d405cbcaa12e6ae00cfa1b2e91
|
|
| BLAKE2b-256 |
14fb50c33dd8a5946753f5be788d623d9f4da17ce20232dbb023d4d06d22b58f
|
File details
Details for the file agentgog-0.1.6-py3-none-any.whl.
File metadata
- Download URL: agentgog-0.1.6-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac09f22a2af6ff4e57dce59ea0ed45922143576d0421ec8aa22fa8acdd6499fa
|
|
| MD5 |
b6691b70cf0ad1e54f11654a7a5c4478
|
|
| BLAKE2b-256 |
0297b3dc1e05d7d4f90dc074f9b3f6ffc7a305252b14a90eb10a941403801410
|