Skip to content

feat: add governance layer inside AgentExecutor ReAct loop#6426

Open
Shreyashgol wants to merge 1 commit into
FlowiseAI:mainfrom
Shreyashgol:governance-agent-node
Open

feat: add governance layer inside AgentExecutor ReAct loop#6426
Shreyashgol wants to merge 1 commit into
FlowiseAI:mainfrom
Shreyashgol:governance-agent-node

Conversation

@Shreyashgol
Copy link
Copy Markdown

  • Insert policy check between tool resolution and tool.call()
  • Add policyLoader, policyChecker, hitl, auditLogger modules
  • policies.yaml with allow/deny/escalate rules
  • Append-only audit log at project root
  • Human-in-the-loop via CLI readline

- Insert policy check between tool resolution and tool.call()
- Add policyLoader, policyChecker, hitl, auditLogger modules
- policies.yaml with allow/deny/escalate rules
- Append-only audit log at project root
- Human-in-the-loop via CLI readline
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@arian-gogani
Copy link
Copy Markdown

governance inside the AgentExecutor ReAct loop is the right placement. one missing piece: tamper-evident evidence of every governance decision.

when the governance layer allows or denies an action, that decision should be captured in a signed receipt. otherwise the governance check is invisible to downstream auditors.

the receipt carries: agent ID, action type, scope, verdict (ALLOW/DENY), policy_version, and an Ed25519 signature. modify anything after the fact and the signature breaks.

for Flowise specifically: a governance callback that emits a nobulex receipt at each ReAct step gives every flow execution a verifiable audit trail. EU AI Act Article 12 requires tamper-evident logs for high-risk AI systems (deadline: August 2).

github.com/arian-gogani/nobulex — open source, MIT licensed.

@Shreyashgol
Copy link
Copy Markdown
Author

Yeah , you are right , I stored in the audit.log file .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants