Skip to content
ALF OS logo

ALF OS

Verified

Self-hosted Go-based AI assistant for Telegram with semantic memory and flexible LLM backends.

Autonomous AgentsAgent Frameworks 6Open source
View on GitHub
Updated 2026-06-15
ALF OS GitHub repository

What is ALF OS?

ALF OS is an open-source personal AI agent built in Go that operates inside Docker on user-owned hardware. It links a chosen LLM to Telegram messaging and layers on persistent memory, voice handling, and configurable access levels managed through a browser interface.

The architecture separates concerns into capability execution, memory storage, AI decision-making, sandboxed security, and runtime orchestration. This design enables mixing backends per response tier while enforcing isolation between processes and restricting permissions for safety.

It targets users who want a private, subscription-friendly or local AI companion that avoids JavaScript-heavy frameworks and keeps data on their own machines rather than third-party servers.

Capabilities

integrate llm with telegram
semantic long-term memory
voice transcription
configurable response tiers
web dashboard management

What you can build with ALF OS

Daily chat companion

Maintain ongoing conversations in Telegram where the agent recalls past details across sessions using vector search.

Tiered task handling

Route simple queries to lighter models and complex requests to stronger ones based on an automatic classifier.

Voice-enabled notes

Transcribe spoken messages and store them with semantic indexing for later retrieval through the dashboard.

Install ALF OS

Install
curl -fsSL install.alfos.ai | sh
Quick start
curl -fsSL install.alfos.ai | sh
  1. 1Run the one-line installer script to fetch the Docker setup.
  2. 2Execute alf init and follow the prompts for directory, Telegram token, and dashboard settings.
  3. 3Start the container and open the Control Center in a browser to select a backend and tiers.
  4. 4Authenticate the chosen LLM provider if using a CLI or API option.
  5. 5Send a test message to the Telegram bot to verify the connection.

Works with

Claude CodeOpenAI APIOllamaTelegramDocker

ALF OS: pros & cons

Pros

  • +Single static Go binary reduces dependencies and potential vulnerabilities compared to Node.js stacks.
  • +Semantic memory uses local ONNX embeddings and SQLite for recall without external services.
  • +Flexible backend support lets users mix subscription CLIs, APIs, or local Ollama models per tier.
  • +Strong process isolation and non-root execution provide defense-in-depth security.

Cons

  • Requires Docker and at least 2 GB RAM, limiting use on very lightweight devices.
  • Initial setup involves multiple configuration steps including Telegram bot creation.
  • Voice transcription depends on a separate sidecar container that must be managed.
Did you find this helpful?

Frequently asked questions

Only if using a cloud backend; local Ollama models work completely offline after initial setup.

User reviews

Verified reviews from the community shape this listing's rating.

Loading reviews…

Sign in to review

Promote ALF OS

Add this badge to your website, or share the tool.

DFeatured on DhanasviALF OS 0