# Marketplace Templates Storage > Local file storage for agent template content ## Overview This directory stores the actual template content files for the agent marketplace. Template metadata is stored in SQLite, while the template definitions (YAML/JSON configurations) are stored here. ## Directory Structure ``` templates/ ├── {template_id}/ │ ├── {version}/ │ │ ├── template.yaml # Agent configuration template │ │ ├── schema.json # JSON Schema for config validation │ │ └── assets/ # Additional template assets │ └── latest -> v1.0.0/ # Symlink to latest stable └── README.md ``` ## Template Format Templates are YAML files defining agent configurations: ```yaml # template.yaml name: "My Agent Template" version: "1.0.0" tier: 0 config: capabilities: - read_files - execute_commands constraints: max_execution_time: 300 allowed_paths: - /opt/workspace tools: - name: bash allowed_commands: - git - npm variables: - name: workspace_path type: string required: true description: "Path to the project workspace" ``` ## Usage Templates are managed through the Marketplace API: - Publishing creates entries here - Versions are stored in subdirectories - Content is hashed for integrity verification ## Status **Complete** See [STATUS.md](./STATUS.md) for detailed progress tracking. --- *Last updated: 2026-01-24 UTC*