Building and Scaling an Enterprise AI Assistant with GPT Models

instacart · E-commerce · 2023 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Enterprise productivity assistants

Instacart wanted to turn an engineering hackathon productivity win with GPT-4 into a secure, company-wide internal AI assistant that technical and non-technical employees could actually adopt.

Constraints:

Architecture

Instacart built Ava as an internal assistant powered by OpenAI GPT-4 and GPT-3.5 APIs. The web interface resembles ChatGPT but adds enterprise features: conversation search, conversation sharing, single-click code copying, keyboard shortcuts, automatic GPT-4 model upgrades as context grows, and a Prompt Exchange where employees publish reusable prompts. Slack integration brings Ava into existing workflows with link unfurling, normal chat behavior, and a first-class '@Ava summarize' feature that turns threads or channels into facts, open questions, and action items. The roadmap points toward knowledge retrieval, code execution, and company-wide Ava APIs for deeper internal tooling.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  ava-web-interface[Ava web interface] --> ava-assistant-backend[Ava assistant backend]
  ava-assistant-backend --> openai-api[OpenAI API]
  ava-web-interface --> conversation-store[Conversation store]
  ava-web-interface --> prompt-exchange[Prompt Exchange]
  prompt-templates[Prompt templates] --> ava-web-interface
  prompt-exchange --> prompt-templates
  ava-assistant-backend --> slack-app[Slack app]
  slack-app --> slack-threads[Slack threads]
  slack-app --> slack-summary-verification[Slack summary verification]
  conversation-store --> slack-unfurling[Slack unfurling]
  slack-unfurling --> ava-web-interface
  ava-assistant-backend --> ava-apis[Ava APIs]
  ava-apis --> knowledge-retrieval[Knowledge retrieval]
  ava-apis --> code-execution[Code execution]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Ava web interface ChatGPT-like internal web app for conversations, code workflows, search, sharing, and templates. Ava assistant backend, Conversation store, Prompt Exchange, Slack unfurling
Ava assistant backend Core service coordinating GPT model calls, conversation context, automatic model upgrades, and shared APIs. Ava web interface, OpenAI API, Slack app, Conversation store, Ava APIs
OpenAI API Enterprise GPT-4 and GPT-3.5 model access with custom privacy, security, and quota guarantees. Ava assistant backend
Conversation store Stores conversations for full-text search, sharing, and link previews. Ava web interface, Ava assistant backend, Slack unfurling
Prompt templates Pre-crafted prompts that help non-engineering users start useful conversations without a blank text box. Ava web interface, Prompt Exchange
Prompt Exchange Library where employees create, browse, search, star, share, and reuse prompts across departments. Ava web interface, Prompt templates
Slack app Slack-native interface for chatting with Ava and summarizing threads or channels. Ava assistant backend, Slack threads, Slack summary verification
Slack threads Conversation context used by Ava's Fast Breakdown summarization feature. Slack app
Slack summary verification Public summary posting pattern that lets participants verify accuracy and note corrections. Slack app
Slack unfurling Preview layer for shared Ava conversation links so Slack users can decide whether to open them. Conversation store, Ava web interface
Ava APIs Planned company-wide API surface for teams building AI-enabled internal tools on top of Ava. Ava assistant backend, Knowledge retrieval, Code execution
Knowledge retrieval Planned retrieval capability for giving Ava access to Instacart internal knowledge. Ava APIs
Code execution Planned execution capability for using internal knowledge to accomplish more complex tasks. Ava APIs

Data flow

An employee uses Ava through the web UI or Slack. Web conversations can start from templates or Prompt Exchange prompts, use OpenAI GPT-4/GPT-3.5 through enterprise API guarantees, and persist for full-text search and sharing. Shared web links unfurl in Slack so colleagues can preview context. In Slack, a user can ask Ava normally or invoke '@Ava summarize' on a thread or channel; Ava generates a public summary so participants can verify accuracy and add corrections. Longer conversations can be automatically upgraded across GPT-4 model variants as context grows.

3 supporting quotes
“Ava’s web interface, similar to ChatGPT, also has additional features like conversation search, automatic model upgrades and a “Prompt Exchange” that allows users to share and reuse prompts.”article, stated
“At the time, we were working closely with OpenAI and had early access to GPT-4 (the 32K context model) with APIs that had custom data privacy, security, and quota guarantees.”article, stated
“we allow users to easily summarize a thread or channel by simply typing “@Ava summarize.” The summary is then posted publicly, which makes it easy for other participants to verify that the summary is accurate and note any corrections. It’s hard to convey”article, stated

Why this architecture

Instacart reused OpenAI's enterprise APIs rather than self-hosting because early GPT-4 access came with the privacy, security, quota, and long-context guarantees needed for internal use. The product grew through adoption friction removal: engineer-specific affordances for the first launch, templates and conversation sharing for non-engineers, a crowdsourced Prompt Exchange instead of centralized template authoring, and Slack integration for tasks too small to justify visiting a separate web app. Public Slack summaries create a lightweight human-verification loop around generated thread digests.

4 supporting quotes
“At the time, we were working closely with OpenAI and had early access to GPT-4 (the 32K context model) with APIs that had custom data privacy, security, and quota guarantees.”article, stated
“As we focused on non-engineering users, we knew that starting with a blank text box would be a barrier to entry.”article, stated
“our small team simply didn’t have the domain-specific expertise to create great templates for every team’s use case.”article, stated
“The summary is then posted publicly, which makes it easy for other participants to verify that the summary is accurate and note any corrections.”article, stated

Models used: GPT-4 · GPT-4 32K · GPT-3.5

Scale

Alternatives considered (roads not taken)

Keep Ava as an engineering-only tool

Rejected because: Demand from Operations, Recruiting, Brand Marketing, HR, and other departments required a more ergonomic cross-functional assistant.

“After observing strong adoption among engineers, Instacart identified demand from other departments including Operations, Recruiting, Brand Marketing, and HR.”summary, stated

Blank text box as the default non-engineering entry point

Rejected because: Non-engineering users needed structured starting points, so Instacart added templates.

“we knew that starting with a blank text box would be a barrier to entry. To address this, we added some well crafted prompts which we called “templates””article, stated

Central team authors templates for every department

Rejected because: The small Ava team lacked domain expertise for every team's use cases, so users created and shared their own prompts.

“we decided that it would be far more valuable to allow our users to create and share templates based on their own needs and experience.”article, stated

Make the Slack app a reduced web clone

Rejected because: The team instead selected Slack-native features, especially thread and channel summarization.

“we didn’t want our Slack integration to just be a less-featured clone of the web experience, so we looked for specific features that would be especially valuable within the Slack app.”article, stated

Standalone web app for every quick task

Rejected because: Navigating to a page and pasting context was too much friction for small tasks, so Ava moved into Slack.

“navigating to a specific web page and pasting in context is a lot of friction if you’re trying to do something small.”article, stated

Patterns

model-routing (model-management)

Ava automatically upgrades between GPT-4 models as conversation context grows, using larger context windows when needed.

“automatic upgrades between GPT-4 models as the conversation context grew.”article, stated
“With the largest GPT-4 context model, developers were also using Ava to create, debug and review full code files”article, stated

prompt-versioning (prompt-operations)

The Prompt Exchange turns reusable prompts into shared organizational assets that employees can browse, search, star, create, and reuse.

“launched the Ava Prompt Exchange, a library of user-created prompts which can get Ava working on a specific task with just a few clicks.”article, stated
“Users can browse popular prompts, search for something specific, or create their own and share them with the rest of the company.”article, stated

human-in-the-loop-gate (collaboration)

Slack summaries are posted publicly so people in the conversation can verify the AI output and note corrections.

“The summary is then posted publicly, which makes it easy for other participants to verify that the summary is accurate and note any corrections.”article, stated

tool-use-orchestration (platform)

The team planned to expose Ava APIs and add knowledge retrieval plus code execution so internal teams could build AI-enabled tools on top of centralized assistant infrastructure.

“Users use Ava to write, to review and debug code, to improve comms, to learn faster and to build AI-enabled internal tools on top of our APIs.”article, stated
“we are working on knowledge retrieval and code execution, so that Ava can not only access Instacart’s wealth of internal knowledge, but use it to accomplish complex tasks.”article, stated

Tradeoffs

Model hosting

Chose OpenAI enterprise APIs over self-hosting an internal model first.

Rationale: Early GPT-4 access plus privacy, security, quota, and 32K context support let Instacart launch quickly for engineers.

“At the time, we were working closely with OpenAI and had early access to GPT-4 (the 32K context model) with APIs that had custom data privacy, security, and quota guarantees.”article, stated

Adoption path

Chose engineering-first launch followed by cross-functional ergonomics over waiting for a fully general enterprise assistant before launch.

Rationale: Engineering use cases proved value quickly, then adoption signals from other teams drove templates, sharing, search, and Slack integration.

“We decided to leverage these and quickly built and launched Ava for our engineers!”article, stated
“To prepare Ava for a broader release, we worked toward making Ava more ergonomic and easier to use rather than building developer-centric features.”article, stated

Prompt supply

Chose crowdsourced Prompt Exchange over small-team template creation for every department.

Rationale: Domain experts across the company could create better prompts for their own workflows than the central Ava team could.

“we decided that it would be far more valuable to allow our users to create and share templates based on their own needs and experience.”article, stated

Slack integration design

Chose Slack-native summarization and conversation support over a reduced clone of the web UI.

Rationale: Thread/channel summarization was already a proven use case and fit the Slack context better than copying all web features.

““Fast Breakdown” was a clear choice for a first-class feature in our Slack app.”article, stated

Gotchas (what bit them)

A blank chat box slowed adoption outside engineering.

Root cause: Non-technical users may not know how to craft an effective prompt from scratch.

Resolution: Add well-crafted templates to start conversations quickly.

“starting with a blank text box would be a barrier to entry. To address this, we added some well crafted prompts which we called “templates””article, stated

Centralized template authoring would not scale across departments.

Root cause: The small Ava team lacked domain-specific expertise for every team's use cases.

Resolution: Launch Prompt Exchange so employees create and share prompts based on their own needs and experience.

“our small team simply didn’t have the domain-specific expertise to create great templates for every team’s use case.”article, stated

Web-only access created too much friction for small tasks.

Root cause: Users had to navigate to a page and paste context before asking for help.

Resolution: Build a Slack app and prioritize context-native features such as thread summarization.

“navigating to a specific web page and pasting in context is a lot of friction if you’re trying to do something small.”article, stated

LLMs were limited by what data they could access.

Root cause: The model's training/tuning data and available context constrained usefulness for internal workflows.

Resolution: Prioritize knowledge retrieval and code execution so Ava can access Instacart internal knowledge and act on it.

“The Achilles’ heel of LLMs is the data they are trained/tuned on or have access to, so we are working on knowledge retrieval and code execution”article, stated

Evaluation

The case reports adoption and engagement metrics rather than a formal evaluation harness. Instacart measured monthly and weekly usage, session duration, code-copying behavior, template usage, conversation sharing, Slack adoption, and public correction opportunities for summaries.

Metrics: monthly active employee share · weekly active employees · 20+ minutes per session · large proportion of conversations started with templates · conversation sharing and Slack visibility · summary corrections in public Slack

3 supporting quotes
“Ava has seen accelerated adoption at Instacart, with over half of Instacart employees using it every month and more than 900 using it every week.”article, stated
“users were spending 20+ minutes per session and were producing and copying a significant amount of code with Ava as a chat companion.”article, stated
“After releasing Ava to the entire organization, we saw that a large proportion of conversations started with our prompt templates.”article, stated

Outcomes

The case reports strong adoption but not quantified productivity impact beyond usage, session, and hackathon velocity signals.

3 supporting quotes
“Ava has seen accelerated adoption at Instacart, with over half of Instacart employees using it every month and more than 900 using it every week.”article, stated
“By this point, nearly a third of the organization was already using Ava every month”article, stated
“Levelling up Ava this way will not only immediately benefit our users, but will also serve as a foundation for even more sophisticated future applications.”article, stated