System Design
19. AI System Design and LLM InfrastructureAnimated
AI Agent Architecture
A model that plans, uses tools and observes results.
The idea
The loop is: think, choose a tool, act, observe, repeat until the goal is met.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
The user gives a goal.
- step:
- 1/4
- at:
- User goal
1/11
The green dot is a request moving through the system.
Step by step
- 1Receive a goal
- 2The model plans
- 3It calls a tool
- 4It observes and continues until done
Where it is used
Task automation.
Watch out for
Errors compound over steps. Add limits and checks.