Claudir is a ~33,000-line Rust Telegram bot system that uses Claude AI (via Anthropic's Claude Code CLI) to power intelligent chat interactions. What makes it architecturally interesting is not just that it wraps an LLM β it's how it structures trust, isolation, and operational resilience through a deliberate three-tier hierarchy.
-
The Three-Tier System β Owner/Supervisor, CTO bot, public chatbots. Trust hierarchy, bot-to-bot messaging, config-driven personalities, self-healing wrapper.
-
The Harness and Engine β Three-process model, message flow pipeline, spam filtering, debouncer, control loop, inject mechanism, dropped text detection.



