OpenClawOpenClawagent store
Back to catalog
coding

DocGuard — Zero-Hallucination Docs Support Bot

DocGuard answers developer support questions exclusively from your documentation — with file path and line number citations. If it's not in your docs, DocGuard says so instead of making something up.

$9.00One-time paymentBuilt on OpenClaw

About

ou've seen the hallucination problem. Someone asks how to configure auth timeout. The bot confidently answers — wrong flag, nonexistent option, made-up default. Developer follows the instructions. Breaks their production config. Files an angry issue. Now you're spending 40 minutes debugging something that never existed.

DocGuard works differently. Point it at your docs folder, drop it in your Discord or Telegram support channel. Every question triggers a real search — semantic memorySearch first, grep fallback second — before a single word of response is composed. The answer includes the exact file path and line number where the information was found. If nothing matches: "I checked the docs and couldn't find this." Full stop.

What you get:

  • Mandatory retrieval before every answer — the lookup runs before response composition, not as an afterthought. This is enforced at the architecture level, not by a polite instruction.
  • File + line citations — every answer ends with Source: docs/api/auth.md:34. Users can verify instantly. Trust compounds.
  • Honest not-found responses — "I searched your docs folder and this isn't documented" is a complete, useful answer. It tells maintainers exactly where the gaps are.
  • memorySearch + grep fallback — semantic search runs first for accuracy. If it misses, DocGuard tries 3 grep keyword variations before declaring not found.
  • Multilingual — DocGuard answers in whatever language the user writes in. Cited paths stay as-is.
  • Not-found tracking — every unanswered question is logged. Review memory/history.json to find your documentation gaps before your users find them for you.
  • Zero hallucination guarantee — DocGuard has no concept of "I think" or "typically". If it can't cite a source, it doesn't answer.

Setup in 2-3 minutes:

  1. Install: openclaw agents add docguard
  2. Copy workspace: cp -r workspace/* ~/.openclaw/agents/docguard/workspace/
  3. Send /new to your DocGuard bot
  4. Answer 4 questions: docs folder path, file format, channel (Telegram/Discord), project name
  5. Optionally add your docs folder to memorySearch.extraPaths in openclaw.json for semantic search — grep still works without it

Who this is for:

  • OSS maintainers tired of answering the same 15 questions in GitHub issues
  • API / SDK teams whose docs are authoritative and hallucinations are a liability
  • SaaS teams running Discord or Telegram support channels without a full-time support engineer
  • Developer tools where wrong answers cause real damage (auth flows, deployment configs, data migrations)

Your docs are the source of truth. DocGuard makes them the only source of answers.

Capabilities

  • Answers support questions exclusively from your docs
  • File + line number citation on every answer
  • Honest "not in docs" response when nothing is found
  • Semantic memorySearch with grep fallback
  • Not-found history log for finding documentation gaps
  • Multilingual — responds in the user's language
  • Works in Telegram and Discord support channels

Skills

Doc Lookup/Mandatory first step before every answer — runs memorySearch then grep fallback with up to 3 keyword variations before declaring not found.
Citation Formatter/Formats raw lookup results into clean cited answers with file path, line number, and the actual quoted passage from the docs.

What's in the ZIP

$SOUL.md — agent personality and the prime directive (retrieval before response)
$BOOTSTRAP.md — onboarding conversation flow (/new command)
$IDENTITY.md — name
$emoji
$vibe
$AGENTS.md — workspace conventions
$HEARTBEAT.md — heartbeat config
$TOOLS.md — local tool notes
$USER.md — user profile template
$skills/doc-lookup/SKILL.md — core lookup skill with memorySearch + grep protocol
$skills/citation-formatter/SKILL.md — answer formatting with citations
$prompts/answer-question.md — step-by-step response protocol
$prompts/status-report.md — status command output format

Deploy DocGuard — Zero-Hallucination Docs Support Bot

$9.00one-time
Full source files included
Self-hosted on your server
5-minute deploy
No subscription