Skip to main content

langchain-bidda

Source-verified regulatory and compliance intelligence for LangChain agents, from the Bidda registry.

langchain-bidda gives a LangChain agent a tool that looks up what a regulation, law, or standard requires and returns a plain summary traced to a primary legal source with a content hash. Each answer points back to the primary instrument, so an agent can cite what it relied on instead of relying on the model's own recall.

This is reference intelligence, not legal advice. The reader draws the legal conclusion.

Installation

pip install -U langchain-bidda

Tools

BiddaComplianceTool

Looks up source-verified compliance intelligence across the Bidda registry (10,000+ obligations across 39 regulated pillars, including the EU AI Act, GDPR, DORA, NIS2, HIPAA, Basel III, and the MITRE ATT&CK / ATLAS / D3FEND / CAPEC families). Uses the free discovery tier, so no API key is required.

from langchain_bidda import BiddaComplianceTool

tool = BiddaComplianceTool()

print(tool.invoke({"query": "EU AI Act Article 10"}))

Example output:

Regulation: Regulation (EU) 2024/1689 - Article 10: Data and data governance
Pillar: AI Governance & Law
Summary: High-risk AI systems trained on data must meet data governance and management practices ...
Node ID: eu-ai-act-article-10-data-governance-training
Source (full node): https://bidda.com/intelligence/eu-ai-act-article-10-data-governance-training

Use inside an agent

from langchain.chat_models import init_chat_model
from langchain_bidda import BiddaComplianceTool

llm = init_chat_model("gpt-4o-mini", model_provider="openai")
agent = llm.bind_tools([BiddaComplianceTool()])

agent.invoke("What does the EU AI Act require for training data governance?")

Configuration

Field Default Purpose
pillar None Restrict results to one pillar slug, e.g. "cybersecurity" or "ai-governance".
max_results 4 How many related node ids to surface after the top match.
skyfire_token / base_tx_hash None Optional credentials for callers who also pull full (gated) node payloads. Not needed for discovery search.

License

MIT

Metadata

Release files for langchain-bidda 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-bidda 0.1.0
File Size Uploaded Provenance Actions
langchain_bidda-0.1.0.tar.gz 5.7 kB Without provenance Details for langchain_bidda-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-bidda 0.1.0
File Interpreter ABI Platform Actions
langchain_bidda-0.1.0-py3-none-any.whl Python 3 none any Details for langchain_bidda-0.1.0-py3-none-any.whl

Total release size: 11.9 kB

Release files / langchain_bidda-0.1.0.tar.gz

Download URL langchain_bidda-0.1.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2272102268e019fd31a9e85fc97fd6600013d75391d4162fc8a804db7db37043
BLAKE2b-256 checksum
How to use checksums
a7c9b0efdb8620b56fc7707c5801c1b00e8ebc190086042c87e39b1b27f57d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / langchain_bidda-0.1.0-py3-none-any.whl

Download URL langchain_bidda-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d11f5476e4d0d79b89efbdb15c7a723b294e56dd655d251fcaf59ccef49af73b
BLAKE2b-256 checksum
How to use checksums
55b0bdb3824ffc9e72944a122b462141afad29cfcefca4ca744528665ea7fcb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for langchain-bidda 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page