OpenGriffin OSS

Apache 2.0 · BYO key · No backend

Your agent that gets smarter while you sleep.

OpenGriffin is an open-source personal AI agent. It lives in your Telegram, remembers everything, schedules its own work, builds its own skills, and runs entirely on your machine.

30 features. 21 AI providers, BYO any key. Daily self-improvement loop. Free forever.

✓ Apache 2.0 ✓ Self-hosted ✓ 21 AI providers ✓ Bring your own key ✓ Telegram + 6 platforms

Existing agent tools forget. OpenGriffin compounds.

The Hermes / OpenClaw / Magai problem

  • — Conversations vanish at session end
  • — Skills you teach must be re-taught
  • — Hosted SaaS locks you to one vendor's tokens
  • — Multi-model dashboards still don't do things autonomously
  • — Backend dependency = privacy leak + outage risk

The OpenGriffin answer

  • ✓ Persistent memory across sessions, days, years
  • ✓ Daily 4:30am self-improvement loop writes its own journal
  • ✓ Skills the agent authors, edits, and retires at runtime
  • ✓ Long-running worker pool — agents that run for days
  • ✓ 100% local, BYO key, no signup, no backend, no telemetry

30 features · 33 MCP servers · 11 nightly auto-jobs

A complete personal-agent runtime.

Every feature is local-first. None require an account or a subscription. Bring your own AI provider key for any of 21 supported backends.

Memory

Echo Memory + Receipts

Vivid → recent → fading → ancient. Time-aware decay. Every recalled fact links to its source session via a citation receipt.

Memory

MEMORY · USER · SOUL

Three flat markdown files load fresh into every session. Environment, profile, voice. Edit them by hand or let the agent.

Memory

CONSTRAINTS.md

Hard rules the agent must NEVER violate. Loaded at the top of every system prompt, override-proof.

Compounding

Daily journal

4:30am every day: agent reviews yesterday, writes a journal entry, consolidates memory, suggests skills.

Compounding

Dream cycle

3am offline reflection on interesting moments. Counterfactual analysis. Distills lessons into MEMORY overnight.

Compounding

Drift detection

Flags when stated preferences contradict recent behavior. "You said you hated meetings; today you scheduled five."

Skills

Skill Hub

griffin install github://owner/repo. License-checked, signed, reputation-tracked. Replaces tool sprawl.

Skills

Self-healing skills

When a skill fails 3+ times in a week, the agent debugs it, proposes a patched SKILL.md, and asks before applying.

Skills

Skill Strategy

Recommends new skills based on co-usage, flags never-used ones, surfaces top-used to invest in.

Autonomous

Worker pool

Long-running background agents. Spawn a research worker. Queue tasks. They check in to Telegram for days.

Autonomous

Agent Pods

Multiple personas debate in a group chat with shared memory. Convergence detection.

Autonomous

Genealogy

Fork a child agent from a parent. Inherits SOUL, skills, memory snapshot. Diverges over time.

Triggers

Ambient mesh

Cron + webhook + poll → LLM predicate → skill action. "When Stripe revenue drops 10% week-over-week, draft a postmortem."

Triggers

Time-locked actions

Agent commits to do X at a future time. You can /veto before; otherwise it runs.

Triggers

Predictive memory

Detects time-of-day query patterns and pre-computes likely-asked things 15 minutes early. "I noticed you check NVDA at 8:30am — here it is."

Security

Critic — adversarial twin

Every consequential action reviewed by a second agent that doesn't see your prompt. Catches goal misgeneralization.

Security

Capability tokens

Signed, scoped, expiring permissions for tools. The agent can't do something it doesn't hold a token for.

Security

Pre-exec scanner

Pattern-match for prompt injection, dangerous shell, exfil URLs, hardcoded secrets, homograph attacks. Hardline blocklist for fork bombs / mkfs / dd-to-disk.

Security

Hardware attestation

Secure Enclave (macOS) / TPM (Linux) signing of every consequential action. Tamper-evident audit log.

Security

ZK-style proofs

Hash-chained Merkle audit log. Prove any single action existed without revealing the others.

Security

Dead-man's switch

If you don't check in for N days, outbound actions lock. Recovery code via Telegram. Optional escalation to a trusted contact.

Security

Quorum (N-of-M)

High-stakes actions need 2-of-3 independent agent personas to agree. Reduces single-point prompt-injection failure.

Security

Approval inline buttons

Risky tool calls ask before running. Telegram inline keyboard: Allow once / Session / Always / Deny. 60-second auto-deny.

Security

Checkpoints + rollback

Every Write/Edit snapshots the file first. /rollback restores in one command.

Multi-platform

7 free gateways

Telegram, Discord, Slack, Email, iMessage, Signal, Matrix. Same brain answers across all of them.

Multi-platform

Cross-platform identity

Link your accounts across Telegram + Discord + Slack + ... Single memory namespace per human.

Multi-platform

A2A peer mesh

Your agent can call another OpenGriffin user's agent. P2P. Pay-per-call via x402 wallet, or free.

Multi-platform

Reputation ledger

Signed JSON-LD profile of your agent's track record. A2A-discoverable for trust.

Voice + Vision

Voice round-trip

Telegram voice → faster-whisper → Claude → Edge-TTS → reply voice. Local STT/TTS, no cloud.

Voice + Vision

Browser automation

Playwright MCP. Drives a real Chromium for screenshots, scraping, end-to-end clicks.

Voice + Vision

Image generation

FAL.ai wrapper for FLUX. BYO FAL_KEY. (More providers landing soon.)

Ops

Kanban

JSON-backed task board. Workers + pods + ambient triggers all read/write it.

Ops

Live observability

Server-Sent Events stream of every agent thought + tool call. Datadog APM for cognition.

Ops

Replay debugger

Re-run any past session with a different model or SOUL. Counterfactual diffing for regression hunts.

Ops

Provider routing

Auction classifier scores each prompt 0–3 and routes cheap. "hi" → Groq. "prove this" → Claude Opus.

Ops

Soul Sync

Mines your past chats to build a writing-voice card. Agent drafts as you.

Ops

Webhooks gateway

HMAC-validated POST endpoints. GitHub, Stripe, IFTTT — anything that webhooks reaches your agent.

Bring any AI key. 21 providers supported.

No central account, no shared pool. Your keys, your bills, your data.

Claude Max OAuth
Anthropic API
OpenAI
Gemini
DeepSeek
Mistral
xAI / Grok
Cohere
Bedrock
Groq
Cerebras
Together
Fireworks
Perplexity
NVIDIA NIM
HuggingFace
Lambda Labs
Novita
OpenRouter
Azure OpenAI
Ollama (local)

One line.

No account. No waitlist. No backend. Apache 2.0.

curl -fsSL https://raw.githubusercontent.com/greentarallc/opengriffin/main/scripts/install.sh | bash

Or with pip: pip install opengriffin && opengriffin run

Step 1

BotFather token

Open Telegram, message @BotFather, run /newbot. Save the token to .env.

Step 2

Pick a provider

Drop any of the 21 keys into .env. Or use Claude Max OAuth — no key needed.

Step 3

opengriffin run

Bot starts. Send it a message. Memory persists. Tomorrow at 4:30am the journal writes itself.

Coming from Hermes or OpenClaw?

Built-in migration imports your memories, cron jobs, and recent sessions in one command.

griffin migrate from-hermes
griffin migrate from-openclaw

Imports MEMORY/USER/SOUL.md, cron schedules, channel directory, recent message history, and any local scripts.

FAQ

Is OpenGriffin really free?

Yes — Apache 2.0, free forever, self-hosted. You bring your own AI provider key and pay that provider directly. There is no OpenGriffin subscription, ever, on the OSS path.

What's the difference vs Hermes Agent?

OpenGriffin is a strict superset on memory (Echo Memory + receipts + dream cycle), self-improvement (daily journal + skill graph + drift detection), security (capability tokens + critic + Merkle audit + dead-man's switch), autonomy (worker pool + agent pods + genealogy + time-locked actions), and infrastructure (no backend, 21 providers, 7 platforms). Hermes has 14 messaging gateways and Atropos RL training; we don't (yet).

What's the difference vs OpenClaw?

OpenClaw is a thin CLI wrapper. OpenGriffin is a long-running agent with persistent memory, scheduled work, sub-agent spawning, multi-platform delivery, and a self-improvement loop. We ship a one-line migration tool to import OpenClaw state.

What's the difference vs Magai-class SaaS?

Magai is a hosted multi-model dashboard. OpenGriffin is autonomy + memory + skills you run on your own machine. Magai costs $19+/month and your data lives on their servers; OpenGriffin is free and your data never leaves your disk unless you explicitly send it somewhere.

Do I have to use Telegram?

No. Telegram is the easiest first surface, but the same brain runs on Discord, Slack, Email, iMessage, Signal, and Matrix. Cross-platform identity links them.

Where does my data live?

100% local: ~/.opengriffin/ for memory + sessions + kanban + journal, ~/.claude/skills/ for skills. Nothing is uploaded. Outbound HTTP only happens to providers you configured (Telegram, Anthropic API, etc.) and to peers you explicitly call (A2A).

Will there be a hosted version?

Eventually, when demand justifies the engineering. The OSS Core will always be free. The hosted product would offer optional managed hosting + a web GUI; the OSS will always do everything you can do hosted.

How is this safe? It can run shell commands.

Layered defense: pre-execution scanner (blocks rm -rf /, fork bombs, exfil), capability tokens (signed scoped permissions), critic agent (independent review), approval inline buttons for dangerous patterns, hardware-attested signing, dead-man's switch, file checkpoints with one-command rollback. You can also run with permission_mode=plan to prevent any tool execution.

Stop renting your agent. Run it.

30 features. 21 providers. 7 platforms. Free forever.