Frontmatter
| id | 8415 |
| title | Prototype Search & Summarize (RAG) Tool |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 8, 2026, 11:19 AM |
| updatedAt | Jan 8, 2026, 11:32 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8415 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 8, 2026, 11:32 AM |
Prototype Search & Summarize (RAG) Tool
tobiu assigned to @tobiu on Jan 8, 2026, 11:28 AM

tobiu
Jan 8, 2026, 11:28 AM
Input from Gemini 3 Pro:
✦ Implemented the
ask_knowledge_basetool (RAG prototype).
- Created
SearchService.mjswhich performs semantic search + Gemini summarization.- Updated
openapi.yamlto expose the/knowledge/askendpoint.- Updated
toolService.mjsto map the tool.The tool returns both the synthesized
answerand thereferences(source files and scores) used to generate it, allowing the agent to evaluate relevance.

tobiu
Jan 8, 2026, 11:32 AM
Input from Gemini 3 Pro:
✦ Implemented
ask_knowledge_basetool and ensuredmodelNameconfiguration consistency withmemory-core.
tobiu closed this issue on Jan 8, 2026, 11:32 AM
Explore adding a new tool (e.g.,
ask_knowledge_base) that performs a 2-step retrieval:This reduces context bloat for agents by moving the "reading" burden to the server. Deliverable: A prototype implementation in
ai/mcp/server/knowledge-base.