Skip to main content

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 OpenAIModel abstraction
  • chat and classification use direct HTTP requests to OpenRouter's /api/v1/chat/completions endpoint

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 Console
  • token.json - Created automatically on first run

Simplenote (Memos)

Set in ~/.config/google/:

  • simplenote_user - Your Simplenote email
  • simplenote_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentgog-0.1.6.tar.gz (105.3 kB view details)

Uploaded Source

Built Distribution

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

agentgog-0.1.6-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

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

Hashes for agentgog-0.1.6.tar.gz
Algorithm Hash digest
SHA256 fae853b46d36152d4af5e807f2ddd0959bd27c76f51b4ad7b422e460ffefe5b0
MD5 c20314d405cbcaa12e6ae00cfa1b2e91
BLAKE2b-256 14fb50c33dd8a5946753f5be788d623d9f4da17ce20232dbb023d4d06d22b58f

See more details on using hashes here.

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

Hashes for agentgog-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ac09f22a2af6ff4e57dce59ea0ed45922143576d0421ec8aa22fa8acdd6499fa
MD5 b6691b70cf0ad1e54f11654a7a5c4478
BLAKE2b-256 0297b3dc1e05d7d4f90dc074f9b3f6ffc7a305252b14a90eb10a941403801410

See more details on using hashes here.

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