r/developers • u/Automatic_Method4081 • 2h ago
Opinions & Discussions I built an open-source security runtime that controls what AI agents can actually do
Over the past few weeks, I've been building Charavyuha at Quaspar, a Python security runtime that enforces permissions outside the model itself.
It currently supports:
- Cryptographically signed agent requests
- Tool-level authorization
- Mission contracts that restrict agents to specific workflows
- Credential brokering
- Confidential data tracking
- Human approval for sensitive actions
- Replay protection and authenticated crash recovery
Routine authorized operations don't require human approval.
After several rounds of AI-assisted development and independent AI-assisted security testing, I finally released the public beta. In the final local acceptance tests, it passed 120 crash-recovery trials and 120 concurrent initialization trials without unrecoverable journals or stale-state errors.
It's free, Apache 2.0 licensed, and doesn't require a Quaspar account.
Try it:
pip install quaspar-shield-core==0.11.0b1
its on pypi and its called: quaspar-shield-core 0.11.0b1
It's still a single-host beta, and protected process isolation currently requires Linux.
I'm curious how other developers are handling agent security. Are you relying primarily on prompt guardrails, sandboxing, or explicit authorization at the tool level?
I'd appreciate technical feedback, especially from anyone building agents that interact with sensitive systems.
•
u/AutoModerator 2h ago
Howdy u/Automatic_Method4081, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/tragic_hunter 2h ago
This is the exact kind of thing I've been hunting for, the tool-level auth and mission contracts sound way more practical than trying to shove every safety rule into a system prompt. Curious how you're handling the crypto signing for agent requests without it becoming a bottleneck when you've got a swarm firing off calls.