Context Curation, Hybrid Vector RAG & Stateless MRTR
Keep AI prompts lean by consolidating bloated API wrappers, and pause multi-step sub-agents cleanly without holding server RAM.
Engineer deterministic context windows for district EdTech curricula using hybrid vector retrieval, citation-preserving resource URIs, and stateless Multi-Round Tool Reasoning (MRTR) without server-side session leaks.
Microsoft Azure Stack:Azure AI Search (Hybrid + Semantic)Microsoft agent-framework + Azure AI FoundryDetails
BM25 + vector retrieval with semantic reranking over district curriculum corpora.
Typed Python agent orchestration binding FastMCP 4 and mcp v2 tool contracts.
1. Visual Analogy · Concise 5-Item Café Menu vs. 35-Page Kitchen Binder + Bookmark Ticket
How do we stop 35 API endpoints from eating our token budget—and pause for human input across stateless servers?
Think of an LLM’s context window as a small desk. If you dump 35 raw REST API schemas onto the desk before asking a question, the model gets slower, costs more, and picks the wrong tool. Meanwhile, when a rubric tool needs a teacher to clarify a grade band, it should drop a bookmark ticket in a database instead of freezing a server.
How this fits: This is Piece 3 (RAG & Agent). Once your transport and Python contract work, you make tool selection accurate, ground answers in real curriculum data, and support human-in-the-loop pauses.
- Consolidate raw CRUD routes into 5 workflow tools and add ttlMs caching to cut token overhead >80%.
- Return InputRequiredResult + an opaque state_handle instead of deprecated stateful Sampling calls.
- Resume statelessly on any cloud container and cite grounded passages from Azure AI Search or Vertex AI Search.
Dumping 35 auto-wrapped OpenAPI routes into tools/list is like handing a hungry guest a 35-page raw kitchen inventory binder. Curating 5 workflow tools with ttlMs caching gives the model a crisp café menu, while a stateless MRTR state_handle acts like a bookmark ticket stored in Cosmos DB/Redis or Firestore/Memorystore when educator input is needed.
In 2026-07-28 stateless MCP, how should a sub-agent pause to ask an educator for a missing grade band?
Engineering Scratchpad
Auto-saved per lab in mcp_foundry_v1_scratchpads
0 chars saved
Engineering Scratchpad
Auto-saved per lab in mcp_foundry_v1_scratchpads