Learning Center · Independent lesson · 5 min with exercise
Build an AI knowledge desk you can evaluate
Design a custom app for a community equipment library. Decide what belongs in software, what a model can explain and what would stop a wider rollout.
Could a volunteer answer a borrowing question in one place?
A fictional equipment library lends tools to several neighborhoods. Its check-in log contains item counts. Its lending handbook contains rules. Staff notes sometimes describe private borrower circumstances. A useful knowledge desk would answer “Can I renew a drill?” and show today’s available stock. Each part of that screen needs a different source and a different test.
Start with a small custom app. The dashboard counts eligible inventory records in code. A search step finds current handbook passages the visitor has permission to read. A language model can turn those passages into an answer with a source link and date. This pattern is called retrieval-augmented generation. Reading a policy and reserving an item are different permissions.
Fictional worked example
A test set for the first release
| Fictional test input | Expected observable result |
|---|---|
| Current handbook allows one renewal. An older edition allows two. | Answer “one,” cite the current passage and identify its edition. |
| The current handbook is silent on trailers. | Show the missing policy and the staff handoff. Leave eligibility unresolved. |
| Inventory has three drills: one available, one lent, one withdrawn. | The dashboard displays one available drill. The inventory query owns the count. |
| A public visitor asks for a staff-only borrower note. | The retrieval service excludes the restricted record before any model receives text. |
Use AI to build a small, testable slice
Ask a coding assistant to draft one read-only page and tests using these fictional records. Start with a search box, the inventory count, an answer, a source link and a “send to staff” choice. A reviewer checks the tests, how access is enforced and the screen with keyboard navigation. Keep real accounts and private records out of the prototype.
Decide who can change it and when it can grow
The handbook editor owns document editions. The operations lead owns access and pilot decisions. Save each run’s source edition, feedback and outcome with limited retention. Compare the pilot with the old lookup method on correct citations, unanswered questions, review time and waits at busy hours. A permission failure pauses the pilot. Restore the last tested release or switch to the handbook while someone investigates.
Try this prompt
Draft a one-page specification for a fictional read-only equipment-library knowledge desk. A current handbook permits one renewal and an obsolete edition permits two. The current handbook says nothing about trailers. Three drills have distinct statuses of available, lent and withdrawn. Borrower notes are staff-only. Separate the inventory count, permission filter, retrieval, answer display and staff handoff. For each test list expected output, who owns a failure and the condition for release. Sketch a simple version first. Identify one measured problem that might later justify another agent.
Make the decision
A colleague proposes adding a second agent to approve answers and extending the pilot to every branch. What evidence would change your decision?
Compare your reasoning
Run the original and proposed systems on the same held-back cases. Check sources, access boundaries, missed answers, waiting time and review burden by branch. Two assistants agreeing can repeat one error. Keep independent expected answers and a staff decision on wider release.
Go deeper · Design and evaluate a multi-agent handoff
A coordinator could send a bounded question to a handbook researcher and ask a separate reviewer to test each claim against the cited passage. Give each component access only to the records its role allows. Limit attempts, stop on conflicting evidence and return the unresolved question to staff. Compare this version with the single-step system before adding its complexity.
For multiple branches, attach branch, access group and handbook edition to every lookup, including cached answers. Invalidate old results after a policy change. Repeat the held-back tests when the model, retrieval index, policy or permissions change. Track typical and slow responses, staff overrides and cases the system declines. Decide in advance who can pause one branch or restore an earlier release.