Aider · JSON Structure

Aider Cli Repository Map Structure

RepositoryMap schema from Aider CLI

Type: object Properties: 2
AIAI Pair ProgrammingDeveloper ToolsCLICommand LineCoding AssistantCode GenerationOpen SourcePythonApache 2.0LLMGitBYO LLMTerminalPolyglotTree SitterRepository MapPair Programming

RepositoryMap is a JSON Structure definition published by Aider, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

token_budget symbols

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aider/refs/heads/main/json-structure/aider-cli-repository-map-structure.json",
  "name": "RepositoryMap",
  "description": "RepositoryMap schema from Aider CLI",
  "type": "object",
  "properties": {
    "token_budget": {
      "type": "int32",
      "example": 4096
    },
    "symbols": {
      "type": "array",
      "description": "Tree-sitter-extracted symbol summaries per file.",
      "items": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "example": "src/main.py"
          },
          "symbols": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "class Cache"
            },
            "example": [
              "class Cache",
              "def get(self, key)"
            ]
          }
        }
      }
    }
  }
}