import { EnterpriseAI } from '@kodia/core';
import { InternalGateway } from '@kodia/security';

export class KodiaWorkspace {
  private gateway: InternalGateway;
  private ai: EnterpriseAI;

  constructor(config: WorkspaceConfig) {
    this.gateway = new InternalGateway({
      sso: config.ssoProvider,
      endpoint: process.env.VMATIX_GATEWAY_URL,
      strictMode: true,
      dataResidency: 'UK',
    });

    this.ai = new EnterpriseAI({
      gateway: this.gateway,
      model: 'kodia-enterprise-v2',
      telemetry: false, // Zero logging
    });
  }

  async processDevelopmentContext(ctx: CodeContext) {
    // Ensuring zero context retention
    const secureCtx = await this.gateway.sanitize(ctx);
    
    return this.ai.generate({
      prompt: secureCtx,
      temperature: 0.2,
      maxTokens: 8192,
      policies: ['no-logging', 'pii-masking']
    });
  }
}
Enterprise AI Solution

Kodia Enterprise

Secure AI Coding for Your Organization. Kodia Enterprise is built for organizations that want to use AI-assisted development while keeping their code, context, and sensitive data within their own infrastructure.

Getting started with Kodia Enterprise

Kodia can be deployed with a centralized configuration that integrates with your SSO and internal AI gateway, giving your organization control over how AI is accessed and where data is processed.

Kodia does not store your code or context data.

  • Start with an internal trial with your development team.
  • Evaluate Kodia within your existing security and infrastructure requirements.
  • Add your team members and contributors.
  • Contact us to discuss enterprise pricing, deployment, and implementation.

Trial

Kodia is open source and does not store your code or context data.

Your developers can get started with an internal trial and invite other team members or contributors to collaborate on projects.

This allows your team to evaluate Kodia within your existing development environment before moving to a wider enterprise deployment.

Data Handling

Kodia does not store your code or context data.

As long as you use a provider you trust, or route requests through your own internal AI gateway, Kodia can be integrated into your existing security model.

  • Locally within your development environment
  • Through direct API calls to your selected AI provider
  • Through your organization's internal AI gateway

Teamwork & Contributors

Kodia is designed for teams, not just individual developers.

Users can invite other members of their organization to participate in their projects as contributors.

Contributors can collaborate within the Kodia environment while working with the same project context, development resources, and AI-assisted workflows.

  • Invite users as project contributors
  • Manage project membership
  • Collaborate across development teams
  • Control who has access to projects
  • Maintain a centralized AI configuration
  • Use the organization's approved AI infrastructure

Code Ownership

You own the code produced with Kodia.

Kodia does not claim ownership of your generated code, and there are no additional licensing restrictions on code created through the platform.

Contributors working on a project do not change your organization's ownership of its code or intellectual property.

Enterprise Pricing

Kodia Enterprise uses a per-seat pricing model.

If your organization already operates its own LLM gateway, Kodia does not charge for tokens consumed through that gateway.

Contact us for a custom enterprise quote.

  • Number of users
  • Number of contributors
  • Deployment requirements
  • SSO integration
  • Internal AI gateway configuration
  • Enterprise support requirements

Deployment & Central Configuration

Once your internal trial is complete, Kodia can be deployed across your organization using a centralized configuration.

This configuration can integrate with your existing SSO provider and ensure that all users access AI through your approved infrastructure.

This provides a consistent security and configuration layer across your development teams.

  • Authentication & SSO Integration
  • AI providers & Data routing
  • Security policies & User access
  • Contributors & Configuration management

Internal AI Gateway

Kodia can be configured to route AI requests exclusively through your organization's internal AI gateway.

Your organization can also disable access to external AI providers.

This allows you to enforce a policy where all AI requests pass through infrastructure that your organization controls and has approved.

  • Model access & Provider selection
  • Authentication & Logging
  • Security policies & Usage controls
  • Data governance

Self-Hosting

Organizations that require additional control can deploy supporting Kodia services within their own infrastructure.

Self-hosting allows organizations to maintain greater control over their deployment, data environment, and internal collaboration infrastructure.

Self-hosted enterprise capabilities are being expanded as part of the Kodia roadmap.

If your organization requires a specific deployment model, contact us to discuss your requirements.

Kodia Enterprise FAQs

Common questions about capabilities, deployment, data handling, and pricing.

What is Kodia Enterprise?

Kodia Enterprise is designed for organizations that want to use AI-assisted development while maintaining control over their code, context, AI providers, users, contributors, and infrastructure. Kodia can integrate with your organization's SSO and internal AI gateway through centralized configuration.

How do I get started with Kodia Enterprise?

Start with an internal trial with your development team. You can then invite other users as contributors and collaborate on projects within your Kodia workspace. Once your trial is complete, contact us to discuss enterprise deployment, pricing, and implementation.

How does teamwork work in Kodia?

Users can invite other users to participate in their projects as contributors. This allows development teams to collaborate while maintaining control over project access and organizational permissions.

How does enterprise pricing work?

Kodia Enterprise uses a per-seat pricing model. If your organization has its own LLM gateway, Kodia does not charge for tokens used through that gateway. Enterprise pricing can be customized according to your organization's requirements.

Is my data secure with Kodia Enterprise?

Kodia is designed so that your code and context data are not stored by Kodia. Processing occurs locally or through direct API calls to the AI provider configured by your organization. With centralized configuration, SSO integration, and an internal AI gateway, organizations can maintain control over how AI requests are authenticated, routed, and processed.

Can we control who has access to a project?

Yes. Kodia allows users to add other users as contributors and manage project membership according to their organization's requirements.

Can we restrict which AI providers developers can use?

Yes. Kodia can be configured to use only your organization's approved internal AI gateway, allowing administrators to prevent developers from connecting directly to unapproved external AI providers.

Can Kodia work with our existing SSO?

Yes. Kodia's centralized configuration can integrate with your organization's existing SSO and identity management infrastructure.

Do we own the code generated by Kodia?

Yes. Your organization owns the code generated through Kodia. Kodia does not claim ownership of your generated code or intellectual property.