Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/adoption.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ An em dash indicates unavailable data.
| PyPI downloads | 1,592 | [PyPI Stats](https://pypistats.org/api/packages/sqlguardllm/recent), reported rolling month |
| NuGet downloads | — | [NuGet Search](https://azuresearch-usnc.nuget.org/query?q=packageid%3ASqlGuardLlm&prerelease=true) with a [regional fallback](https://azuresearch-ussc.nuget.org/query?q=packageid%3ASqlGuardLlm&prerelease=true), lifetime downloads of the core package |
| Public directory listings | 2 | [Distribution tracker](https://github.com/jmmana/sqlguardllm/issues/132) and [MCP Registry](https://registry.modelcontextprotocol.io/v0.1/servers/io.github.jmmana%2Fsqlguardllm/versions/latest) |
| Verified integrations | — | [Python MCP SDK stdio smoke test](https://github.com/jmmana/sqlguardllm/issues/148) |
| Verified integrations | — | [Python MCP SDK stdio](https://github.com/jmmana/sqlguardllm/issues/148) · [LangChain](https://github.com/jmmana/sqlguardllm/issues/169) |

## 90-day comparison

Baseline **2026-11-29** (UTC). Waiting for the first snapshot on or after **2027-02-27** (UTC).

## Snapshots

The scheduled Docs workflow carries snapshots forward. For captures on the same UTC date, the latest successful value is kept for each metric. npm values must also describe the same download window.
The scheduled Docs workflow keeps the published baseline and carries later snapshots forward. For captures on the same UTC date, the latest successful value is kept for each metric. npm values must also describe the same download window.

| Date | Stars | Forks | External contributors | npm downloads | PyPI downloads | NuGet downloads | Public directory listings | Verified integrations |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
Expand All @@ -33,17 +33,17 @@ Directory counts use the confirmed public listings below and include the officia

Confirmed listings: [AgentRank](https://agentrank-ai.com/tool/jmmana--sqlguardllm/) · [Glama](https://glama.ai/mcp/servers/jmmana/sqlguardllm) · [M8ven](https://m8ven.ai/mcp/jmmana/sqlguardllm) · [nl2sql.ai](https://nl2sql.ai/tools/sqlguardllm)

Integration counts use recorded end-to-end runtime evidence. See the [integration guide](INTEGRATIONS.md) for additional recipes.
New snapshots count integrations with recorded end-to-end runtime evidence. The history keeps the counts recorded on each capture date. See the [integration guide](INTEGRATIONS.md) for additional recipes.

## Upstream integration outcomes

Last reviewed November 30, 2026. Track changes in [the upstream adoption epic](https://github.com/jmmana/sqlguardllm/issues/164).
Track changes in [the upstream adoption epic](https://github.com/jmmana/sqlguardllm/issues/164).

| Project | Status | Evidence |
| --- | --- | --- |
| mcp-alchemy | Proposed, awaiting maintainer response | [Upstream issue](https://github.com/runekaagaard/mcp-alchemy/issues/44) |
| Agno | Contribution inquiry, awaiting maintainer response | [Upstream comment](https://github.com/agno-agi/agno/issues/8643#issuecomment-7288071144) |
| LangChain | Package implemented, publication and documentation listing pending | [Implementation PR](https://github.com/jmmana/sqlguardllm/pull/204) · [Tracking issue](https://github.com/jmmana/sqlguardllm/issues/169) |
| LangChain | Package installation and runtime verified. Provider listing verified on December 3, 2026 | [Provider catalog](https://docs.langchain.com/oss/python/integrations/providers/all_providers) · [Installation and runtime evidence](https://github.com/jmmana/sqlguardllm/issues/169) |
| CrewAI | Dependency resolution passed, upstream contribution pending | [Compatibility CI](https://github.com/jmmana/sqlguardllm/actions/runs/46486253354) |
| pandas-ai | Dependency conflict blocks adoption | [Compatibility notes](COMPATIBILITY.md) |

Expand Down
23 changes: 16 additions & 7 deletions scripts/adoption_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
"M8ven": "https://m8ven.ai/mcp/jmmana/sqlguardllm",
"nl2sql.ai": "https://nl2sql.ai/tools/sqlguardllm",
}
LANGCHAIN_CATALOG = "https://docs.langchain.com/oss/python/integrations/providers/all_providers"
VERIFIED_INTEGRATIONS = {
"Python MCP SDK stdio": f"{REPO}/issues/148",
"LangChain": f"{REPO}/issues/169",
}
BASELINE = {
"date": "2026-11-29",
"stars": 9,
Expand Down Expand Up @@ -127,7 +132,7 @@ def collect(now):
"pypi": measure("PyPI", lambda: get_json(PYPI_STATS)["data"]["last_month"]),
"nuget": measure("NuGet", nuget_downloads),
"listings": len(LISTINGS) + int(active) if active is not None else None,
"integrations": 1,
"integrations": len(VERIFIED_INTEGRATIONS),
}


Expand Down Expand Up @@ -209,7 +214,9 @@ def render(history):
"lifetime downloads of the core package"
),
"listings": f"[Distribution tracker]({REPO}/issues/132) and [MCP Registry]({REGISTRY})",
"integrations": f"[Python MCP SDK stdio smoke test]({REPO}/issues/148)",
"integrations": " · ".join(
f"[{name}]({url})" for name, url in VERIFIED_INTEGRATIONS.items()
),
}
lines = [
"# Adoption dashboard",
Expand Down Expand Up @@ -276,13 +283,13 @@ def render(history):
"Confirmed listings: "
+ " · ".join(f"[{name}]({url})" for name, url in LISTINGS.items()),
"",
"Integration counts use recorded end-to-end runtime evidence. "
"New snapshots count integrations with recorded end-to-end runtime evidence. "
"The history keeps the counts recorded on each capture date. "
"See the [integration guide](INTEGRATIONS.md) for additional recipes.",
"",
"## Upstream integration outcomes",
"",
"Last reviewed November 30, 2026. Track changes in "
f"[the upstream adoption epic]({REPO}/issues/164).",
f"Track changes in [the upstream adoption epic]({REPO}/issues/164).",
"",
"| Project | Status | Evidence |",
"| --- | --- | --- |",
Expand All @@ -291,8 +298,10 @@ def render(history):
"| Agno | Contribution inquiry, awaiting maintainer response | "
"[Upstream comment](https://github.com/agno-agi/agno/issues/8643"
"#issuecomment-7288071144) |",
"| LangChain | Package implemented, publication and documentation listing pending | "
f"[Implementation PR]({REPO}/pull/204) · [Tracking issue]({REPO}/issues/169) |",
"| LangChain | Package installation and runtime verified. "
"Provider listing verified on December 3, 2026 | "
f"[Provider catalog]({LANGCHAIN_CATALOG}) · "
f"[Installation and runtime evidence]({VERIFIED_INTEGRATIONS['LangChain']}) |",
"| CrewAI | Dependency resolution passed, upstream contribution pending | "
f"[Compatibility CI]({REPO}/actions/runs/46486253354) |",
"| pandas-ai | Dependency conflict blocks adoption | "
Expand Down
17 changes: 16 additions & 1 deletion tests/test_adoption_snapshot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import runpy
from datetime import date, timedelta
from datetime import date, datetime, timedelta, timezone
from pathlib import Path

import pytest
Expand Down Expand Up @@ -114,3 +114,18 @@ def test_restored_history_rejects_noncanonical_dates(tmp_path: Path) -> None:

with pytest.raises(ValueError, match="YYYY-MM-DD"):
script["load_history"](previous)


def test_new_adoption_capture_counts_verified_integration_evidence(
monkeypatch: pytest.MonkeyPatch,
) -> None:
script = runpy.run_path(str(SCRIPT))
collect = script["collect"]
monkeypatch.setitem(collect.__globals__, "measure", lambda _label, _read: None)
capture = collect(datetime(2026, 12, 3, tzinfo=timezone.utc))
assert capture["integrations"] == 2
assert script["BASELINE"]["integrations"] is None
dashboard = script["render"]([script["BASELINE"], capture])
assert "| Verified integrations | 2 |" in dashboard
assert "[LangChain](https://github.com/jmmana/sqlguardllm/issues/169)" in dashboard
assert "[Provider catalog](" + script["LANGCHAIN_CATALOG"] + ")" in dashboard
Loading