Automated Morning AI Briefing: OpenClaw Setup Guide
Automated morning briefing with OpenClaw, SearXNG, Obsidian: market data, AI news, weather—generated daily. Includes debugging two critical container bugs.
Originally published:
TL;DR
A developer built an automated morning briefing system using OpenClaw, SearXNG, and Obsidian that delivers curated market data, AI news, weather, and learning reminders by 8 AM daily—eliminating passive information consumption.
The System: Automated Intelligence Delivered While You Sleep
Every morning at 7 UTC (8 AM Paris time), before opening a single browser tab, an AI agent completes a full information cycle: checking Paris stock exchange movements, scanning overnight AI model releases, fetching weather, and writing a timestamped Markdown summary into an Obsidian vault. The entire brief takes 90 seconds to read and requires zero manual work. This isn't scheduled task scripts—it's intelligent automation with real web search capabilities backing the data.
The builder describes the shift as moving from passive scroll consumption (45-minute Twitter/LinkedIn/Reddit spirals yielding no actionable insight) to active structured documents tied directly to personal priorities. Instead of fighting algorithmic feeds, the system filters information according to defined criteria and delivers it in a tool already embedded in daily workflow.
What the Daily Brief Contains
The automated output includes five structured components:
- Paris Stock Exchange—CAC 40 and SBF 120 movements, top gainers/losers, volume trends
- AI News—new model releases and announcements filtered for signal over hype
- Weather with Actionable Recommendation—conditions plus a decision hook (outdoor work viability)
- Daily Learning Item—a concept, tool, or technique selected for exploration
- Active Reminders—pulled from Obsidian tasks marked as daily priorities
A real example from March 8, 2026: CAC 40 at +0.52%, LVMH up 1.6%, Mistral releasing Devstral (24B code model), 17°C with partial clouds, Docker Compose profiles as the learning topic. The entire payload: 90 seconds of reading, zero minutes wasted on discovery.
Why SearXNG Over Closed APIs
The critical enabler is SearXNG, a self-hosted metasearch engine aggregating Google, DuckDuckGo, Bing, and Wikipedia results. Without web search, the agent hallucinates stock data. With SearXNG, it retrieves and synthesizes real sources. Brave Search eliminated its free tier in February 2026, making SearXNG the only viable community-driven solution for self-hosted environments. The setup requires a single docker-compose configuration; OpenClaw queries it via an internal Docker bridge (host.docker.internal:8080 for proper routing).
The Two Critical Bugs That Nearly Broke Everything
The original implementation generated briefs silently with no output—no errors, no files written. Two simultaneous failures combined:
- socat Bridge Sequencing—The service connecting Docker to the Obsidian API must start before OpenClaw, but docker-compose start order alone isn't sufficient since socat runs outside the container. Solution: verify with
systemctl status obsidian-bridgeand ensure manual startup if needed. - localhost Resolution Inside Containers—Using localhost:8080 for SearXNG in the prompt fails because localhost inside a container points to the container itself, not the host VM. Fix: replace with
http://host.docker.internal:8080.
Debugging required drilling into container logs with docker exec -it openclaw-openclaw-gateway-1 sh and filtering for brief-related errors. These are infrastructure-level gotchas that don't appear in error messages—they produce silent failures.
Customization Without Redeployment
Every line in the morning-brief.md prompt is an optional capability. Modifications don't require service restart. Users can add ticker surveillance (specific stock symbols with daily deltas), project tracking (pulling next actions from Obsidian Knowledge base), or SaaS opportunity scanning (Product Hunt + Hacker News for B2B signals). The modularity lets teams adapt the briefing to distinct workflows—traders focus on volume/sentiment, product managers pull active projects, knowledge workers add learning queue items.
Signal Versus Noise: The Real Differentiation
The builder distinguishes between AI tools and AI assistants: tools require repeated setup and context-switching, while assistants maintain continuity and shared context across sessions. This system exemplifies the difference. Instead of manually filtering dozens of sources and losing context mid-consumption, the agent filters once according to predefined criteria, outputs to the already-open Obsidian vault, and maintains a single source of truth. The automation isn't valuable in isolation—it's valuable because it integrates directly into existing workflow and removes the context-switching tax.
Architecture Decisions
UTC-based scheduling (7 UTC = 8 AM Paris) provides intelligent trigger behavior: if you log in at 7:30 AM, the brief is ready; if you log in at 10 AM, it generates at that moment. This avoids resource waste on pre-generated briefs nobody reads and ensures fresh data on-demand access. Markdown output to Obsidian timestamps each brief with YYYY-MM-DD-brief-matin-auto.md, creating an indexed history queryable by date and linkable to other vault notes.
The integration between OpenClaw's agentic task scheduler and Obsidian's file API represents a typical self-hosted AI workflow: intelligence layer (OpenClaw) + source aggregation (SearXNG) + persistent knowledge layer (Obsidian) + local execution (Docker). Each layer is replaceable—Claude or Llama for inference, DuckDuckGo for search, Logseq for notes—but the pattern remains valid across stacks.
Why This Matters for the AI Ecosystem
This case study demonstrates how production-grade automation (not prototypes, but daily-use systems) requires solving three hard problems simultaneously: real-time data integration, reliable container orchestration, and persistent context management. Most AI tutorials skip these infrastructure concerns. This walkthrough, including debugging and failure modes, shows how mature self-hosted systems differ from chatbot toys. It also validates the market gap Brave Search's withdrawal exposed: developers need open, self-hosted search infrastructure if they're building autonomous agents with factual requirements.
Key Takeaways
- Self-hosted morning briefing systems eliminate passive information consumption by automating filtering, summarization, and delivery directly into existing tools (Obsidian).
- SearXNG (free, self-hosted metasearch) is now the essential foundation for factual AI agents after Brave Search eliminated its free tier; it aggregates Google, DuckDuckGo, Bing, and Wikipedia.
- Silent failures (no errors, no output) from container networking (localhost vs. host.docker.internal) and service startup ordering (socat bridge) are common in multi-container AI stacks and require deliberate debugging.
- The value of AI automation lies in signal-to-noise filtering and workflow continuity, not in the automation itself—assistants that maintain context across sessions outperform tools that require repeated context-switching.
- UTC-based lazy triggering (generate-on-first-access after 7 UTC) reduces resource waste while ensuring fresh data, a practical pattern for self-hosted agent scheduling.
Original Source
https://medium.com/kairi-ai/jai-configur%C3%A9-un-brief-ia-automatique-qui-m-attend-chaque-matin-voici-ce-qu-il-contient-8ecd5551c958?source=rss------automation-5
Last updated: