AI Agent Studio
Updated Nov 2026 by Mangesh Kashid
One studio for six different kinds of work
At JMR InfotechI started as Sr. AI Consultant and became Lead AI Consultant in Sep 2026. I’ve worked on SensAI across both roles., I built document ingestion, retrieval and citations for Knowledge Agent and wrote the shared evaluation suite. The JMR AI Team shipped the workflows together in SensAI, one studio for internal usersTeams use SensAI to find document passages, assess requirements, and draft specifications..
Role
Sr. AI Consultant, then Lead AI Consultant
Duration
Jun 2025 to Present
Team
JMR AI Team
How the studio changed our work
- 60%+ Less manual effort from orchestration and caching
- 85%+ Retrieval precision
- 50+ Internal users served
I reported these figures for the studio. The manual effort result covers orchestration and caching across SensAI, not one agent. Precision measures which passages retrieval finds, not whether the generated answer is right.
Why I built it
At JMR, finding an answer often meant checking documents, wikis and databases separately. Drafting a requirements response or a report meant finding the source material first and then turning it into something a colleague could review. I wanted to shorten both steps without asking people to give up the formats they already worked in.
The design decision was to share the studio, not force every task through the same conversation. A knowledge question should come back with a source. A workbook review should come back as a workbook.
Before SensAI
Early chatbots were separate experiments. A demo could show that a model could answer a question, but it didn't give the next team a repeatable way to use its own documents or get the same kind of output.
I started with workflows where the next step was clear. Someone should be able to open the source behind an answer, edit a specification draft, or review the evidence for a presales assessment.
Getting started
I built the studio around a Next.js interface and a Python backend with FastAPI. Each workflow decides what context it needs and what it should return.
My earlier RAG work used SentenceTransformersI used SentenceTransformers to generate passage embeddings in the earlier SensAI retrieval pipeline. The later implementation generates embeddings through OpenRouter. for embeddings and pgvectorI kept passage vectors in PostgreSQL and used pgvector to rank matches inside the collection the reader selected, not across all documents. for similarity search. A later implementation generates embeddings through OpenRouter and still searches vectors in PostgreSQL.
Laying the foundations
For the Knowledge Agent, I separated preparing documents from answering questions. When a file is added, the backend extracts the text, splits it into passages and stores an embeddingDuring ingestion, I stored a vector and source reference for each passage. At query time I embedded just the question without processing the documents again. for each passage with a reference to the original file. That work is done before the document is ready to search.
When someone asks a question later, the backend only has to embed the query and find matching passages. It doesn't have to extract or read every document again.
Mapping the agent workflows
The six production agentsI gave each workflow a distinct output, from a cited reply to an editable specification. cover different kinds of work. LLM FarmI built one chat interface where users can pick a language model and stream the reply through OpenRouter. lets people choose a language model in one interface. Presales Agent checks requirements in a spreadsheet. Knowledge Agent answers questions against indexed documents.
FSD Generator drafts functional specifications. Report Summarizer pulls an executive summary, key figures and findings from longer reports. Debug Visualizer turns material like an error trace into an execution diagram.
Orchestrating agents
Orchestration meant scheduling work around the dependencies of each task. In the FSD Generator, I made the requirements analysis run first because the later sections need its output. The independent sections then run in parallel, and the interface shows their progress while the draft comes together.
CachingI reuse a Presales assessment when the same requirement and instructions come back, instead of evaluating it again. helps with a different kind of repetition. The Presales Agent can reuse the assessment and supporting sources for a repeated requirement with the same instructions. The result goes back into the workbook so the reviewer can keep working in the original format.
Grounding answers
The Knowledge Agent embeds the question, ranks passages from the selected collection by similarity and filters out weak matches. The selected model drafts a reply, which streams back with citations to the passages it used.
Retrieval responses took 1 to 3 secondsI reported this range for retrieval responses without a test setup or percentile.. If the search finds no relevant passages, the expected behavior is to say there isn’t enough context rather than guess.
Giving each agent one job
The Presales Agent reads requirements from a spreadsheet, writes assessments and remarks back to it, and produces a separate evidence workbook with supporting sources.
Knowledge Agent instead returns a conversational answer with citations. The workbook gives a presales reviewer a row to check. The citation gives the person asking a question a passage to check.
A closer look at LLM Farm
LLM Farm lets people choose a model without switching chat tools. The Next.js interface sends the selection and conversation to FastAPI. The backend uses OpenRouter to reach the requested model and streams the reply back to the interface.
Choosing a model and choosing a workflow are separate decisions. Model choice determines what generates the text. The workflow determines what material goes in, which steps happen in what order, and whether the result is a chat answer, workbook or document.
Getting work back in a form you can edit
I built the FSD Generator’s section preview so people could read the draft in the studio before downloading a Word specification to edit or share.
I built a Word export for Report Summarizer so someone could review the summary, figures and findings outside the studio.
Testing the behaviors people rely on
I added a Pydantic EvalsI used Pydantic Evals to check that SensAI cites supplied passages and says when it has too little context. suite so a model or workflow change could be checked against the same examples. Its retrieval chat cases supply known passages and check whether the answer cites them. Other cases supply no passages and check whether it says there isn't enough context.
I also test whether specifications keep their sections and whether report summaries preserve key figures. The runners can compare those checks against a saved baseline.
From separate demos to a studio
We could deploy the frontend and backend separately. The release pipeline includes lint and backend test jobs, so changes to an agent can be checked before they reach users.
My role in deployment
I also worked with the JMR AI Team on packaging and deployment.
A separate experiment for client demos
Outside the six-agent lineup, I built an interactive AI avatar that can explain project material and answer questions live during client demos.