Add Pi ACP devcontainer with local-LLM + jupyter-mcp support and E2E test#15
Draft
Copilot wants to merge 9 commits into
Draft
Add Pi ACP devcontainer with local-LLM + jupyter-mcp support and E2E test#15Copilot wants to merge 9 commits into
Copilot wants to merge 9 commits into
Conversation
…ion test Agent-Logs-Url: https://github.com/wiki3-ai/agent-client-kernel/sessions/b3ba17c4-7bc1-48b4-9b09-acf1d77267e0 Co-authored-by: jimwhite <890972+jimwhite@users.noreply.github.com>
Agent-Logs-Url: https://github.com/wiki3-ai/agent-client-kernel/sessions/b3ba17c4-7bc1-48b4-9b09-acf1d77267e0 Co-authored-by: jimwhite <890972+jimwhite@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jimwhite
May 10, 2026 09:42
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Pi coding-agent devcontainer wired through pi-acp, preconfigured for local LLM providers and MCP servers (with Datalayer's
jupyter-mcp-serverbaked into the default config), plus an end-to-end test that exercises the kernel against the realpi-acpbinary.Devcontainer (
.devcontainer/pi/)Dockerfile: Node 22 +@earendil-works/pi-coding-agent+pi-acp+pi-mcp-adapterinstalled under~/.localasjovyan. Follows the Codex pattern ofCOPY . /home/jovyan/, so the project's.pi/agent/*.jsonlands at~/.pi/agent/*.jsonand is picked up as pi's user-global config.devcontainer.json:ACP_AGENT_COMMAND=/home/jovyan/.local/bin/pi-acp, secrets for Anthropic/OpenAI/Google/DeepSeek, and pass-through env forLM_STUDIO_BASE_URL/OLLAMA_HOST.PI_ACP_ENABLE_EMBEDDED_CONTEXT=true.MCP defaults (
.pi/agent/mcp.json)Routes MCP through
pi-mcp-adapter(the supported path — pi-acp itself does not forward ACP-supplied MCP servers to pi, per its README):{ "mcpServers": { "jupyter": { "command": "uvx", "args": ["jupyter-mcp-server@latest"], "lifecycle": "lazy" } } }End-to-end test (
tests/e2e/test_pi_acp_integration.py)pi-acp, drives it through the kernel'sACPClientImpl+connect_to_agent, and assertsinitialize+session/newcomplete (the latter forces pi-acp to spawnpi --mode rpcsuccessfully).shutil.whichwhenpi/pi-acparen't on PATH, so the default unit-test matrix is unaffected.pi-acp-e2eCI job (Node 22 + global install of pi/pi-acp) runs it.README
Adds the Pi devcontainer to the list with notes on local-provider and jupyter-mcp-server support.