r/AiBuilders • u/forevergeeks • 5d ago
Open source domain controller for AI agents
Hi everyone,
If you are looking for a client-server architecture to manage your AI agents, I built SAFi for this.
If you are an IT professional, think of how a domain controller works: your accounts, groups, permissions, and policies are held on a central server and enforced across every client on your network. SAFi works the same way for AI agents.
Instead of having API keys, rules, and logs scattered across individual laptops, your terminal agents (safi-cli, sandboxed with Linux Bubblewrap) connect to a central SAFi server that governs what tools they can run and keeps a single audit trail across all your machines.
works with both local inference (llama.cpp / OpenAI-compatible) and cloud APIs, and you can self-host the server with Docker.
GitHub: https://github.com/jnamaya/SAFi
demo server: https://safi.selfalignmentframework.com
Let me know if you have any questions or feedback.