Configuration

Workspace settings and environment variables.

Optamus is configured per workspace, with environment variables for secrets.

Workspace config

optamus/config.json in your project:

{
  "model": "default",
  "permissions": {
    "read": "allow",
    "write": "review",
    "shell": "ask"
  },
  "exclude": ["node_modules/", "dist/", "*.lock"]
}
KeyValuesMeaning
modelmodel idDefault model for runs
permissions.readallow / askFile and search reads
permissions.writeallow / review / askFile writes
permissions.shellallow / askShell commands
excludeglob arrayPaths the agent never reads

Environment variables

VariablePurpose
OPTAMUS_API_KEYHosted API authentication
OPTAMUS_MODELOverrides the workspace model
OPTAMUS_LOGLog level: error, warn, info, debug