[PR #2175] docs: add ContextGraph integration for AI agent governance #2198

Open
opened 2026-02-17 17:23:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2175
Author: @akz4ol
Created: 1/11/2026
Status: 🔄 Open

Base: mainHead: add-contextgraph-integration


📝 Commits (1)

  • 05425a1 docs: add ContextGraph integration

📊 Changes

1 file changed (+122 additions, -0 deletions)

View changed files

src/oss/python/integrations/providers/contextgraph.mdx (+122 -0)

📄 Description

Summary

Adds documentation for ContextGraph - governance infrastructure for AI agents that provides audit trails, policy enforcement, and compliance reporting.

What is ContextGraph?

ContextGraph logs every agent decision with full provenance, evaluates policies before agents act, and provides compliance-ready audit trails. It's similar to Langfuse for observability, but focused on governance and policy enforcement.

Integration Details

  • Middleware support for LangChain v1+ (create_agent() with middleware)
  • Legacy callback support for LangChain < 1.0 (AgentExecutor)
  • Logs model calls and tool executions
  • Supports policy enforcement (block/require approval for specific tools)

Package

pip install contextgraph-langchain

Related


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2175 **Author:** [@akz4ol](https://github.com/akz4ol) **Created:** 1/11/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-contextgraph-integration` --- ### 📝 Commits (1) - [`05425a1`](https://github.com/langchain-ai/docs/commit/05425a1a92fcdd15ea13174a1a15dea44afb2518) docs: add ContextGraph integration ### 📊 Changes **1 file changed** (+122 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `src/oss/python/integrations/providers/contextgraph.mdx` (+122 -0) </details> ### 📄 Description ## Summary Adds documentation for [ContextGraph](https://github.com/akz4ol/contextgraph-integrations) - governance infrastructure for AI agents that provides audit trails, policy enforcement, and compliance reporting. ## What is ContextGraph? ContextGraph logs every agent decision with full provenance, evaluates policies before agents act, and provides compliance-ready audit trails. It's similar to Langfuse for observability, but focused on governance and policy enforcement. ## Integration Details - **Middleware support** for LangChain v1+ (`create_agent()` with middleware) - **Legacy callback support** for LangChain < 1.0 (`AgentExecutor`) - Logs model calls and tool executions - Supports policy enforcement (block/require approval for specific tools) ## Package ```bash pip install contextgraph-langchain ``` ## Related - [ContextGraph Integrations (GitHub)](https://github.com/akz4ol/contextgraph-integrations) - Similar to: Langfuse, Datadog LLM Observability --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:23:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2198