Skip to content
Theme:

Settings reference

AetherSettings

The root of an Aether settings file (.aether/settings.json). It selects the default agent and defines the agents, prompt sources, MCP servers, and provider overrides available to a project.

Basic Examples

A minimal project with a single user-invocable agent:

{
"agent": "Build",
"agents": [
{
"name": "Build",
"description": "Builds features and fixes bugs",
"model": "anthropic:claude-sonnet-4-5-20250929",
"userInvocable": true
}
]
}

A fuller setup with shared prompts, an MCP source, and a provider override:

{
"agent": "Build",
"prompts": ["AGENTS.md"],
"mcps": [".aether/mcp.json"],
"providers": {
"anthropic": { "auth": "default" }
},
"agents": [
{
"name": "Build",
"description": "Builds features and fixes bugs",
"model": "anthropic:claude-sonnet-4-5-20250929",
"reasoningEffort": "high",
"userInvocable": true,
"prompts": [".aether/BUILD.md", "AGENTS.md"]
}
]
}

An encrypted file credential store using a passphrase from the environment:

{
"credentialsStore": {
"type": "encryptedFile",
"passwordEnv": "PASSWORD_ENV_VAR_NAME"
},
"agents": [
{
"name": "Build",
"description": "Builds features and fixes bugs",
"model": "anthropic:claude-sonnet-4-5-20250929",
"userInvocable": true
}
]
}

OpenTelemetry

OpenTelemetry is enabled by adding a telemetry section to settings. User-level telemetry settings merge with project-level, with project-level taking priority. Prompt, response, reasoning, and tool content is not exported unless the matching telemetry.content flag is explicitly set to true.

{
"telemetry": {
"serviceName": "aether",
"sampleRatio": 1.0,
"content": {
"systemInstructions": false,
"inputMessages": false,
"outputMessages": false,
"toolDefinitions": false,
"toolCalls": false
},
"traces": { "enabled": true },
"metrics": { "enabled": true },
"otlp": {
"endpoint": "http://localhost:4318"
}
},
"agents": [
{
"name": "Build",
"description": "Builds features and fixes bugs",
"model": "anthropic:claude-sonnet-4-5-20250929",
"userInvocable": true
}
]
}

All content flags default to false; enable only the content attributes appropriate for your collector and its access controls. See the website telemetry reference for the complete attribute mapping.

For an OTLP backend with exact signal URLs, set otlp.tracesEndpoint and otlp.metricsEndpoint. Aether sends each configured signal to its matching URL unchanged; an unconfigured signal uses the /v1/traces or /v1/metrics URL derived from otlp.endpoint.

FieldTypeRequiredDefaultDescription
agentstring | nullnoName of the agent to launch by default. Must match a name in agents. When unset, Aether falls back to the first user-invocable agent.
promptsPromptSource[]noDefault prompt sources shared by all agents. An agent inherits these only when its own prompts array is empty.
mcpsMcpSourceSpec[]noDefault MCP sources shared by all agents. An agent inherits these only when its own mcps array is empty.
providersRecord<string, ProviderConnectionOverride>noProvider connection overrides (credentials, base URLs, inference profiles) applied to every agent unless overridden per-agent.
credentialsStoreCredentialsStoreConfig | nullnoCredential storage backend for OAuth tokens. Defaults to the OS keyring when unset.
telemetryTelemetrySettings | nullnoOpenTelemetry GenAI telemetry configuration. Its presence enables telemetry.
agentsAgentConfig[]yesThe agents defined for this project. At least one agent is required.

AgentConfig

A single agent definition. Every agent must be invocable on at least one surface — set userInvocable, agentInvocable, or both.

A user-invocable agent with its own prompt and a read-only tool allowlist:

{
"name": "Review",
"description": "Reviews diffs and suggests changes",
"model": "anthropic:claude-sonnet-4-5-20250929",
"userInvocable": true,
"prompts": [".aether/REVIEW.md"],
"tools": { "allow": [{ "readOnly": true }, "plan__*"] }
}

A deterministic judge agent that pins sampling via modelSettings:

{
"name": "Judge",
"description": "Grades responses against a rubric",
"model": "anthropic:claude-sonnet-4-5-20250929",
"userInvocable": true,
"modelSettings": { "temperature": 0, "maxTokens": 1024 }
}

A sub-agent (callable by other agents) that pins a Bedrock inference profile:

{
"name": "Search",
"description": "Answers questions about the codebase",
"model": "anthropic.claude-sonnet-4-5-20250929-v1:0",
"agentInvocable": true,
"providers": {
"bedrock": {
"inferenceProfileArn": "arn:aws:bedrock:us-west-2:000000000000:application-inference-profile/abc"
}
}
}

Type: any

CredentialsStoreConfig

One of:

CredentialsStoreConfig (type: keyring)

FieldTypeRequiredDefaultDescription
type"keyring"yes

CredentialsStoreConfig (type: memory)

FieldTypeRequiredDefaultDescription
type"memory"yes

CredentialsStoreConfig (type: encryptedFile)

FieldTypeRequiredDefaultDescription
pathstring | nullnoFile path for the encrypted credential blob. Defaults to .aether/credentials.enc in the Aether home directory when unset.
passwordEnvstring | nullnoEnvironment variable name to read the passphrase from. Uses AETHER_CREDENTIALS_PASSWORD when unset.
type"encryptedFile"yes

DeferredToolRules

FieldTypeRequiredDefaultDescription
includestring[]noTool names to defer. An empty list includes every tool.
excludestring[]noTool names to keep model-visible. Exclude rules take precedence over include rules.

InMemoryServerConfig

FieldTypeRequiredDefaultDescription
typeInMemoryTypeyesTransport discriminant; always in-memory.
argsstring[]no[]Arguments passed to the built-in (in-process) server.
inputanynonullOptional JSON input passed to the built-in server at startup.
deferToolsToolExposurenoControls which tools are deferred from the model-visible tool definitions.

InMemoryType

Enum. One of:

  • "in-memory"

McpOAuthConfig

FieldTypeRequiredDefaultDescription
clientIdstring | nullno
clientMetadataUrlstring | nullno
callbackPortinteger | nullno

McpServerConfig

A single MCP server. The type field selects the transport; stdio is the default and may be omitted.

A local stdio server launched as a subprocess:

{
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_TOKEN": "ghp_..." }
}

A remote streamable-HTTP server using a pre-registered public OAuth client:

{
"type": "http",
"url": "https://mcp.slack.com/mcp",
"oauth": {
"clientId": "1601185624273.8899143856786",
"callbackPort": 3118
}
}

When a remote HTTP server returns an OAuth challenge, Aether uses its first-party Client ID Metadata Document at https://aether-agent.io/oauth/client-metadata.json and listens on 127.0.0.1:3118, advertising the exact redirect URI http://localhost:3118/. If port 3118 is occupied, authentication fails until the port is available.

The oauth object is optional. Set clientMetadataUrl for a custom CIMD, or clientId for a pre-registered public client; a configured clientId takes priority. callbackPort defaults to 3118 and must exactly match the client’s registered redirect URI. If the authorization server does not advertise CIMD, Aether falls back to deprecated Dynamic Client Registration. An explicit Authorization header bypasses OAuth entirely.

A remote server using a bearer token:

{
"type": "http",
"url": "https://mcp.example.com",
"headers": { "Authorization": "Bearer ..." }
}

Set "deferTools": true to omit every tool on this server from the model-visible tool definitions and make it available through progressive aether mcp discovery. For selective deferral, set deferTools to an object with include and exclude lists. Entries match either an exact MCP-local tool name or a prefix ending in *:

{
"type": "in-memory",
"deferTools": {
"include": ["*"],
"exclude": ["bash", "lsp_*"]
}
}

One of:

McpSourceSpec

MCP config source — either a file path string or an inline server definition.

Point at a JSON file of servers:

".aether/mcp.json"

Reference a file with options:

{ "type": "file", "path": ".aether/mcp.json", "optional": true }

Or define servers inline:

{
"type": "inline",
"servers": {
"github": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"]
}
}
}

One of:

McpSourceSpecObject

One of:

McpSourceSpecObject (type: file)

FieldTypeRequiredDefaultDescription
pathResourcePathyes
deferToolsbooleanno
optionalbooleanno
type"file"yes

McpSourceSpecObject (type: inline)

FieldTypeRequiredDefaultDescription
serversRecord<string, McpServerConfig>yes
type"inline"yes

ModelSettings

FieldTypeRequiredDefaultDescription
temperaturenumber | nullnoSampling temperature. Lower is more deterministic (e.g. 0 for grading).
topPnumber | nullnoNucleus sampling: the probability mass to sample from.
maxTokensinteger | nullnoUpper bound on the number of tokens generated in the response.

OtlpTelemetrySettings

FieldTypeRequiredDefaultDescription
endpointstring | nullnoBase URL for an OTLP/HTTP collector. Aether appends /v1/traces or /v1/metrics for the respective signal.
tracesEndpointstring | nullnoExact OTLP/HTTP trace export URL. Overrides the traces URL derived from endpoint, for providers that require a signal-specific endpoint.
metricsEndpointstring | nullnoExact OTLP/HTTP metric export URL. Overrides the metrics URL derived from endpoint, for providers that require a signal-specific endpoint.
headersRecord<string, string>no

PromptSource

Authored description of a prompt source — either a file path string or a typed text, file, or glob object.

A file path (the most common form):

"AGENTS.md"

Inline text:

{ "type": "text", "text": "You are a careful, concise engineer." }

A glob that loads every matching file:

{ "type": "glob", "pattern": ".aether/prompts/*.md", "optional": true }

One of:

PromptSourceObject

One of:

PromptSourceObject (type: text)

FieldTypeRequiredDefaultDescription
textstringyesLiteral prompt text included verbatim.
type"text"yes

PromptSourceObject (type: file)

FieldTypeRequiredDefaultDescription
pathResourcePathyesPath to a prompt file, resolved as a resource path.
optionalbooleannoWhen true, a missing file is skipped instead of raising an error.
type"file"yes

PromptSourceObject (type: glob)

FieldTypeRequiredDefaultDescription
patternResourcePathyesGlob pattern matching prompt files, resolved as a resource path.
optionalbooleannoWhen true, a zero-match glob is skipped instead of raising an error.
type"glob"yes

ProviderAuthMode

Enum. One of:

  • "default"
  • "none"

ProviderConnectionOverride

Per-provider connection settings, merged over the built-in defaults.

Force first-party auth (e.g. an OAuth store) for a provider:

{ "auth": "default" }

Point a provider at a custom base URL with auth disabled:

{ "url": "https://gateway.internal/v1", "auth": "none" }

Request-target routing keeps the catalog model identity and its capabilities while sending a different provider-specific model or deployment name on the wire:

{ "requestModel": "production-coding-deployment" }

Use url for providers with resource-specific endpoints, such as Microsoft Foundry. A trailing slash is normalized before /chat/completions is appended. A provider with requestModel cannot appear more than once in an alloy because the target would be ambiguous.

Pin a Bedrock application inference profile:

{ "inferenceProfileArn": "arn:aws:bedrock:us-west-2:000000000000:application-inference-profile/abc" }
FieldTypeRequiredDefaultDescription
urlstring | nullnoBase URL override for the provider’s API endpoint.
authProviderAuthMode | nullnoAuthentication mode. default uses the provider’s normal credential chain; none disables auth, for local or unauthenticated servers.
requestModelstring | nullnoProvider-specific model or deployment target sent in requests without changing catalog identity.
inferenceProfileArnstring | nullnoAWS Bedrock application inference profile ARN to route requests through.

ReasoningEffort

Enum. One of:

  • "default"
  • "disabled"
  • "minimal"
  • "low"
  • "medium"
  • "high"
  • "xhigh"
  • "max"

RemoteServerConfig

FieldTypeRequiredDefaultDescription
typeRemoteTypeyesTransport discriminant; http (streamable HTTP) or sse (Server-Sent Events).
urlstringyesBase URL of the remote MCP server.
headersRecord<string, string>no{}Extra HTTP headers sent with every request.
oauthMcpOAuthConfig | nullnoOAuth settings for a pre-registered public client.
deferToolsToolExposurenoControls which tools are deferred from the model-visible tool definitions.

RemoteType

Enum. One of:

  • "http"
  • "sse"

ResourcePath

A path with optional $VAR / ${VAR} expansion. ${WORKSPACE} resolves to the workspace root; other names fall through to process env. Plain relative paths resolve against the workspace root at use time.

Type: string

StdioServerConfig

FieldTypeRequiredDefaultDescription
typeStdioTypeno"stdio"Transport discriminant; always stdio.
commandstringyesExecutable launched to run the MCP server over stdio.
argsstring[]no[]Command-line arguments passed to the executable.
envRecord<string, string>no{}Environment variables set for the server process.
deferToolsToolExposurenoControls which tools are deferred from the model-visible tool definitions.

StdioType

Enum. One of:

  • "stdio"

TelemetryContentSettings

FieldTypeRequiredDefaultDescription
systemInstructionsboolean | nullnoSet gen_ai.system_instructions on chat spans.
inputMessagesboolean | nullnoSet gen_ai.input.messages on turn and chat spans.
outputMessagesboolean | nullnoSet gen_ai.output.messages on turn and chat spans.
toolDefinitionsboolean | nullnoSet gen_ai.tool.definitions on chat spans.
toolCallsboolean | nullnoSet gen_ai.tool.call.arguments / gen_ai.tool.call.result on tool spans.

TelemetrySettings

One settings layer’s OpenTelemetry configuration. Every field is optional: a field left unset inherits the value from lower-precedence settings layers and falls back to its documented default when no layer sets it. Read resolved values through the accessor methods.

FieldTypeRequiredDefaultDescription
serviceNamestring | nullnoservice.name resource attribute. Defaults to aether.
sampleRationumber | nullnoTrace sampling ratio between 0.0 and 1.0. Defaults to 1.0.
contentTelemetryContentSettingsnoPer-attribute content capture, mapping 1:1 onto the opt-in GenAI content attributes. All default to false.
tracesTelemetrySignalSettingsnoTrace signal toggle. Enabled by default.
metricsTelemetrySignalSettingsnoMetric signal toggle. Enabled by default.
otlpOtlpTelemetrySettingsno

TelemetrySignalSettings

FieldTypeRequiredDefaultDescription
enabledboolean | nullno

ToolAnnotationMatcher

FieldTypeRequiredDefaultDescription
readOnlyboolean | nullno
destructiveboolean | nullno
idempotentboolean | nullno
openWorldboolean | nullno

ToolExposure

Which of a server’s tools are model-visible or deferred for progressive discovery.

One of:

ToolFilter

Filter for restricting which MCP tools an agent may discover and execute.

FieldTypeRequiredDefaultDescription
allowToolMatcher[]no
denyToolMatcher[]no

ToolMatcher

One of: