> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codegen.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Settings

Configure Codegen to work perfectly with your development workflow. Customize agent behavior, model selection, and repository-specific rules to optimize performance across your entire organization.

<video controls src="https://res.cloudinary.com/dbikr6pew/video/upload/v1757886203/enterprise-configurability_agrhcn.mp4" className="w-full aspect-[3456/2160] rounded-sm" />

## Agent & Repository Settings

<CardGroup cols={2}>
  <Card title="Agent Behavior" icon="robot" href="/settings/agent-behavior">
    Configure how agents interact with users and approach code modifications to
    match your workflow preferences.
  </Card>

  <Card title="Agent Permissions" icon="shield-check" href="/settings/agent-permissions">
    Control what actions agents are allowed to perform, including PR creation,
    rules detection, and security policies.
  </Card>
</CardGroup>

## Organization Settings

<CardGroup cols={2}>
  <Card title="Repository Rules" icon="shield-check" href="/settings/repo-rules">
    Set repository-specific rules and coding standards that agents automatically
    follow when working on your codebase.
  </Card>

  <Card title="Team & User Roles" icon="users" href="/settings/team-roles">
    Manage team members and control access through hierarchical role permissions
    for admins, managers, and members.
  </Card>
</CardGroup>

## Model Configuration

<CardGroup cols={1}>
  <Card title="LLM Choice and API Keys" href="/settings/model-configuration">
    Choose your preferred LLM provider and model, configure custom API keys, and
    optimize performance settings.
  </Card>
</CardGroup>

## Getting Started

Settings are organized into logical groups for easy configuration:

* **Agent & Repository Settings** - Core agent behavior and permissions that define how agents work
* **Organization Settings** - Repository rules and team management for organizational control
* **Model Configuration** - AI model selection and API key configuration for performance optimization

<Tip>
  Start by configuring repository rules for your most active repositories, then
  optimize model settings based on your team's performance and cost
  requirements.
</Tip>

<Note>
  Some settings may require specific plan tiers or administrative permissions
  within your organization.
</Note>
