[FEATURE]: Use OpenCode AI as a runtime and have an SDK? Like Claude Agents SDK? #3876

Open
opened 2026-02-16 17:41:47 -05:00 by yindo · 1 comment
Owner

Originally created by @Anindyadeep on GitHub (Dec 25, 2025).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hi, this is an amazing project. The very first thing that came to my mind after seeing OpenCode is about Claude Agents. Claude Code started as a coding agent, but it turns out to be very general purpose.

And then they made claude code as runtime and introduced claude agents sdk which is more programable. So, I wonder, can we do the same thing on OpenCode?

Would be more awesome, if we somehow, use claude agents sdk but on OpenCode runtime.

Originally created by @Anindyadeep on GitHub (Dec 25, 2025). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Hi, this is an amazing project. The very first thing that came to my mind after seeing OpenCode is about Claude Agents. Claude Code started as a coding agent, but it turns out to be very general purpose. And then they made claude code as runtime and introduced claude agents sdk which is more programable. So, I wonder, can we do the same thing on OpenCode? Would be more awesome, if we somehow, use claude agents sdk but on OpenCode runtime.
yindo added the discussion label 2026-02-16 17:41:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4028: Inquiry: Programmatic access or Node.js SDK for OpenCode - covers the programmatic SDK access use case
  • #4531: [FEATURE]: Expose way to set a specific agent of a running instance (sdk/api/keybind) - covers programmatic agent control
  • #2266: Feature request: Python SDK - covers Python SDK availability
  • #4031: Python SDK - another request for Python SDK support

These issues cover similar aspects of making OpenCode more programmatic and extensible. You may want to consolidate the SDK/runtime discussion across these issues to avoid fragmentation.

Feel free to ignore if you're specifically looking at Claude Agents SDK integration as a unique angle not covered by these existing requests.

@github-actions[bot] commented on GitHub (Dec 25, 2025): This issue might be a duplicate of existing issues. Please check: - #4028: Inquiry: Programmatic access or Node.js SDK for OpenCode - covers the programmatic SDK access use case - #4531: [FEATURE]: Expose way to set a specific agent of a running instance (sdk/api/keybind) - covers programmatic agent control - #2266: Feature request: Python SDK - covers Python SDK availability - #4031: Python SDK - another request for Python SDK support These issues cover similar aspects of making OpenCode more programmatic and extensible. You may want to consolidate the SDK/runtime discussion across these issues to avoid fragmentation. Feel free to ignore if you're specifically looking at Claude Agents SDK integration as a unique angle not covered by these existing requests.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3876