cd /news/ai-agents/scope-cut-make-the-weekend-ai-demo-r… · home › topics › ai-agents › article
[ARTICLE · art-180748] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Scope Cut: Make the Weekend AI Demo Read-Only First

A developer outlined a read-only design for weekend AI demos in which a model answers only from a fixed bundle of synthetic notes, with no file browser, command runner, write connector, or credentials. The approach validates citations against the exact source fragment supplied to the model and requires the app to return an explicit "not present in the supplied passage" when the notes lack an answer, while edit requests are printed as text without modifying the original note.

recommendation

For demo agents, load a fixed bundle of ID-tagged passages, pass only the selected passage to the model, and withhold file, command, write and credential access.

more in playbook: Securing agents and AI tools
by read1 min views5 publishedDec 3, 2026

A weekend demo can answer a question from a handful of documents without taking responsibility for editing a repository or contacting another person. Pick its first action accordingly: read one approved passage and show the sentence supporting the answer.

Put four short, synthetic notes into a fixture bundle. Give each passage an ID, a display title, and line numbers. Load the bundle at startup and let the audience choose among those IDs. The model receives the passage selected for the request. It receives no file browser, command runner, write connector, or account credentials. Use a stub or local model when the notes should stay on the machine. Sending a passage to a remote inference service is still an external disclosure and may incur a charge.

Ask a question answered in a single note. Print the answer, the note title and its quoted lines. Next ask something the notes do not contain. The useful response is an explicit “not present in the supplied passage.” Finally, ask to change the note. The application may print a suggested edit as text; the original note should remain unchanged.

Validate citations against the actual source fragment given to the responder. A matching line range establishes where the words came from. It does not prove the new answer follows from those words. Read the quote during the demo.

This design deliberately excludes user-supplied paths and writable shared folders. Extending it to live files or several users introduces authorization, storage and concurrency decisions that a fixed fixture bundle does not resolve.

This article was created with AI assistance.

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/scope-cut-make-the-w…] indexed:0 read:1min 2026-12-03 · —