By "agent" you mean what?
Coding is mostly "agentic" so I'm bit puzzled.
Coding is mostly "agentic" so I'm bit puzzled.
In this case if you have a server with an endpoint you can run opencode when the endpoint is called and pass it the prompt. Opencode then think, plan and act accordingly to you request, possibly using tools, skills, calling endpoints,etc.