daemon active
written in Rust ยท MIT License

aidaemon โ€” Open Source Personal AI Agent Daemon

Stop doing everything yourself.
Hand off research, reminders, and repetitive tasks to an assistant that's always ready.
Reach it from Telegram, Slack, or Discord without being at your desk.

~/aidaemon
$ cargo install aidaemon
Installing aidaemon v0.3.0
Installed to ~/.cargo/bin/aidaemon

$ aidaemon
โœ“ Config loaded from config.toml
โœ“ SQLite state store initialized
โœ“ Event store initialized
โœ“ MCP tools discovered: 12 tools from 3 servers
โœ“ Telegram bot connected
โœ“ Discord gateway connected
โ—† daemon active โ€” listening on all channels
$
Native + OpenAI-compatible providers
Anthropic (native)
Google Gemini (native)
DeepSeek
OpenAI
OpenRouter
Ollama

What You Can Do with an AI Agent Daemon

An assistant that actually gets things done, not just answers questions.

Access from anywhere
Message it from Telegram, Slack, or Discord. Share access with your family or team.
telegram + slack + discord
Handles complex tasks
Give it a goal and walk away. It creates a persistent plan, tracks each step, and recovers from crashes.
plans + agent loop
Connects to your tools
Link your files, calendars, and services so it can help with real work.
extensible
Never forgets
Every action is recorded as an immutable event. Facts and procedures are extracted daily. Your data stays private and encrypted.
event sourcing + memory
Browses the web for you
Check websites, fill out forms, grab screenshots. All without lifting a finger.
chromium
Tackles big projects
Breaks down complex work into smaller pieces and handles them for you.
recursive
Works with other AI tools
Coordinates with Claude, Gemini, Copilot, and more when needed.
delegation
Researches for you
Searches the web, reads articles, and summarizes what it finds.
search + fetch
Set it and forget it
Schedule tasks with simple phrases like "every morning at 9am" or "next Tuesday."
scheduler
You stay in control
Every command is risk-scored (Safe โ†’ Critical). It asks before running anything sensitive. Approve or deny with one tap.
risk assessment + approval
Monitors your services
Define health probes for your services โ€” HTTP, TCP, command, or file checks โ€” and get alerted when something breaks.
health probes
Learns new abilities
Install skills from registries or let it auto-promote repeated procedures into reusable skills.
dynamic skills
Keeps itself current
Checks GitHub for new releases and updates itself automatically โ€” or asks first, your choice.
self-updater
Always on, always ready
Starts automatically with your computer. No need to launch anything.
daemon

How aidaemon Works

A simple flow: you send a message, it thinks and takes action, you get results. It can handle multiple conversations at once without slowing down.

Telegram โ”€โ”€โ” Slack โ”€โ”€โ”ผโ”€โ”€> Agent โ”€โ”€โ”€> LLM Provider Discord โ”€โ”€โ”˜ โ”‚ โ”œโ”€โ”€> Tools โ”‚ โ”œโ”€โ”€ terminal (risk assessment) โ”‚ โ”œโ”€โ”€ browser (headless) โ”‚ โ”œโ”€โ”€ web search + fetch โ”‚ โ”œโ”€โ”€ sub-agents + CLI โ”‚ โ”œโ”€โ”€ health probes โ”‚ โ””โ”€โ”€ MCP tools โ”‚ โ”œโ”€โ”€> Events โ”‚ โ”œโ”€โ”€ immutable event log โ”‚ โ””โ”€โ”€ daily consolidation โ”‚ โ”œโ”€โ”€> Plans โ”‚ โ”œโ”€โ”€ detect + generate โ”‚ โ””โ”€โ”€ track + recover โ”‚ โ”œโ”€โ”€> State โ”‚ โ”œโ”€โ”€ SQLite + vectors โ”‚ โ””โ”€โ”€ working memory โ”‚ โ””โ”€โ”€> Memory โ””โ”€โ”€ facts + recall Dashboard โ”€โ”€> /dashboard Health โ”€โ”€> /health
01

Message arrives

A message from Telegram, Slack, Discord, or a scheduled trigger enters via async channels.

02

Plan detection

The Agent checks if the request needs a multi-step plan. If so, it generates steps and tracks progress.

03

Agent loop begins

The Agent loads event context and working memory, injects long-term facts, and sends to the LLM.

04

Tools are called

The Agent executes tool calls โ€” terminal (with risk assessment), browser, web research, sub-agents, or MCP tools.

05

Loop continues

Tool results feed back into the LLM for up to 10 iterations, with stall and repetition detection.

06

Response delivered

The response is sent back. All messages are persisted to SQLite with vector embeddings.

07

Events recorded

Every action is stored as an immutable event. Daily consolidation extracts facts and procedures.

Install aidaemon in Minutes

Get started in minutes. The setup wizard walks you through configuration step by step.

01
Install
curl -sSfL https://get.aidaemon.ai | bash
Or: brew install davo20019/tap/aidaemon ยท cargo install aidaemon
02
Run the setup wizard
On first run, aidaemon launches an interactive wizard to configure your LLM provider and channel tokens.
03
Configure MCP servers (optional)
Add MCP server definitions to config.toml to extend with filesystem, databases, and more.
04
Install as service
aidaemon install-service
Runs as systemd (Linux) or launchd (macOS).
config.toml
[provider]
api_key = "keychain"
base_url = "https://api.openai.com/v1"

[provider.models]
primary = "gpt-4o"
fast = "gpt-4o-mini"
smart = "o1-preview"

[telegram]
bot_token = "keychain"
allowed_user_ids = [123456789]