OpenGov makes ERP software for government, including budgeting, procurement, asset management, and permitting. OG Assist is available across its products and uses product-specific tools to answer questions about data. It can also interpret what is on a user’s screen and highlight possible next steps.
Agents in Production: How OpenGov Built and Scaled OG Assist
Speaker
Gabe De Mesa, an engineer on the AI agents team at OpenGov, explains how the company built and scaled OG Assist for its government software products at AI Engineer.
The team moved from LangGraph to an agent loop built with Effect, a TypeScript library, as its use cases and team grew. De Mesa says this gave them more control and made tracing, logging, and structured concurrency available throughout the loop. The team also uses the Agent2Agent protocol as a shared contract for its front end, back end, models, and schemas.
The team combines user feedback, including thumbs-up and thumbs-down signals, with automated evaluations in CI that check real completions and tool use. For actions requiring approval, the agent loop pauses until a person accepts or rejects the tool call. Code execution and file creation happen in ephemeral sandboxes that are removed afterward.
To handle long conversations and model token limits, OG Assist creates rolling summaries and keeps only the most recent messages alongside them. This lets the agent refer back to earlier topics. De Mesa also describes Effect tracing, which helps the team inspect function calls, find bottlenecks, and investigate failures across services.
OpenGov builds tools and groups them into toolkits that can be registered with a language model, then uses them as building blocks for skills. The company also uses Claude and Cursor internally to help read, write, and review code and speed up development.
Takeaways
- Treat the agent loop as a core system: owning it can give a team more control as use cases grow.
- Use a shared protocol as a contract between front-end and back-end teams.
- Combine automated evaluations with user feedback to guide iteration on tools, skills, and prompts.
- Require human approval for mutating actions and isolate code execution in temporary sandboxes.
- Use rolling summaries to preserve useful conversation history within token limits.
Mentioned in this talk
Search inside this talk
What was claimed 10
- uses
“We use a lot of Claude and Cursor.”
YouTube Verified2 sources· Talk, Job posting· archived
- uses
“We use a lot of Claude and Cursor.”
YouTube Verified3 sources· Talk, Job posting
- works atGabe De Mesa works at
OpenGovSoftware Engineer (utility billing, then AI agents team / OG Assist)“I'm a software engineer here at OpenGov.”
YouTube Verified2 sources· Talk, Web· archived
- feature
OpenGov: AI assistant embedded in product navigation and able to call suite-specific toolsAI assistant embedded in product navigation and able to call suite-specific tools“All of our product suites and teams have built tools and skills to power this button.”
YouTube Unverified1 source· Talk
- uses
“We write Effect.”
YouTube Unverified1 source· Talk
- uses
“Originally, we were on LangGraph.”
YouTube Unverified1 source· Talk
- built
Google built A2A protocol“It's an open protocol created by Google.”
YouTube Unverified1 source· Talk
- uses
OpenGov uses A2A protocol“We've had a lot of success with this protocol on the Agents team.”
YouTube Unverified1 source· Talk
- feature
OpenGov: OG Assist can interrupt the agent loop for human approval of tool calls“We deterministically interrupt the agent loop if tool call approval is required.”
YouTube Unverified1 source· Talk
- feature
OpenGov: Agents execute code and create files in isolated, ephemeral sandboxes that are torn down afterward“It's a safe, ephemeral, isolated space where the agent can take action without putting our production systems at risk.”
YouTube Unverified1 source· Talk












