enterprise.mdx 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. ---
  2. title: Enterprise
  3. description: Using OpenCode securely in your organization.
  4. ---
  5. export const enterprise = "https://opencode.ai/enterprise"
  6. OpenCode Enterprise is for organizations that want to ensure that their code and data never leaves their infrastructure. It can do this by using a centralized config that integrates with your SSO and internal AI gateway.
  7. :::note
  8. OpenCode does not store any of your code or context data.
  9. :::
  10. To get started with OpenCode Enterprise:
  11. 1. Do a trial internally with your team.
  12. 2. **<a href={enterprise}>Contact us</a>** to discuss pricing and implementation options.
  13. ---
  14. ## Trial
  15. OpenCode is open source and does not store any of your code or context data, so your developers can simply [get started](/docs/) and carry out a trial.
  16. ---
  17. ### Data handling
  18. **OpenCode does not store your code or context data.** All processing happens locally or through direct API calls to your AI provider.
  19. This means that as long as you are using a provider you trust, or an internal
  20. AI gateway, you can use OpenCode securely.
  21. The only caveat here is the optional `/share` feature.
  22. ---
  23. #### Sharing conversations
  24. If a user enables the `/share` feature, the conversation and the data associated with it are sent to the service we use to host these share pages at opencode.ai.
  25. The data is currently served through our CDN's edge network, and is cached on the edge near your users.
  26. We recommend you disable this for your trial.
  27. ```json title="opencode.json"
  28. {
  29. "$schema": "https://opencode.ai/config.json",
  30. "share": "disabled"
  31. }
  32. ```
  33. [Learn more about sharing](/docs/share).
  34. ---
  35. ### Code ownership
  36. **You own all code produced by OpenCode.** There are no licensing restrictions or ownership claims.
  37. ---
  38. ## Pricing
  39. We use a per-seat model for OpenCode Enterprise. If you have your own LLM gateway, we do not charge for tokens used. For further details about pricing and implementation options, **<a href={enterprise}>contact us</a>**.
  40. ---
  41. ## Deployment
  42. Once you have completed your trial and you are ready to use OpenCode at
  43. your organization, you can **<a href={enterprise}>contact us</a>** to discuss
  44. pricing and implementation options.
  45. ---
  46. ### Central Config
  47. We can set up OpenCode to use a single central config for your entire organization.
  48. This centralized config can integrate with your SSO provider and ensures all users access only your internal AI gateway.
  49. ---
  50. ### SSO integration
  51. Through the central config, OpenCode can integrate with your organization's SSO provider for authentication.
  52. This allows OpenCode to obtain credentials for your internal AI gateway through your existing identity management system.
  53. ---
  54. ### Internal AI gateway
  55. With the central config, OpenCode can also be configured to use only your internal AI gateway.
  56. You can also disable all other AI providers, ensuring all requests go through your organization's approved infrastructure.
  57. ---
  58. ### Self-hosting
  59. While we recommend disabling the share pages to ensure your data never leaves
  60. your organization, we can also help you self-host them on your infrastructure.
  61. This is currently on our roadmap. If you're interested, **<a href={enterprise}>let us know</a>**.
  62. ---
  63. ## FAQ
  64. <details>
  65. <summary>What is OpenCode Enterprise?</summary>
  66. OpenCode Enterprise is for organizations that want to ensure that their code and data never leaves their infrastructure. It can do this by using a centralized config that integrates with your SSO and internal AI gateway.
  67. </details>
  68. <details>
  69. <summary>How do I get started with OpenCode Enterprise?</summary>
  70. Simply start with an internal trial with your team. OpenCode by default does not store your code or context data, making it easy to get started.
  71. Then **<a href={enterprise}>contact us</a>** to discuss pricing and implementation options.
  72. </details>
  73. <details>
  74. <summary>How does enterprise pricing work?</summary>
  75. We offer per-seat enterprise pricing. If you have your own LLM gateway, we do not charge for tokens used. For further details, **<a href={enterprise}>contact us</a>** for a custom quote based on your organization's needs.
  76. </details>
  77. <details>
  78. <summary>Is my data secure with OpenCode Enterprise?</summary>
  79. Yes. OpenCode does not store your code or context data. All processing happens locally or through direct API calls to your AI provider. With central config and SSO integration, your data remains secure within your organization's infrastructure.
  80. </details>
  81. <details>
  82. <summary>Can we use our own private NPM registry?</summary>
  83. OpenCode supports private npm registries through Bun's native `.npmrc` file support. If your organization uses a private registry, such as JFrog Artifactory, Nexus, or similar, ensure developers are authenticated before running OpenCode.
  84. To set up authentication with your private registry:
  85. ```bash
  86. npm login --registry=https://your-company.jfrog.io/api/npm/npm-virtual/
  87. ```
  88. This creates `~/.npmrc` with authentication details. OpenCode will automatically
  89. pick this up.
  90. :::caution
  91. You must be logged into the private registry before running OpenCode.
  92. :::
  93. Alternatively, you can manually configure a `.npmrc` file:
  94. ```bash title="~/.npmrc"
  95. registry=https://your-company.jfrog.io/api/npm/npm-virtual/
  96. //your-company.jfrog.io/api/npm/npm-virtual/:_authToken=${NPM_AUTH_TOKEN}
  97. ```
  98. Developers must be logged into the private registry before running OpenCode to ensure packages can be installed from your enterprise registry.
  99. </details>