DISCLAIMER, TEXT HAS BEEN WRITTEN WITH LLM, (Like a 90% post on reddit LOL)

Hi MistralAI! I’ve spent the last 90 hours of my life building something I genuinely believe pushes the boundaries of what we’ve seen from Telegram-based agents. I’ve solved my own workflow headaches and hopefully yours, too.

Meet Oxide Agent, a Telegram-based AI assistant designed for scale, speed, and heavy lifting. 🦀

Why another bot?

Because most agents lack the reliability of Rust and the architectural depth to handle complex, iterative loops without falling apart. Oxide isn’t just a Q&A wrapper; it’s a full-on autonomous operator.

🚀 Key Technical Features

Native Rust Architecture: Built using teloxide and tokio. It’s incredibly fast, memory-safe, and compiled for performance. Dual Mode Engine:

Agent Mode: Full autonomy with iterative task execution. It has hooks, skills, and tools. Chat Mode: Standard, fast Q/A (non-iterative).

The Hierarchical Sub-Agent System: Oxide uses a Main Agent as an orchestrator that delegates “mechanical” tasks (like git cloning, heavy searching, or data processing) to a Sub-Agent. This keeps the main context window clean and sharp. Integrated Docker Sandbox: Safe execution for Python scripts and Bash commands within debian:trixie-slim containers. Skill-Based RAG: Uses a semantic matching system (via Mistral embeddings) to inject only relevant markdown “skills” into the system prompt, keeping token usage efficient. Triple-Layer Loop Protection: Content-based, tool-based, and LLM-driven detectors to ensure the agent doesn’t get stuck in an expensive infinite logic loop. Multi-Provider Support:

Mistral (Optimized for devstral-2512 and labs-devstral-small-2512). OpenRouter (For ultimate model flexibility). GLM Coding Plan (Highly recommended with GLM 4.7).

🛠️ Infrastructure and Tools

The bot supports voice-to-text, multimodal image analysis, yt-dlp integration for video handling, and public file hosting (up to 4GB). It also saves session history to Cloudflare R2/S3.

Note on Development: The codebase was written with the assistance of GPT 5.2 and Claude Opus 4.5. This post was translated from Russian to English using Gemini 3 Flash.

🔗 Get Involved

The repository is open for everyone to fork, use, and improve:

GitHub: https://github.com/0FL01/Oxide-Agent


💬 Discussion r/MistralAI (0 points, 0 commentaires)