Hands-on guides to AI agents and local LLMs
Evergreen playbooks checked against official documentation: copy-ready commands and configs, architecture diagrams, gotcha tables and honest cost math.
Hermes Agent + DeepSeek API from Russia: a Step-by-Step Setup (2026)
DeepSeek serves Russian users directly, and Hermes Agent is open-source software you host yourself. In about 45 minutes you get a Telegram agent with scheduled reports for roughly 170–1,330 ₽ a month in API fees.
- For Russia the dependable stack is Hermes Agent (MIT, self-hosted) plus the DeepSeek API, which does not geo-block Russian users.
- Use deepseek-flash for routine work and deepseek-v4-pro for heavy reasoning; model names from older tutorials now return HTTP 400.
- One Docker container on a 1–2 GB VPS runs the Telegram gateway and cron; only IDs listed in TELEGRAM_ALLOWED_USERS get answers.
Local LLM with llama.cpp and Open WebUI: a Private Chat with Web Search
A private, ChatGPT-style stack on your own hardware: llama.cpp serves a Qwen3 or DeepSeek-R1-Distill GGUF model over an OpenAI-compatible API, Open WebUI adds chats, RAG and users, and SearXNG brings web search. Conversations never leave the machine.
- llama-server runs the GGUF model behind an OpenAI-compatible /v1 API; Open WebUI is the chat UI; SearXNG does the web search.
- On a 24 GB RTX 4090, Qwen3-32B Q4_K_M at 16K context needs ≈ 23.4 GiB; a q8_0 KV cache cuts it to ≈ 21.5 GiB.
- Always pass --port 8080: llama-server now listens on 127.0.0.1:9931 by default.
25 Production AI Agent Workflows with MCP: Patterns and Guardrails
Agents pay off when each one has a narrow job, scoped tools and a human at the risky step. Here are 25 workflows across five functions — each with a trigger, a stack, a guardrail and a metric to track.
- One workflow = one trigger, one narrow job, a short tool allowlist, a named owner and one metric.
- Start read-only: replica roles, read-only server modes, fine-grained tokens. Open write access per workflow, never globally.
- Tool output is data, not instructions; anything written outside passes an approval gate.
Keep exploring
Free AI engineering tools
Price your API usage, pick MCP servers and check your VRAM budget before you build.
All tools →Model comparisonsModel comparisons
Head-to-head comparisons of frontier models: architecture, API pricing, benchmarks and use cases — Claude, GPT, Gemini, DeepSeek, Kimi.
All comparisons →The AI brief engineers actually read
The day’s most important AI stories — models, tools, prices and agents — in five minutes. Free, unsubscribe in one click.