dify - ✅(Solved) Fix feat: EU AI Act compliance documentation and agent audit trails [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langgenius/dify#34766Fetched 2026-04-09 08:17:54
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
1
Participants
Timeline (top)
cross-referenced ×1labeled ×1

Fix Action

Fixed

PR fix notes

PR #41: feat: add 7 framework integration examples and 15 integration tests

Description (problem / solution / changelog)

Summary

Working integration examples for 7 major AI agent frameworks, each demonstrating the exact pattern proposed in the corresponding GitHub issue.

FrameworkExampleGitHub IssueTests
LangChainintegrations/examples/langchain_compliance.pylangchain-ai/langchain#366173
CrewAIintegrations/examples/crewai_compliance.pycrewAIInc/crewAI#53603
OpenAI Agentsintegrations/examples/openai_agents_compliance.pyopenai/openai-agents-python#28623
Semantic Kernelintegrations/examples/semantic_kernel_compliance.pymicrosoft/semantic-kernel#138531
Difyintegrations/examples/dify_compliance.pylanggenius/dify#347661
Google ADKintegrations/examples/google_adk_compliance.pygoogle/adk-python#52121
AWS Strandsintegrations/examples/strands_compliance.pystrands-agents/sdk-python#20963

All examples work without framework dependencies. 15 integration tests pass.

Test plan

  • All 7 examples run with exit code 0
  • 15 integration tests pass
  • 315 total tests pass (300 existing + 15 new)
  • No framework dependencies required
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

  • New Features

    • Added example integrations demonstrating compliance workflows for CrewAI, Dify, Google ADK, LangChain, OpenAI Agents, Semantic Kernel, and Strands frameworks.
    • Introduced bulk HTML report generation for multi-agent compliance summaries.
    • Added digital signature verification section to compliance reports.
    • Enhanced credential reporting with proof type and verification method details.
  • Tests

    • Added comprehensive integration tests for all supported framework integrations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Changed files

  • integrations/examples/crewai_compliance.py (added, +561/-0)
  • integrations/examples/dify_compliance.py (added, +376/-0)
  • integrations/examples/google_adk_compliance.py (added, +527/-0)
  • integrations/examples/langchain_compliance.py (added, +502/-0)
  • integrations/examples/openai_agents_compliance.py (added, +496/-0)
  • integrations/examples/semantic_kernel_compliance.py (added, +619/-0)
  • integrations/examples/strands_compliance.py (added, +634/-0)
  • services/report_service.py (modified, +214/-2)
  • tests/integration/test_framework_integrations.py (added, +413/-0)
  • tests/unit/test_report.py (modified, +118/-0)
RAW_BUFFERClick to expand / collapse

Is your feature request related to a problem?

Organizations deploying Dify applications in the EU face mandatory compliance with the EU AI Act (enforcement begins August 2, 2026). Currently there is no way to:

  • Generate machine-verifiable compliance documentation from Dify workflows
  • Attach EU AI Act risk classification to deployed applications
  • Produce tamper-evident audit trails for agent actions (Article 12 requirement)
  • Issue W3C Verifiable Credentials as compliance proof

Describe the solution you'd like

Integration with compliance tooling that can:

  1. Classify each Dify application by EU AI Act risk category (minimal/limited/high/unacceptable)
  2. Log all agent tool calls and LLM interactions to a hash-chained audit trail
  3. Generate Annex V Declaration of Conformity for deployed applications
  4. Issue cryptographically signed compliance credentials (W3C VC format)

Since Dify supports MCP (v1.6.0+), this could be integrated as an MCP server that Dify workflows call for compliance operations.

Additional context

An open-source implementation exists: Attestix (47 MCP tools, 13 EU AI Act articles automated, W3C VC 1.1, Ed25519 signatures, Apache 2.0).

pip install attestix | Docs: https://attestix.io/docs

extent analysis

TL;DR

Integrate the Attestix compliance tooling with Dify workflows to generate machine-verifiable compliance documentation and meet EU AI Act requirements.

Guidance

  • Explore the Attestix open-source implementation and its documentation to understand how it can be integrated with Dify workflows.
  • Consider using the Attestix MCP server to classify Dify applications by EU AI Act risk category and generate compliance credentials.
  • Review the Attestix features, such as hash-chained audit trails and W3C Verifiable Credentials, to ensure they meet the required compliance standards.
  • Evaluate the feasibility of installing Attestix via pip install attestix and using its documentation for integration guidance.

Example

No code snippet is provided as the issue does not contain specific code-related details.

Notes

The integration of Attestix with Dify workflows may require additional development and testing to ensure seamless compliance with the EU AI Act.

Recommendation

Apply workaround: Integrate Attestix compliance tooling with Dify workflows, as it provides a readily available solution for generating machine-verifiable compliance documentation and meeting EU AI Act requirements.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING