Runnable playbooks for building AI agents, retrieval-augmented generation (RAG), MCP tools and LLM evaluation on Regolo.ai. Regolo serves open-weight models such as Qwen, GLM, Gemma and gpt-oss through an OpenAI-compatible API, hosted in European data centers. Each folder includes working code, setup notes and a companion article on regolo.ai.
Important
Every tutorial needs an API key. Sign up on Regolo to get 30 days completely free, plus a 70% discount for the following 3 months.
🚀 Start your free trial on regolo.ai 🚀
Explore Regolo: Platform | Models library | Docs and guides | YouTube | Discord
- OpenAI-compatible. Point your existing OpenAI SDK at
https://api.regolo.ai/v1and keep your code. - Open-weight models. Choose the right model for each task, from compact models to the 122B-parameter Qwen 3.5 used in several tutorials.
- European hosting. Zero Data Retention in EU data centers, powered by renewable energy.
- Pay as you go or a flat plan. Start with pay-as-you-go pricing, then compare it with the Core subscription as your usage grows.
- Clone the repository:
git clone https://github.com/regolo-ai/tutorials.git - Open a tutorial folder and read its
README.md. - Get a free API key on regolo.ai/pricing, export it as
REGOLO_API_KEY, and run the code.
| Tutorial | Description | Labels | Article link |
|---|---|---|---|
| Private long-term memory for coding agents | Cognitive long-term memory framework with Cognee Knowledge Graph, vector store, ReAct self-healing loop, and Regolo Zero Data Retention. | Python · Runnable · GPU 100% Ready |
Read article |
| Closed-loop: self-correcting AI code reviewer | Self-correcting AI code reviews with dual-gate verification, Qdrant semantic memory, cross-encoder reranking, and persistent skill accumulation. | Python · Runnable · GPU 100% Ready |
Read article |
| Self-improving secure coding loop | Memory-augmented secure coding agent with Open SWE, Deepsec verification, Cognee Knowledge Graph, and Regolo GLM-5.2. | Python · Runnable · GPU 100% Ready |
Read article |
| Deep agents: tool synthesis with Brick routing | Autonomous multi-agent framework with dynamic DAG planning and Brick semantic complexity routing on Regolo.ai. | Python · Runnable · GPU 100% Ready |
— |
| Clawdbot knowledge base | Internal knowledge bot with hybrid retrieval (embeddings, BM25 and reranker) and a Telegram interface. | Python · Runnable · GPU 100% Ready |
Read article |
| CrewAI product launch campaign | Automated product launch system with a crewAI multi-agent workflow and Regolo infrastructure. | Python · Runnable · GPU 100% Ready |
Read article |
| Cheshire Cat AI and Regolo: enterprise AI agent setup | Enterprise-ready AI agent setup via an OpenAI-compatible API and open models. | Python · Runnable · GPU 100% Ready |
Read article |
| Build faster: LLM as a service with Qwen 3.5 122B | Practical LLM-as-a-service patterns for developers: boilerplate generation, a streaming assistant, lightweight RAG, and structured extraction. | Python · Runnable · GPU 100% Ready |
Read article |
| Orchestrating predictable AI agents with Parlant and Regolo | Deterministic policy orchestration with a Parlant-style control layer and a Regolo backend. | Python · Runnable · GPU 100% Ready |
Read article |
| Advanced RAG in 2026: long context is not memory | Enterprise ticket triage that uses Regolo for structured incident analysis, escalation, and mitigation planning. | Python · Runnable · Enterprise triage |
— |
| Programmatic tool calling on Regolo GPUs | Build smarter agents with classic JSON tool calling and programmatic tool calling, using a restricted runtime and multi-step orchestration. | Python · Runnable · GPU 100% Ready |
Read article |
| Production-ready RAG on open models | End-to-end production RAG: chunking, retrieval, reranking, evaluation, and optimization. | Python · Runnable · GPU 100% Ready |
Read article |
| Build a hybrid inference stack without sacrificing quality | Regolo-only incident triage demo with coloured logs, local .env loading, and structured JSON responses. |
Python · Runnable · Logging |
Read article |
| LLM architectures in 2026: optimize for what matters, not benchmarks | A lightweight architecture router that loads .env, reads REGOLO_CORE_MODEL, and selects a Regolo model before sending the request. |
Python · Runnable · Model routing |
Read article |
| AI agents and tool chaining in 2026 | Contract-review workflow that chains extraction, reranking, and policy decisions into one runnable script. | Python · Runnable · Workflow |
Read article |
| How to build a PR review assistant | Automated PR review assistant that reads local .env settings, picks a model, and reviews Git diffs through Regolo. |
Python · Runnable · Code review |
Read article |
| AI governance and copyright policy gateway | Policy gateway example with PII removal, BLOCK, ALLOW and TRANSFORM classification, and two-stage compliance. | Python · Runnable · Governance |
Read article |
| OpenClaw vs Hermes Agent memory benchmark | Direct comparison between Hermes Agent and OpenClaw, measuring local RAM, disk, and recall latency on a Regolo backend. | Python · Runnable · Agent memory |
Read article |
| TurboQuant outperforms traditional KV quantization | Official benchmark comparing TurboQuant to classic scalar KV quantization for LLMs. Measures accuracy, bias, KL divergence, and speed. | Python · Benchmark · Quantization |
Read article |
| Run MiroFish with regolo.ai: a complete integration guide | Walks you through every step: cloning MiroFish, configuring it to point at regolo.ai, running your first simulation, and tuning for performance. | Python · Runnable · GPU 100% Ready |
Read article |
| Accelerate LLM inference with DFlash speculative decoding | Train and serve a DFlash block-diffusion speculator with vLLM. Generates up to 15 candidate tokens in one parallel forward pass for 3–5× throughput gains with lossless output. | Python · vLLM · GPU 100% Ready |
Read article |
| Context-engineered agent | Compact demo of context engineering for long-horizon agents: just-in-time data ingestion, active compaction, structured external memory, and sub-agent isolation, without prompt stuffing. | Python · Runnable · Ollama compatible |
Read article |
| Context engineering for agents 101: harness kit for OpenCode, Claude Code and Codex | Four runnable modules and an MCP server: progressive skill disclosure, retrieve-offload-delegate, reversible compaction with cache-safe memory, and a long-running harness with an independent evaluator. Measured token savings included. | Python · MCP · Runnable · Context engineering |
Read article |
| Stateful agent memory and dreaming pipeline | Three-layer memory architecture inspired by Anthropic's memory system. Decouples live runtime execution from background database consolidation. Supports Ollama and Regolo backends. | Python · Runnable · Agent memory |
Read article |
| StockPilot: decomposed AI agent in the Anthropic workshop style | Inventory management agent that routes queries to specialized subagents and code-execution tools. Implements the decomposed agent pattern with skill-specific context injection and verifiable results. | Python · Runnable · GPU 100% Ready |
— |
| Regolo Eval Studio: evaluate open-weight models with Langfuse | Local web studio that benchmarks open-weight models on your own dataset, compares PAYG and Core costs, streams traces to Langfuse, and generates a GitHub Actions faithfulness gate. | Python · Langfuse · LLM evaluation |
Read article |
| SearXNG private research scraper | Private web research agent fleet with a SearXNG search backend, intent-orchestrated six-worker subagent query expansion, topic relevance filtering, spatial chunking, and grounded synthesis on Regolo.ai. | Python · Runnable · GPU 100% Ready |
Read article |
| Advanced local RAG with Regolo and ChromaDB | Production RAG pipeline with ChromaDB dense search, BM25 lexical search and Regolo models. | Python · Runnable · RAG |
— |
| Agentic RAG: hierarchical retrieval and reasoning | Agentic retrieval that plans, searches in layers and reasons over the results before it answers. | Python · Runnable · RAG |
Read article |
| Controlled analytics assistant with LangChain, Qdrant and Regolo | An analytics assistant that answers data questions under explicit guardrails, with Qdrant retrieval on Regolo models. | Python · Runnable · Analytics |
Read article |
| RAG chatbot widget for websites, auto-updated from the sitemap | A website chatbot widget that re-indexes pages from the sitemap, with ChromaDB and LangChain. | Python · Runnable · RAG · Chatbot |
— |
| Closed-loop code reviewer and CI repair agent | An agent that reads failing CI runs, proposes fixes, verifies them with tests and stops on clear limits. | Python · Runnable · CI/CD |
Read article |
| Project folder to architecture diagram, measured on Regolo | A local web app and terminal TUI that turns a project folder into an architecture diagram and a Markdown knowledge base for AI agents. | Python · Runnable · Architecture |
Read article |
| EmbeddingGemma 2 vs Qwen3-Embedding with reranker benchmarks | Benchmarks of EmbeddingGemma 2 and Qwen3-Embedding (0.6B and 8B) for code retrieval, with Matryoshka compression and reranking. | Python · Benchmark · Embeddings |
Read article |
| Regolo CodeOps ZDR: a zero-data-retention coding harness | A coding harness that keeps data under zero data retention, with targeted AST context for coding agents. | Python · Runnable · Zero Data Retention |
Read article |
| Codebase comprehension benchmark: context-mode, Headroom and Regolo | A benchmark of codebase comprehension with context-mode and Headroom, reducing token cost on large repositories. | Python · Benchmark · Context |
Read article |
| How to make RAG 32x memory-efficient with binary quantization | Binary quantization of embeddings that cuts RAG memory by 32x while keeping retrieval quality. | Python · Runnable · RAG |
Read article |
| Insurance claims and policy triage with right-sized models | Claims and policy triage with small local models, routing each case to the right level of intelligence. | Python · Runnable · Enterprise triage |
Read article |
| BACO Scanner TUI: local SAST with Regolo | A local static security scanner with a terminal UI, using Regolo models to explain and patch findings. | Python · Runnable · Security |
Read article |
| MCP security gate and AI remediation | A security gate that checks MCP tools for injection and rug-pull risks, with AI-assisted remediation. | Python · Runnable · MCP · Security |
Read article |
| Cross-agent codebase memory and handoffs, measured on Regolo | A web app and terminal TUI that builds a shared memory wiki and handoff brief for coding agents, and measures the token savings. | Python · Runnable · Agent memory |
Read article |
| Enterprise AI code review and security audit with CrewAI | A DevSecOps review pipeline with CrewAI agents, Brick routing, ChromaDB retrieval and zero data retention. | Python · Runnable · CrewAI · Security |
— |
| OpenCode multi-agent configuration for Regolo | A multi-agent OpenCode setup with Brick routing that reduces coding costs across agents. | Config · OpenCode · Multi-agent |
Read article |
| REA Studio: reverse-engineering IPC and binary evidence inspector | A local inspector that reduces Electron IPC and native binary dumps to evidence, then rebuilds specifications on Regolo models. | Python · Runnable · Reverse engineering |
— |
| Review reply copilot with guardrails | Drafts replies to customer reviews, with a classifier that decides what needs a human before anything is sent. | Python · Runnable · Guardrails |
Read article |
| Sub-second European payment fraud scoring with Clef-Flash | Three-tier payment fraud engine and local web console combining microsecond YAML security policies, pre-scoring, HMAC pseudonymisation, SHA-256 audit chains, and single-pass Clef-Flash (/v1/systemone) judgement on Regolo. |
Python · Runnable · FinTech · Zero Data Retention |
Read article |
| SoL-Pi with Regolo: context reduction benchmark | Coding-agent setup with SoL-Pi on Regolo, benchmarking how much context reduction cuts token costs. | Benchmark · Coding agents |
Read article |
| Thinker, worker and verifier: stateful system with CrewAI | A stateful CrewAI system where a thinker plans, a worker executes and a verifier checks each result. | Python · Runnable · CrewAI |
Read article |
Contributions are welcome: new tutorials, fixes and clearer explanations. Open an issue or a pull request, and follow the folder structure of the existing tutorials, with a README.md in each one.
- Regolo.ai: European OpenAI-compatible GPU inference
- Free API key: pay as you go, no commitment
- Models library
- Documentation
- YouTube
- Discord
MIT. See LICENSE for details.
- Regolo.ai: Zero Data Retention in EU data centers, powered by 100% green, carbon-free energy. OpenAI-compatible LLM API.