Building AI Products Part I: Back-end Architecture for an Engineering Leader AI Assistant
Engineering leaders lacked a unified way to track information across team tools and critical project developments. As the AI assistant scaled, inference pipelines grew complex and brittle, and the microservices architecture conflicted with the stateful, non-deterministic nature of AI agents.
The initial microservices architecture was a poor fit because agents require rich stateful context, non-deterministic behavior, and data-intensive processing, conflicting with stateless minimal-context microservices design. Attempts at feature extraction using simpler ML models were also unsuccessful.
The team attracted 10,000 users within a year, growing from 8 to 2,000 users in about two months, outperforming incumbents such as Salesforce and Slack AI.
The technical learnings drove a pivot to Outropy, a developer platform enabling engineers to build AI products.
Frequently asked questions
What did this team achieve with this AI workflow?
The team attracted 10,000 users within a year, growing from 8 to 2,000 users in about two months, outperforming incumbents such as Salesforce and Slack AI.
What tools did this team use?
Slack, SQLAlchemy, Pydantic, Python, FastAPI, asyncio, Temporal, Postgres, AWS Elastic Container Service, OpenAI.
What results were reported?
Total users within one year: 10,000; User growth over approximately two months: 8 to 2,000 users in about two months; Daily briefing generation time (degraded at scale): went from taking minutes to hours per user (source-reported, not independently verified).
What failed first in this deployment?
The initial microservices architecture was a poor fit because agents require rich stateful context, non-deterministic behavior, and data-intensive processing, conflicting with stateless minimal-context microservices d…
How is this back office ops AI workflow structured?
User activity ingestion → LLM proposition generation → Event bus agent routing → CQRS event sourcing → Temporal agent computation → Personalized daily briefing.