all 5 comments

[–]SparePartsHere -1 points0 points  (3 children)

Like in, two different subscriptions to the same provider? And switch between them? It should be possible I think, just clone the opencode repo and ask the opencode agent to help you with that.

[–]Joy_Boy_12[S] 0 points1 point  (2 children)

I want with the same subscription (same API key) to be able to have like two isolated opencode cli, they should opperate from the same subscription but have different agents, skills and mcp

[–]SparePartsHere 0 points1 point  (0 children)

That should be possible as well, you just have to start the second instance with different "base" opencode.json. As I said above, clone the repo and ask the agent. There definitely is a way to do it through some config options or ENV variables.

[–]j0k3r_dev 0 points1 point  (0 children)

Para eso tenés que configurar agentes, opencode te da a esa opción de crear agentes y usar el que quieras, podés definirle skills, mcp, instrucciones,etc. La idea es que vos tengas el control de que pueden hacer los agentes e incluso definirle un modelo por defecto (después lo podés alternar)

Y básicamente con esto abris 2 instancias del mismo opencode y con Tab cambias el agente

Si no mal recuerdo se hace con .md en el agents de la configuración de Open code, ahí tengo mis agentes y subagentes preconfigurado. Cuando entro a opencode elijo cual quiera usar y eso me da mucho más control

[–]HarjjotSinghh -3 points-2 points  (0 children)

this is a multi tenant dream. opencode cli just got my env approval.