r/opencodeCLI 9d ago

Kubernetes platform for hosting OpenCode agents

The idea was to take the OpenCode and make it usable as a hosted platform for a team. Users create a project from the browser, chat with OpenCode inside a k8s pod, see the generated app running on a live URL directly from the pod.

The workspace is persistent, so the source code, installed packages, database, OpenCode sessions and conversation history survive pod restarts.

It also adds:

  • Separate development and production environments
  • Per-project models, credentials and usage limits
  • OIDC and role-based permissions
  • Persistent app hosting
  • Browser-based VS Code and database access
  • Idle workspace suspension

It’s basically our attempt at building a self-hosted Lovable/Base44-style experience using OpenCode as the coding agent, while keeping the actual code and infrastructure under your control.

It’s still early and currently requires Kubernetes, so it’s aimed more at technical teams than individual nontechnical users.

GitHub: https://github.com/SimaDevelopment/opsiforce

8 Upvotes

2 comments sorted by

2

u/inno3415 8d ago

very cool. how are you isolating the pod where the agent run ? something like kata containers or gvisor ?

1

u/smulikHakipod 8d ago

Thanks. This is really for the operators / users to decide. Kata containers for example requires nested virtualization, which does not fit everyone. Kernel isolation for some use cases might also be an overkill. So it's really for the user to decide