@antonyrag3
Antony TCFounder▲10
AI Engineer & Architect, RagLeap
40m ago · Agents, AI Adoption, AI Engineering, Security · Vellore

RagLeap Core v0.13.12: Binding AI Agent Approvals to Policy

AI agents are becoming more capable of executing actions and delegating work to other agents. But as autonomy grows, the security question becomes more important:

Can an action still execute under different permissions than the ones it was originally approved for?
With RagLeap Core v0.13.12, we're strengthening the relationship between approval, policy, and delegated execution.

RagLeap is an open-source, self-hosted AI employee platform. This release focuses on making existing autonomy safer and more verifiable — not on expanding autonomy.

1. Approval policy integrity

An approval is meaningful only if the policy it was granted under remains unchanged. In v0.13.12, the approval policy digest is bound to autonomy settings, including:

  • Autonomy mode
  • Allowed actions and channels
  • Approval chat configuration

Before execution, RagLeap checks the policy again.
If the settings no longer match the approved policy, the action is rejected with an explicit reason, such as approval_mismatch or policy_changed.

Approvals without the required action hash or settings digest are also refused.
This helps prevent an approval from being reused after the authority surrounding it has changed.

2. Stronger sub-agent start records

Delegated agents introduce another boundary: the child agent must begin with the authority it was actually assigned.
RagLeap now binds key details into signed sub-agent start records:

  • Tool names, handlers, and effect classes
  • Child role and instructions
  • Starting taint state

Unknown or missing tools are refused.
Taint can increase as an agent processes untrusted information, but it cannot simply be reduced by a child agent.

The goal is to make the child agent's starting authority explicit and verifiable.

3. Budget reservation recovery

Agent delegation also requires reliable resource accounting. This release adds reconciliation for orphaned budget reservations and explicit refusal reasons for child spawning, including:

  • child_limit
  • budget_reserved
  • reservation_unavailable

These reasons make it easier to understand why a delegation was refused and help prevent resource accounting from silently becoming inconsistent.

4. Upgrade considerations

When upgrading to v0.13.12:

  1. Apply the updated db/schema.sql before starting the application.
  2. Pending approvals created under older formats may be refused and need to be approved again.
  3. Unfinished child runs with older start records may be refused.
  4. Sub-agents remain disabled by default.

A signing key provides stronger protection for policy digests. Without it, an actor with direct database write access may be able to rewrite a digest.

Please review the release notes and migration requirements before upgrading a production deployment.

What this release does not claim

This release does not enable sub-agents by default, and it does not introduce parallel spawning. The focus is narrower: strengthen the authorization and integrity boundaries around approval and delegation.

Why this matters

An AI agent should not be able to carry an approval into a different policy context. A delegated agent should not silently begin with different tools or instructions from the ones recorded. And when execution is refused, the system should provide a reason that can be inspected. These are small but important steps toward building AI systems whose actions are governed by explicit, testable boundaries.

Release

RagLeap Core v0.13.12
Release notes: github.com/ragleap/ragleap-core/releases/tag/v0.13.12

GitHub: github.com/ragleap/ragleap-core

Website: ragleap.com

Documentation: docs.ragleap.com

RagLeap is open-source and self-hosted. Developers can run it on their own infrastructure and retain control over their data and AI providers.

We're continuing to improve the security, governance, and reliability of open-source AI agents.

OpenSourceAIAgentsAgenticAIAISecurity

Comments

No comments yet
Start the conversation.
Log in to join the thread.