Microsoft Frontier Tour 2027 · Session ILL392
One Postgres database as the relational store, search engine, vector database, graph and long-term agent memory — powering a compliance advisor agent that finds precedent and cites its evidence.
What it means for you: Your agent finds the right answer in your own records and shows where it came from — with fewer systems to buy and run.
The scenario
Caldova's compliance manager needs to know whether an issue has precedent, what evidence supports the conclusion, what the risk is, and whether the business can go ahead. The session builds the evidence-gathering core of that Compliance Advisor Agent: find similar issues, connect related cases, and extract facts for review.
The worked example uses Washington State court cases and a Seattle property-flooding dispute. The domain is different, but the decision pattern is the same: retrieve precedent, gather supporting evidence, and keep a human accountable for the recommendation.
Microsoft Agent Framework connects the Azure OpenAI model to five tools. The agent picks the tools, supplies their inputs and uses the evidence they return to draft an answer — and every tool call is visible.
Architecture

What gets built
Finds opinions that match the relevant legal terms.
Finds semantically similar cases, filtered by court and year.
Follows citations to related court decisions.
Calls Azure OpenAI from SQL to pull out rulings, issues, cited laws and outcomes.
Fetches historical rainfall for the place and dates in the question.
Keeps selected facts in HorizonDB for later turns of the conversation.
Shows the conversation, every tool call and memory update side by side.
Step by step
Sign in to Azure and check the two resources the lab uses.
Use the VS Code extension for PostgreSQL to connect, explore and query the database.
Turn raw court cases into relational rows, vectors, indexes and a citation graph — all in one database.

Give the agent one tool at a time, compare the answers, then add memory, a chat UI and a failover test.

Run of show
We build it as a production-ready proof of concept inside your Azure tenant, as part of the AI Accelerator.
Scenario, steps and diagrams adapted from the Microsoft Frontier Tour 2027 lab ILL392 (© Microsoft, CC BY-SA 4.0). Sample data is a learning example, not legal advice. Source · License