Build a Minimal AI Agent Platform: Gateway, Registry, Audit
I built an agent platform in 100 lines, and switched an agent off by changing one flag in the registry.
Video #249 ยท Enterprise architecture and AI agents
Steps in the video
Files
- audit.py (21 lines)
- compare.py (28 lines)
- core.py (29 lines)
- registry.py (25 lines)
Tested with
Python 3.12.15
What this does not show
A teaching platform in one process and in memory: no real caller identity, no database, a budget counter that never resets, a hash chain that cannot see changes to its last line, and nothing here stops an agent going round the gateway.
Sources
Learning IT by Example.