Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Crash-proof LLM pipelines. Resumes from failure without a database.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"dagpipe": {
"command": "uvx",
"args": [
"dagpipe-core"
]
}
}
}ターミナルでこれを実行します
claude mcp add dagpipe -- uvx dagpipe-coreプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"dagpipe": {
"command": "uvx",
"args": [
"dagpipe-core"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"dagpipe": {
"type": "stdio",
"command": "uvx",
"args": [
"dagpipe-core"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント devilsfave で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.2.3)がレジストリに届いたのは8 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
NeurIPS 2025 research analyzing 1,642 real-world multi-agent execution traces
found a 41–86.7% failure rate across 7 state-of-the-art open-source systems.
The root cause: cascading error propagation, where one failed node corrupts all downstream nodes.
DagPipe makes cascade failure structurally impossible.
Every node's output is independently validated and checkpointed before the next node executes. A failure at node 4 cannot corrupt nodes 1, 2, or 3. Delete nothing. Just re-run. DagPipe resumes exactly where it stopped, automatically.
Pipeline: research → outline → draft → edit → publish
↑ crashed here
Re-run → research ✓ (restored) → outline ✓ (restored) → draft (re-runs) → ...
Zero infrastructure. Zero subscription. Runs entirely on free-tier APIs.
pip install dagpipe-core
Requirements: Python 3.12+ · pydantic >= 2.0 · pyyaml · A free Groq API key (no credit card)
For developers: install the library and build crash-proof LLM pipelines in Python:
pip install dagpipe-core
For non-coders: describe your workflow in plain English, receive production-ready crash-proof pipeline code as a downloadable zip. No coding required: 👉 Pipeline Generator on Apify ($0.05/run)
For AI agents and IDE users: connect directly via MCP. Use DagPipe from Claude Desktop, Cursor, Windsurf, or any MCP-compatible client without writing any code: 👉 DagPipe Generator MCP on Smithery
The generator outputs DagPipe pipelines, as every generated zip already has crash recovery, schema validation, and cost routing built in by default. No other LLM pipeline framework ships this.
| 🔴 Without DagPipe | 🟢 With DagPipe |
|---|---|
| Pipeline crashes = start over from zero | JSON checkpointing: resume from last successful node |
| Paying for large models on every task | Cognitive routing: route easy tasks to free-tier models |
| LLM returns malformed JSON | Guaranteed structured output: auto-retry with error feedback |
| Tight coupling to one provider | Provider-agnostic: any callable works as a model function |
| Fragile sequential scripts | Topological DAG execution: safe dependency resolution |
| Silent bad data passes through | Semantic assertions: catch structurally valid but wrong output |
v0.2.3 adds the official MCP Registry metadata and identifier to the package repository, enabling one-click discovery on the official MCP Registry.
v0.2.2 improves PyPI discoverability with optimized metadata, a clearer project description, and enhanced AI agent categorization.
v0.2.1 brings crucial generator reliability fixes and a highly requested DX feature:
verbose=True to the PipelineOrchestrator to get real-time, per-node CLI progress updates with execution times, node descriptions, and running costs.model=None positional argument, guarantee exact YAML topological dependency key lookups (DEPENDENCY_NODE_ID), and support native .csv, .xml, .html, and .md save nodes out of the box.v0.2.0 was a significant architectural upgrade. All features are opt-in and fully backwards compatible, meaning existing v0.1.x pipelines run without changes.
The router automatically selects which AI model to use based on task complexity. Simple tasks go to fast, free models. Hard tasks escalate to more capable models. If a model fails or rate-limits, it tries the next one, automatically.
router = ModelRouter(
low_complexity_fn=gemini_flash, low_label="gemini_flash", high_complexity_fn=llama33_70b, high_label="llama_70b", fallback_fn=gemini_flash, fallback_label="fallback", complexity_threshold=0.6, )
A self-maintaining database of free-tier model availability and pricing. Refreshes every 24 hours automatically. If a model goes offline, the registry marks it unavailable and the router stops routing to it, without any manual intervention.
Beyond schema validation, nodes can declare semantic rules. If the LLM returns structurally valid but logically wrong data, the assertion catches it and forces self-correction:
DAGNode(
id="revenue", fn_name="calculate_revenue", assert_fn=lambda out: 0 < out.get("revenue", 0) < 1e12, assert_message="Revenue must be a realistic positive number", )
Nodes only receive outputs from their declared dependencies. A node processing untrusted web data cannot access credentials or outputs from unrelated pipeline branches.
When a node exhausts all retries, DagPipe saves the complete failure context to .dagpipe/checkpoints/{node_id}.failed.json, including what was passed in, what error occurred, and instructions for manual correction. No failure context is ever lost.
Swap out filesystem storage for Redis, S3, or any custom backend by implementing the CheckpointStorage protocol.
from pathlib import Path
from dagpipe.dag import PipelineOrchestrator, DAGNode, FilesystemCheckpoint from dagpipe.router import ModelRouter from dagpipe.constrained import constrained_generate
def research(context, model): prompt = [{"role": "user", "content": f"Research: {context['topic']}"}] return {"summary": model(prompt)}
def write_draft(context, model): summary = context"research" prompt = [{"role": "user", "content": f"Write an article based on: {summary}"}] return {"draft": model(prompt)}
def publish(context, model): print(f"Publishing: {context'write_draft'[:100]}...") return {"status": "published"}
import groq from google.genai import Client
groq_client = groq.Groq() def llama33_70b(messages): return groq_client.chat.completions.create( model="llama-3.3-70b-versatile", messages=messages ).choices[0].message.content
gemini_client = Client() def gemini_flash(messages): return gemini_client.models.generate_content( model="gemini-2.5-flash", contents=messages0 ).text
router = ModelRouter( low_complexity_fn=gemini_flash, low_label="gemini_flash", high_complexity_fn=llama33_70b, high_label="llama_70b", fallback_fn=gemini_flash, fallback_label="fallback", complexity_threshold=0.6, )
nodes = [ DAGNode(id="research", fn_name="research", complexity=0.4), DAGNode(id="write_draft", fn_name="write_draft", complexity=0.7, depends_on=["research"]), DAGNode(id="publish", fn_name="publish", depends_on=["write_draft"], is_deterministic=True), ]
orchestrator = PipelineOrchestrator( nodes=nodes, node_registry={ "research": research, "write_draft": write_draft, "publish": publish, }, router=router, checkpoint_backend=FilesystemCheckpoint(Path(".dagpipe/checkpoints")), max_retries=3, on_node_complete=lambda node_id, result, duration: print(f" ✓ {node_id} ({duration:.1f}s)"), )
result = orchestrator.run(initial_state={"topic": "AI in African fintech"})
Crash mid-run? Delete nothing. Just re-run. DagPipe reads the checkpoints and skips completed nodes automatically.
Your Tasks (YAML or Python list of DAGNodes)
│ ▼ ┌──────────────────┐ │ Topological │ resolves execution order, │ Sort │ detects cycles before running └────────┬─────────┘ │ ┌─────────▼──────────┐ │ Checkpoint │ restores any completed nodes │ Restore │ from previous runs └─────────┬──────────┘ │ ┌───────▼────────┐ │ For each node │◄─────────────────────────┐ └───────┬────────┘ │ │ │ ┌─────────▼──────────┐ ┌────────────────┐ │ │ ModelRouter │───▶│ low / high / │ │ │ (complexity score)│ │ fallback fn │ │ └─────────┬──────────┘ └────────────────┘ │ │ │ ┌─────────▼──────────┐ │ │ Constrained │ forces valid output │ │ Generator │ retries on failure │ └─────────┬──────────┘ │ │ │ ┌─────────▼──────────┐ │ │ Checkpoint Save │ writes result to disk │ └─────────┬──────────┘ │ │ │ crash here = resume from ✓ next node
dagpipe.dag: The OrchestratorThe central engine. Loads a DAG from a Python list or YAML file, sorts nodes by dependency, and executes them with checkpointing and retry.
from dagpipe.dag import PipelineOrchestrator, DAGNode, load_dag
nodes = load_dag(Path("my_pipeline.yaml"))
nodes = [DAGNode(id="step_a", fn_name="fn_a", complexity=0.3)]
dagpipe.checkpoints: Crash RecoverySaves node output to disk after every successful execution. On resume, completed nodes are skipped entirely.
New in v0.2.0: the
CheckpointStorageProtocol, allowing you to swap the default filesystem backend for Redis, S3, or any custom store:
from dagpipe.dag import C冒頭だけを表示しています。続きはリポジトリで読めます