[FEATURE]:Opencode CLI API #4345

Open
opened 2026-02-16 17:43:31 -05:00 by yindo · 3 comments
Owner

Originally created by @ajarcon on GitHub (Jan 7, 2026).

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

I want API access to opencode like entering prompts or opening a session or giving access to certin things

Originally created by @ajarcon on GitHub (Jan 7, 2026). 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 I want API access to opencode like entering prompts or opening a session or giving access to certin things
yindo added the discussion label 2026-02-16 17:43:31 -05:00
Author
Owner

@ajarcon commented on GitHub (Jan 7, 2026):

I cant verify if this feature has been requested before as my entire search is filled with API from other services

@ajarcon commented on GitHub (Jan 7, 2026): I cant verify if this feature has been requested before as my entire search is filled with API from other services
Author
Owner

@github-actions[bot] commented on GitHub (Jan 7, 2026):

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

  • #7099: Server API ignores agent's configured model when only agent parameter is passed
  • #7004: Add per-session MCP server support for REST API (parity with ACP)
  • #7101: Allow custom prompts in global, project or custom directories

Feel free to ignore if your specific use case differs from these.

@github-actions[bot] commented on GitHub (Jan 7, 2026): This issue might be a duplicate of existing issues or related discussions. Please check: - #7099: Server API ignores agent's configured model when only agent parameter is passed - #7004: Add per-session MCP server support for REST API (parity with ACP) - #7101: Allow custom prompts in global, project or custom directories Feel free to ignore if your specific use case differs from these.
Author
Owner

@ajarcon commented on GitHub (Jan 18, 2026):

It is very different, I want to be able and to send openAi like api calls to Opencode

@ajarcon commented on GitHub (Jan 18, 2026): It is very different, I want to be able and to send openAi like api calls to Opencode
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4345