Skip to content

Architecture Overview

OwliaBot is designed with security and simplicity in mind.

┌─────────────────────────────────────────────────────────────────┐
│ OwliaBot Process │
│ │
│ ┌───────────────┐ ┌───────────────┐ ┌───────────────────────┐│
│ │ Gateway │ │ Channels │ │ Skills ││
│ │ │ │ - Telegram │ │ - crypto-price ││
│ │ │ │ - Discord │ │ - crypto-balance ││
│ └───────────────┘ └───────────────┘ └───────────────────────┘│
│ │
│ ┌───────────────┐ ┌───────────────┐ ┌───────────────────────┐│
│ │ Agent Runtime │ │ Session │ │ Signer ││
│ │ - LLM Runner │ │ - History │ │ - 3-tier model ││
│ │ - Tool Exec │ │ - Context │ │ ││
│ └───────────────┘ └───────────────┘ └───────────────────────┘│
│ │
└──────────────────────────────────────────────────────────────────┘
  1. User sends message via Telegram/Discord
  2. Gateway receives and routes to Agent Runtime
  3. Agent builds context (system prompt + history)
  4. LLM processes and may call tools
  5. Tool results fed back to LLM
  6. Final response sent to user

Target: fewer than 30 direct dependencies. No native modules unless necessary.

Only Telegram + Discord supported. Fewer channels = smaller attack surface.

Everything runs locally. No cloud services required (except LLM API).

Core is minimal. Features added through Skills.

FilePurpose
config.yamlRuntime configuration
workspace/SOUL.mdAgent personality
workspace/MEMORY.mdLong-term memory
workspace/skills/Skill modules