Skip to content

Deployment Configuration Profiles #613

@itomek

Description

@itomek

Problem

Different deployment contexts require different default configurations — model selection, MCP servers, default agent, UI settings. Currently there is no mechanism to pre-configure Gaia for a specific deployment target without modifying code. A profile system would allow a single codebase to serve multiple deployment scenarios.

Proposed Changes

1. Profile Format

Define a deployment profile as a single JSON file that specifies defaults:

  • Default model (name, source URL, expected size)
  • MCP server configuration (which servers to pre-configure)
  • Default agent ID (for the agent registry/selector)
  • UI defaults (theme, feature flags)

Profile storage: .gaia/profiles/<name>.json

  • default.json — OSS/community default
  • Custom profiles for specific deployment targets

2. Profile Loading

  • --profile <name> flag at first run loads the named profile
  • Profile sets initial values for all configuration areas
  • User can override any profile default through the normal settings UI
  • If no profile is specified, default.json is used

3. Profile Embedding in Installers

Files Likely Affected

  • src/gaia/ — profile schema definition, profile loader
  • .gaia/profiles/ — profile JSON files
  • src/gaia_ui/backend/ — profile-aware configuration initialization

Acceptance Criteria

  • Profile JSON schema defined and validated on load
  • --profile <name> flag loads the named profile and sets defaults
  • Profile defaults are overridable through the UI without modifying the profile file
  • Installer can embed a profile for first-run auto-configuration
  • Profile system is extensible for custom deployment targets

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinstallerInstaller changesp1medium priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions