MMaia Docs
Product overview
Operate and reference

Configuration reference

Find Maia's primary files, directories, configuration sections, and secret-handling rules.

Maia uses profile-aware paths. The default home is ~/.maia; set MAIA_HOME when a deployment needs a different isolated data root.

Primary files and directories

PathPurpose
<MAIA_HOME>/config.yamlNon-secret runtime, gateway, governance, tool, memory, and approval settings.
<MAIA_HOME>/.envAPI keys, tokens, passwords, and other secrets.
<MAIA_HOME>/logs/Runtime, error, gateway, and audit logs.
<MAIA_HOME>/skills/Local profile skills.
<MAIA_HOME>/memories/Local profile memory.
<MAIA_HOME>/corporate/Approved company-wide knowledge.
<MAIA_HOME>/teams/Approved team knowledge.
<MAIA_HOME>/users/Isolated gateway-user knowledge.

Common configuration sections

SectionControls
modelPrimary provider, model, endpoint, and reasoning options.
toolsEnabled and disabled toolsets by platform.
gatewayMessaging behavior and platform configuration.
governanceTenant, people, roles, teams, folders, and terminal policy.
dashboardProtected dashboard authentication and role gates.
knowledgeShared-memory and shared-skill approval policy.
cronScheduler behavior.
approvalsCommand approval mode and behavior.
observabilityAudit log, retention, redaction, and export.

Keep settings and secrets separate

Simple rule.

If disclosure would grant access, put the value in the managed secret flow. If the value changes behavior without granting access, put it in config.yaml.

Configure working directories

The local CLI uses the process working directory. Messaging uses terminal.cwd from config.yaml. Set the messaging directory to a governed path and define folder policy for the identities that will use it. Gateway shell/code sessions are forced into per-user Docker or Podman containers, so the server needs a working secure runtime for Full automation; Maia enters Restricted mode and blocks command execution if isolation cannot start.

Validate configuration changes

maia status
maia doctor

Gateway credentials, secrets, or tool-runtime changes may require restarting the affected service. Governance membership and file-policy changes do not: Maia replaces the affected user's sandbox when their next gateway request starts. Test every change with the lowest-privileged identity impacted.

navigateEsc close