Case study · Auggy
Client project · AugmentProject period2024 – 2025
Multi-agent orchestration
Designed and implemented LangGraph-based orchestration for multiple specialized workplace agents, coordinating task execution across integrated systems.
01
Why
A workplace assistant has to do very different jobs: tickets, meetings, email, time logs, company questions and HR. We first tried to put all of it into a single agent, and it couldn't give consistent results. We were giving it too much context, with conflicting guidance and rules, and the AI struggled to keep up.
02
Decision
I suggested breaking it up. A supervisor agent routes each request to a specialist agent, and LangGraph coordinates them. Each specialist has a small, focused job and only the context it needs.
Two more things make it work:
- Separate sessions for each user. At first we didn't realize sessions had to be separate. Every request went to the same agent, and the agent has a memory, so it treated different people as one person and mixed their context. People got very strange answers. We found the cause while debugging: everyone was chatting with the same agent. So each user now has their own session with its own context, and a follow-up like "move it to Friday" resolves against that user's earlier messages.
- A role check inside the orchestration. Before an agent runs, the user's role is checked against it. If the role isn't allowed, for example an employee asking for HR work, the request stops there and an error comes back.
How it fits
Hover or focus a box for the story behind it.
Every user gets a separate chat session with its own memory. A follow-up like "move it to Friday" resolves against that user's earlier messages, and conversations from different users never mix.
03
Alternatives considered
A single general agent. It was my first attempt, and it didn't produce consistent results.
04
What I built
Designed and implemented agent workflows using LangGraph to coordinate multiple specialized AI agents and manage task execution across the workplace assistant.
The orchestration layer enabled Auggy to route and coordinate requests across agents responsible for different workplace capabilities rather than handling all functionality through a single generalized agent.
05
Trade-offs
- Extra calls and delay. Routing through a supervisor adds model calls, and each one adds latency.
- More complexity. A request can go in different directions, so prompts have to be crafted very carefully. A small mistake and the agent doesn't think properly.
- Choosing models carefully. A very powerful model for any agent adds latency. So every pick has to be weighed against the outcome, the delay and the cost.
- Debugging costs money. We used LangSmith to debug the agents. It costs money, but it was the only solution we could think of.
06
Outcome
One assistant covers many workplace systems, with each agent focused on one job and each user in their own session.