feat: add acp_create_session tool to submit hpc-style jobs via mcp#26
Merged
jeremyeder merged 7 commits intoambient-code:mainfrom Feb 16, 2026
Merged
Conversation
Add acp_create_session MCP tool for submitting AgenticSessions with custom prompts (vs template-only). Extract shared _apply_manifest() helper from create_session_from_template. Fix pod label selector bug in get_session_logs (agenticsession → agentic-session). Add first live integration test that creates a session, polls for marker output in logs, and cleans up. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude Code UI simulation showing the full acp_create_session flow: dry-run, live creation, status polling, log verification, cleanup, and automated pytest run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace scripted typing-effects demo with raw pytest execution. Simpler script, smaller artifacts (GIF: 1.1MB → 42KB). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace deprecated class Config with model_config = SettingsConfigDict() to eliminate PydanticDeprecatedSince20 warning. Re-record demo with 100-col terminal to prevent line wrapping. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New demo shows the actual user workflow: 1. Display the plan 2. Submit via acp_create_session (real API call) 3. Disconnect — session runs autonomously on cluster 4. Check session status via acp_list_sessions 5. Verify output via acp_get_session_logs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ecture Port acp_create_session feature from oc-CLI to HTTP-based public API: - create_session() now uses POST /v1/sessions instead of _apply_manifest + oc create - format_session_created formatter updated for API DTO format - Integration test updated to use public API patterns - All 46 tests pass Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 tasks
…lint Merge QUICKSTART.md and TRIGGER_PHRASES.md into a single comprehensive README.md with TOC. Delete the redundant files — users no longer need to hop between 4 docs to get started. Update CLAUDE.md cross-references. Also includes pending fixes for ruff F541 (unnecessary f-strings) in demos/hello-acp-workflow.py that were failing CI, plus prior uncommitted work on the branch: public-api gateway docs, settings, and test updates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
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.
Summary
acp_create_sessionMCP tool for submitting AgenticSessions with custom prompts (complements the existing template-onlyacp_create_session_from_template)_apply_manifest()helper to eliminate duplication between the two creation methodsget_session_logs(agenticsession→agentic-session) that caused log retrieval to silently return emptytest_hello_acp) that creates a session, polls for marker output in logs, and cleans upintegrationpytest marker so live-cluster tests are excluded from defaultpytestrunsDemo
Test plan
test_hello_acppasses against vteam-stage / jeder-workspaceget_session_logsnow correctly discovers pods viaagentic-sessionlabel🤖 Generated with Claude Code