Skip to content

SalmAlm (μ‚Άμ•Ž)

Your Personal AI Gateway β€” 62 Tools, 6 Providers, Zero Dependencies.

pip install salmalm
salmalm

That's it. Open http://localhost:18800 and start talking.

What is SalmAlm?

SalmAlm is a personal AI assistant framework that runs entirely on your machine. It connects to multiple AI providers (Anthropic, OpenAI, Google, xAI, DeepSeek, local LLMs) and provides 62 built-in tools for coding, personal productivity, knowledge management, and more.

μ‚Άμ•Ž (SalmAlm) = μ‚Ά(life) + μ•Ž(knowledge) β€” "knowing life."

Key Features

  • πŸ€– 6 AI Providers β€” Claude, GPT, Gemini, Grok, DeepSeek, Ollama/LM Studio
  • πŸ”§ 62 Built-in Tools β€” exec, web search, file ops, git, email, reminders, expenses, RAG...
  • πŸ’° Smart Cost Optimization β€” Auto routing saves 83% vs always-Sonnet ($7.09β†’$1.23/day)
  • πŸ”’ Encrypted Vault β€” API keys stored with AES-256, never in plaintext
  • πŸ“± Telegram & Discord β€” Full bot integration with reactions, drafts, rich formatting
  • 🧠 RAG Knowledge Base β€” Local vector search with Korean jamo support
  • πŸ”Œ MCP Server β€” Model Context Protocol for tool interoperability
  • πŸ“Š Web Dashboard β€” Real-time monitoring, session management, settings UI
  • 🐍 Pure Python β€” Zero external dependencies, stdlib only

Quick Start

# Install
pip install salmalm

# Run
salmalm

# Or with specific port
salmalm --port 8080

On first launch, the setup wizard guides you through API key configuration.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Telegram    β”‚     β”‚   Web UI     β”‚     β”‚  Discord    β”‚
β”‚  Bot         │────▢│  :18800      │◀────│  Bot        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   Engine     β”‚ ← Auto Routing
                    β”‚  (Pipeline)  β”‚ ← Context Mgmt
                    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜ ← Tool Selection
                           β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚            β”‚            β”‚
        β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β–Όβ”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
        β”‚ Anthropic  β”‚ β”‚OpenAI β”‚ β”‚  Google   β”‚
        β”‚ xAI       β”‚ β”‚DeepSk β”‚ β”‚  Local    β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Documentation

Project Stats

Metric Value
Python files 192
Total lines ~52K
Functions ~1,800
Test count 1,878
Max cyclomatic complexity 20
Largest file 778 lines
Docstring coverage 99%
Return type hints 81%