Add FrameworkAdapter ABC and Claude starter (Issue #74)#88
Merged
justinmadison merged 4 commits intomainfrom Feb 27, 2026
Merged
Add FrameworkAdapter ABC and Claude starter (Issue #74)#88justinmadison merged 4 commits intomainfrom
justinmadison merged 4 commits intomainfrom
Conversation
Delete broken V1 IPC server (python/ipc/), replace 1370-line agent_runtime/schemas.py with SDK re-exports, deprecate V1 AgentArena._connect(), remove dead TestIPCConverters tests, and fix starters/llm import to use agent_arena_sdk. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rewrite test_reasoning_trace.py to match actual TraceStep/ReasoningTrace/ TraceStore API (25 broken tests → 34 passing). Update schemas test for truncated JSON recovery behavior. Delete test_memory.py (RAGMemory removed). 204 tests pass, 0 failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- FrameworkAdapter base class with format_observation(), get_action_tools(), fallback_decision() - Duck-typing in arena.run()/run_async() to accept adapters or plain callables - Claude starter (starters/claude/) using Anthropic tool_use API - START_CLAUDE.bat and START_LOCAL_LLM.bat for easy switching between agents - 52 tests (36 adapter base + 16 anthropic adapter) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
python/sdk/agent_arena_sdk/adapters/base.py) — base class withformat_observation(),get_action_tools(), andfallback_decision()so framework starters share common logicarena.run()— accepts both plain callables and adapter objects with adecide()method, backward compatiblestarters/claude/) — fully working Anthropic agent using native tool_use, tested live with foraging scenario ($0.08 per run)START_CLAUDE.batandSTART_LOCAL_LLM.batfor easy switching between local LLM and Anthropic APICloses #74
Test plan
pytest tests/test_adapter_base.py -v— 36 tests passpytest tests/test_anthropic_adapter.py -v— 16 tests pass🤖 Generated with Claude Code