World's Fair 2026
Agents in Production: How OpenGov Built and Scaled OG Assist - Gabe De Mesa, OpenGov
Overview
This talk details OpenGov's journey in building and scaling OG Assist, an AI agent integrated across their government software products. The core thesis revolves around the strategic decision to bet on the Effect TypeScript library for building a robust agent loop, enabling significant advancements in development and production capabilities. The presentation highlights practical applications, architectural choices, and the iterative process of improving AI agent performance in a real-world enterprise environment.
Who should watch
- AI engineers and developers building agentic systems.
- Product Managers and engineers focused on integrating AI into existing software.
- Teams looking to scale AI agent deployments and manage complex use cases.
- Developers interested in leveraging TypeScript and Effect for AI applications.
- Those facing challenges with long context windows and agent observability.
Key takeaways
- OpenGov built OG Assist, an AI agent integrated into their ERP software suite, allowing users to interact with product-specific data and functionalities via a chat interface.
- The team made a significant bet on the Effect TypeScript library, finding it instrumental in structuring code, managing the core agent loop, and providing built-in features like tracing and error handling.
- They transitioned from LangGraph to a custom Effect-native agent loop to gain full control over complex use cases and leverage Effect's capabilities more deeply.
- The agent-to-agent (A2A) protocol was adopted to define agent routes and establish a clear contract between front-end and back-end systems, aiding development alignment.
- Feedback mechanisms, including user thumbs up/down and automated CI evaluations, are crucial for rapid iteration and improvement of agent tools and skills.
- Humans are kept in the loop for critical tool calls requiring approval, ensuring safety and trust, especially for mutating operations.
- Sandboxing is employed for agent code execution and file creation, providing a safe, ephemeral, and isolated environment to mitigate risks to production systems.
- To handle long context, OpenGov implemented a rolling summarization strategy combined with a memory component for recalling information from extended conversations.
Notable quotes
*Shipping is the start, not the finish.*
*You can't scale what you can't see.*
*We believe that tools and skills are really all you need.*
Unofficial community note. Prefer the recording for nuance.