Skip to content

feat: register HttpAgent in CLI with --agent http#119

Merged
abrichr merged 1 commit into
mainfrom
feat/http-agent-cli
Mar 16, 2026
Merged

feat: register HttpAgent in CLI with --agent http#119
abrichr merged 1 commit into
mainfrom
feat/http-agent-cli

Conversation

@abrichr
Copy link
Copy Markdown
Member

@abrichr abrichr commented Mar 16, 2026

Summary

  • Registers http as a valid --agent type in all three CLI subcommands (mock, run, live)
  • Adds --agent-endpoint argument for specifying the remote agent URL
  • Validates that --agent-endpoint is provided when --agent http is used

Usage:

openadapt-evals run --agent http --agent-endpoint http://gpu-box:8080 --task notepad_1
openadapt-evals live --agent http --agent-endpoint http://gpu-box:8080 --task-ids notepad_1
openadapt-evals mock --agent http --agent-endpoint http://localhost:8080

Follows up on #118 which added the HttpAgent class.

Test plan

  • openadapt-evals run --help shows http in agent types and --agent-endpoint
  • openadapt-evals mock --agent http without --agent-endpoint prints clear error
  • All 79 relevant tests pass (http_agent, rl_env, mock_adapter)

🤖 Generated with Claude Code

Adds `http` as a valid agent type across all three CLI subcommands
(mock, run, live). Requires `--agent-endpoint <URL>` when used.

Usage:
  openadapt-evals run --agent http --agent-endpoint http://gpu-box:8080
  openadapt-evals live --agent http --agent-endpoint http://gpu-box:8080

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@abrichr abrichr force-pushed the feat/http-agent-cli branch from 4d5b1f8 to ec00e6f Compare March 16, 2026 21:28
@abrichr abrichr merged commit 2a64639 into main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant