Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
async/await for LLM agents: spawn and await sub-agents scheduled on your own GPUs
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
Runtime__Model, DataPlane__Url, LUFTPAUSE_TOKEN「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"luftpause": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"Runtime__Model",
"-e",
"DataPlane__Url",
"-e",
"LUFTPAUSE_TOKEN",
"ghcr.io/luftpause/runtime:v0.1.4"
],
"env": {
"Runtime__Model": "your-value",
"DataPlane__Url": "your-value",
"LUFTPAUSE_TOKEN": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add luftpause --env Runtime__Model=your-value --env DataPlane__Url=your-value --env LUFTPAUSE_TOKEN=your-value -- docker run -i --rm -e Runtime__Model -e DataPlane__Url -e LUFTPAUSE_TOKEN ghcr.io/luftpause/runtime:v0.1.4動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"luftpause": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"Runtime__Model",
"-e",
"DataPlane__Url",
"-e",
"LUFTPAUSE_TOKEN",
"ghcr.io/luftpause/runtime:v0.1.4"
],
"env": {
"Runtime__Model": "your-value",
"DataPlane__Url": "your-value",
"LUFTPAUSE_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"luftpause": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"Runtime__Model",
"-e",
"DataPlane__Url",
"-e",
"LUFTPAUSE_TOKEN",
"ghcr.io/luftpause/runtime:v0.1.4"
],
"env": {
"Runtime__Model": "your-value",
"DataPlane__Url": "your-value",
"LUFTPAUSE_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
DataPlane__Url envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
公開者(vmedvedovskiy)がリポジトリの所有者(luftpause)ではありません。別の人が登録した可能性があります
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち0項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:Runtime__Model, LUFTPAUSE_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.4)がレジストリに届いたのは13 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには: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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
The runtime layer under your agent harness. Every tool call is an `await`; the engine forgets the run, luftpause keeps it.
Tool calls split an agent into turns. To an inference engine each turn is a new request from nobody: when the tool returns, the continuation queues behind every batch request that arrived while it waited, and its KV cache may be gone. luftpause sits between the harness and the engines and keeps the run:
base_url at it (OpenAI-compatible, your own loop), or connect over MCP and get spawn / await sub-agents that survive a restart.Measured on one 8 GB laptop GPU, engines saturated (48 batch runs flooding, 4 interactive runs beside them):
| Throughput | Latency | What it costs | |
|---|---|---|---|
| Agents with their own loop, through luftpause vs straight to the SGLang router | 2.0× interactive (12.7 vs 6.4 runs/min) | interactive p50 19 s instead of 36 s | batch −9 % |
| Sub-agents over MCP, luftpause vs the runtime straight to the router | 2.7× interactive (8.0 vs 3.0 runs/min) | interactive p50 27 s instead of 58 s | batch unchanged |
| Fan-out, 16 sub-agents, vs one at a time | 5.3× (all 16 in 23 s instead of 120 s) | per sub-agent p50 15–22 s, the same as through the router | nothing: the router alone takes 21.5 s |
| Claude Code as the client, six Wikipedia look-ups | 2.9× (12.5 s instead of 36 s back to back, unprompted) | 70B sub-agents: all six in one round, 9.3 s | 0 failed tool calls, 0 re-spawns |
docker compose up -d # fake engines, no GPU needed
claude mcp add --transport http --scope local luftpause http://localhost:7000/mcp
docker compose up -d pulls the published images; add --build to build them from source instead (first build takes a few minutes). It pulls latest; pin a release with LUFTPAUSE_VERSION=v0.1.4 docker compose up -d. The runtime is also listed in the official MCP Registry as io.github.vmedvedovskiy/luftpause.
Claude Code now has spawn, await, run, status, cancel, approve, tools and decide. The fake engines answer with filler, and the sub-agents' only tools are fake-mcp's lookup and deep_search, which wait a random second or so and return filler too — enough to see the fan-out. For real answers from an Ollama already on your machine, with Wikipedia as the sub-agents' tool instead of the fake ones:
docker compose -f compose.yaml -f compose.ollama.yaml up -d scheduler dataplane runtime
Wikipedia's API rate-limits anonymous callers, so a tool call can take tens of seconds while wikipedia-mcp retries. Llama 3.2 1B sometimes passes a tool's schema instead of its arguments; the runtime rejects the call and the sub-agent may answer without it, so ask again or pull a larger model.
Ollama needs the model pulled (ollama pull llama3.2:1b, or set OLLAMA_MODEL) and must listen beyond loopback (OLLAMA_HOST=0.0.0.0) unless Docker Desktop already reaches it (it does on Windows and macOS with the default loopback binding). Ollama serves one request at a time unless OLLAMA_NUM_PARALLEL is raised, so sub-agents queue behind each other there; luftpause sees no queue metric from it and does not cap it. SGLang on your GPU (compose.testbed.yaml) or any OpenAI-compatible endpoint (compose.runpod.yaml shows a hosted vLLM pod) work the same way.
Routers place requests on a GPU pool; MCP servers delegate a sub-task to a local model. Neither knows what a run is. luftpause does: it sees every turn and every tool call of every run, through either door, and schedules them on one shared pool with three facts an engine never has: that a paused run will come back, what class of work it is, and who is asking.
The gains come from admission, not from routing. Routing alone ties SGLang's cache-aware router (below); with the engines idle, every arm ties. The difference appears when the engines are saturated, which is when it matters.
base_url at luftpause. It sends x-luftpause-run-id per run and, optionally, x-luftpause-class and x-luftpause-caller; every tool call in its loop is then a scheduled await.spawn / await. luftpause runs each sub-agent's loop through the same proxy: LLM turns on the pool, tool calls to upstream MCP servers, the MCP session as the caller, and a journal so the runs outlive the process.examples/ has three own-loop agents that set all three headers: the openai package, the OpenAI Agents SDK and LangGraph.
A harness that cannot set a header per run still works through the proxy: the run is recognised by the tool_call_ids it echoes back, and a fixed x-luftpause-caller is enough for fairness.
| Tool | MCP door | Proxy door |
|---|---|---|
| Claude Code | claude mcp add --transport http luftpause http://localhost:7000/mcp | n/a: speaks the Anthropic Messages API, not Chat Completions |
| Codex CLI | ~/.codex/config.toml: [mcp_servers.luftpause] url = "http://localhost:7000/mcp" | n/a: wire_api accepts only responses; the proxy serves Chat Completions |
| Gemini CLI | gemini mcp add --transport http luftpause http://localhost:7000/mcp, or .gemini/settings.json: {"mcpServers": {"luftpause": {"httpUrl": "http://localhost:7000/mcp"}}} | n/a: speaks the Gemini API (unverified) |
| Goose | goose session --with-streamable-http-extension "http://localhost:7000/mcp", or goose configure → Add Extension → Remote Extension (Streamable HTTP) | GOOSE_PROVIDER=openai OPENAI_HOST=http://localhost:8080 OPENAI_API_KEY=x OPENAI_CUSTOM_HEADERS="x-luftpause-caller=goose" |
| Cursor | ~/.cursor/mcp.json: {"mcpServers": {"luftpause": {"url": "http://localhost:7000/mcp"}}} | n/a: "Override OpenAI Base URL" is called from Cursor's servers, which cannot reach localhost (unverified) |
| Zed | settings.json: "context_servers": {"luftpause": {"url": "http://localhost:7000/mcp"}} | settings.json: "language_models": {"openai_compatible": {"luftpause": {"api_url": "http://localhost:8080/v1", "available_models": [{"name": " ", "max_tokens": 128000}], "custom_headers": {"x-luftpause-caller": "zed"}}}} |
| OpenHands | Settings → MCP Servers → add http://localhost:7000/mcp | Settings → LLM → Advanced: Custom Model openai/ , Base URL http://localhost:8080/v1, any API key; no header setting |
| Cline / Roo Code | Cline cline_mcp_settings.json: {"mcpServers": {"luftpause": {"type": "streamableHttp", "url": "http://localhost:7000/mcp"}}}; Roo .roo/mcp.json: same with "type": "streamable-http" | Provider "OpenAI Compatible", Base URL http://localhost:8080/v1, any API key; x-luftpause-caller under Custom Headers (unverified) |
%%{init: {"themeVariables": {"fontFamily": "-apple-system, Segoe UI, Helvetica, Arial, sans-serif"}, "flowchart": {"wrappingWidth": 260}}}%%
flowchart LR mcp["Claude Code or any MCP client"] own["Agents with their own loop"]
subgraph lp["luftpause"] runtime[" runtime · .NET spawn · await · journal sub-agent loops"] dp[" dataplane · Rust OpenAI-compatible proxy"] sched[" scheduler · .NET decide(state, event)"] end
tools[("MCP tool servers")]
subgraph pool["Engine pool"] direction TB engines["SGLang · vLLM"] router["SGLang router"] hosted["Hosted OpenAI- compatible APIs"] end
mcp -- MCP --> runtime own -- "HTTP / SSE" --> dp runtime -- "tool calls" --> tools runtime -- "LLM turns" --> dp dp -- "turns" --> pool sched <-- "Admit · Report · run ended" --> dp sched -. "health · load" .-> pool
runtime/) — MCP server. Each spawned run is a .NET Task running the agent loop; tool calls go to the configured MCP servers. Every run is journaled to runs.jsonl and resumed on restart; a finished run is reported to the dataplane (DELETE /v1/runs/{id}) so the scheduler forgets it at once.dataplane/crates/dataplane) — tokio/axum proxy. Resolves the run (header or tool-call ids), reads the class and caller headers, asks the scheduler where the turn goes, streams the engine's response through unchanged and reports first token, usage and finish reason.scheduler/) — the decision core is pure functions over immutable state (Luftpause.Scheduling); the gRPC host executes the actions.fake-engine (OpenAI + /classify with simulated latency), fake-mcp (a lookup and a slow deep_search tool), tools/loadgen (agents, sub-agent fan-out over MCP, closed-loop throughput runs).| Capability | How | |
|---|---|---|
spawn / await over MCP | spawn(task, model?, serviceClass?, system?, maxToolCalls?, tools?, maxTokens?, parallelToolCalls?, parent?, budgetTokens?, budgetToolCalls?, budgetSeconds?, approveTools?) returns a handle at once; `await(handles, all\ | any, timeout) collects results with toolCalls / failedToolCalls; also tools, status, cancel, and decide(input, labels?, model?): without labels the single-pass model's labels, with 2 to 20 labels one max_tokens: 1 turn on the generative model scored by first-token logprobs, returning label, probabilities and unscored` |
| Durable runs | every run is journaled (runs.jsonl under Runtime:StateDir): spawned, each tool round's messages, finished; on restart the runtime replays the journal, answers await for finished runs and resumes unfinished ones from their last complete tool round | |
| Run tree | spawn(parent) makes a run a child; status lists parent and children; cancel of a parent cancels its running descendants; the runtime's GET /status returns the tree with each run's own work and its subtree's totals (turns, tool calls, failed tool calls, prompt and completion tokens, turn and tool seconds) | |
| Budgets | spawn(budgetTokens?, budgetToolCalls?, budgetSeconds?) caps a run's whole subtree (it and every run spawned under it, later ones included) on prompt plus completion tokens, tool calls and wall-clock seconds; checked on every turn and tool round anywhere below a budgeted run, and by a timer for seconds so an idle subtree still trips; past a limit the subtree is cancelled with budget exceeded: / , and status / await show budget with limits, used and exceeded |
| Tool approval | a sub-agent's tool call waits for the harness user when its server marks the tool destructiveHint: true (and not readOnlyHint: true) or spawn(approveTools) names it; the run shows status AwaitingApproval with pendingApproval {tool, arguments}. A client that advertises elicitation is asked while its await or run covers the run, with a one-field form (allow): on a session as an elicitation request, on a sessionless 2026-07-28 request as an input-required result. Other clients answer with approve(handle, allow). A declined call reaches the sub-agent as Error: the user declined this tool call. Decisions are journaled: one answered just before a restart is not asked again, an unanswered one is. Clients: Claude Code 2.1.218 in a terminal shows the prompt during await
冒頭だけを表示しています。続きはリポジトリで読めます