docs: OpenCode → OpenAI Agents SDK + LiteLLM + Burr migration plan#96
Open
pofallon wants to merge 1 commit into
Open
docs: OpenCode → OpenAI Agents SDK + LiteLLM + Burr migration plan#96pofallon wants to merge 1 commit into
pofallon wants to merge 1 commit into
Conversation
Rewrites docs/BURR.md from the original "is Burr a reasonable xoscar replacement?" research note into a full plan for migrating the LLM substrate from OpenCode HTTP runtime to OpenAI Agents SDK + LiteLLM + Burr, in three phases. The original Burr-specific research is preserved in dedicated sections. Adds docs/migration-phase-0-spike.md — a concrete spike write-up with a ~300 LOC standalone script outline, five named validations, and a decision-gate matrix tying outcomes to migration verdicts. The spike is the gate for Phase 1. Co-Authored-By: Claude Opus 4.7 (1M context) <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
docs/BURR.mdfrom the original "is Burr a reasonable xoscar replacement?" research note into a full plan for migrating the LLM substrate from OpenCode HTTP runtime to OpenAI Agents SDK + LiteLLM + Burr, in three phases. Original Burr-specific research is preserved in dedicated sections.docs/migration-phase-0-spike.md— a concrete spike with a ~300 LOC standalone script outline, five named validations, and a decision-gate matrix tying outcomes to migration verdicts. Phase 0 is the gate for Phase 1.What the plan proposes
A staged, layer-by-layer swap (not role-by-role) of the LLM substrate:
Each phase has a documented back-out path. Phase 1 is the biggest win and is independent of Phase 2 — if Burr disappoints, Phase 1's wins stand.
Why this stack
github_copilot/*provider via OAuth device flow → Copilot Pro subscription path survives the migration.output_type=PydanticModel,as_tool()for Maverick'sTasksubagent pattern.Squadron+Agentclasses (merged in refactor: extract Agent + Squadron from OpenCodeAgentMixin (plan steps 1–3.7) #94) — survive unchanged at the seam between Burr and the SDK.Full alternatives table including PydanticAI, smolagents, vendor Agent SDKs, LangChain/LangGraph, Instructor + custom loop, and others is in BURR.md.
What's NOT in this PR
This PR is documentation only. No code changes, no spike script implementation. Phase 0 is the next step and is scoped at 1–2 days; expect a follow-up PR with
scripts/spike-openai-agents-sdk-litellm.pyand the report once executed.Test plan
Related
🤖 Generated with Claude Code