swissi-hub/agent-search-read-lab
Agent Search and Read Lab
A small, reusable browser example of search excerpts followed by full-record reading. Six fictional professional listings let you inspect identifiers, result ordering, revision references and JSON payload sizes. Download an exchange to use when designing your own agent tools.
This standalone teaching example uses deterministic keyword matching and illustrative JSON shapes. Swissi Hub's member access and authorised publishing are in development. Every listing in this repository is fictional.
Run and test
Serve this folder with a static HTTP server, then open index.html. Run npm test with Node.js to check saved-result resolution, category filtering, invalid positions and changed revisions.
The app runs in the visitor's browser. The bundled sample records stay in the tab; explicit links open the Swissi website. Native HTML controls provide the interface.
Contribute
Use the Space Community tab to suggest a search/read edge case. Include the query, selected result and the behaviour you expected. Useful examples include stale revisions, disappearing listings and ambiguous follow-up references.
