New to FORGE? Start a free 30-day trial

Configuration Files Reference

Updated on Oct 2, 2026

Quick reference for Forge configuration files: where each file lives, whether it supports hierarchical loading, and its main keys. For every field, see the Configuration Fields Reference.

File overview

FileLocationHierarchicalDescription
project.toml.forge/config/NoProject metadata (required)
agents.toml.forge/config/YesAI agent and model selection
toolchain.toml.forge/config/YesDevelopment tools
commands.toml.forge/config/YesPrompt overrides and custom commands
workflows/*.toml.forge/config/workflows/YesStateful workflow definitions
application.toml<app-root>/.forge/config/—Multi-repository application
.prompt-safety.toml.forge/config/NoPrompt-injection detection rules
telemetry.toml.forge/config/, ~/.config/forge/, /etc/forge/Own lookupTelemetry settings. Override the path with FORGE_TELEMETRY_PATH.
context.toml.forge/NoCurrent issue, PR, ticket, service, and user identity

project.toml

Location: .forge/config/project.toml

KeyRequiredDescription
schema_versionYesMust be "1.0.0"
project.nameYesProject name (up to 100 characters)
project.descriptionYesShort description (up to 250 characters)
project.languageYesPrimary language
project.frameworkYesFramework, or "None"
project.testing_frameworkYesTest framework or command
project.package_managerYesPackage manager, or "None"
project.allow_appNoApplication UUID that this repository joins
[[project.context]]NoContext files and directories
[monorepo]Noenabled and [[monorepo.services]]
[commit]Nobehavior = enabled, tagged, or disabled
[config.external_sources]Noenabled, agents, toolchain, commands, workflows
[ui]Noshow_command_hints

Other keys under [project], such as documentation_framework, are custom fields.

Related: Project Setup

agents.toml

Location: .forge/config/agents.toml

KeyDescription
agent.defaultDefault agent: claude_code, github_copilot, or opencode
agent.<agent>.modelDefault model for that agent
agent.<agent>.effortDefault reasoning effort, when supported by the agent CLI
agent.<agent>.operationsPer-operation model, effort, or commits overrides, keyed as "<target>.<operation>"
agent.<agent>.targetsPer-target model, effort, or commits overrides

Related: Agent Setup, Model Selection, Effort Levels, Commit Behavior Configuration

toolchain.toml

Location: .forge/config/toolchain.toml

TableKeysDescription
[issue_tracker]name, type, method, description, repository, skill_nameDevelopment issue tracker
[ticket_tracker]Same as aboveSupport ticket tracker
[code_platform]Same as aboveCode hosting platform
[security_scanner]Same as aboveSecurity scanner

Related: Toolchain Configuration

commands.toml

Location: .forge/config/commands.toml

The template created by frg config export --commands uses these tables:

TableDescription
[[prompt_overrides]]Replace the role or task prompt for a built-in target and operation
[[custom_commands]]Define a new target and operation with role, task, and description

The full schema also supports [[commands]] targets with [[commands.context]] and [[commands.operations]] entries.

Related: Workflow Schema, Context Configuration

Create and check configuration

bash
# Project, toolchain, and agent configuration
frg config init --issues github_issues --code github --agent github_copilot

# Application configuration
frg config init --app

# Customization templates
frg config export --commands
frg config export --workflows
frg config export --security

# Validate and lock
frg config validate
frg config lock

See Also