Agent Sandbox Registry

agent-sandbox

Decision: Template Awesome — community sandbox template index

无中文版

.agents/notes/implemented/feature/2026-09-09-template-awesome-community-index.md

Decision: Template Awesome — community sandbox template index

Status: implemented Implemented: 2026-09-09

Problem

The current template-distribution model supports only: (1) the built-in templates under the local examples/templates/ directory; (2) manual build and push via abx template build-local. There is no community-driven mechanism for template discovery and distribution, so users cannot search for and discover sandbox templates created by others, nor install community templates locally with one command.

Decision

Use the awesome-list + Git index file pattern to create a community sandbox template index.

Core design

  1. awesome-templates.yaml index file: a YAML index file is maintained at the repo root, listing every community template's metadata (name, description, author, Git repo URL, tags, capabilities, status, etc.). Anyone can add their own template via PR.

  2. CLI command extensions:

  3. abx template search <keyword> — searches the community template index (supports --tag and --status filters).
  4. abx template install <name> — clones a template from the index or a GitHub URL into local ~/.abx/templates/.
  5. abx install <name> — top-level shortcut command.

  6. Distribution mechanism:

  7. The index file lives in the root of the main repository.
  8. The templates themselves live in their author's Git repository.
  9. The install command runs git clone into the local cache directory.
  10. The local cache directory coincides with the existing ~/.abx/templates/ template-resolution directory.

Index file format

templates:
  - name: "python-hello"
    description: "A minimal Python hello world template for testing"
    repo: https://github.com/alibaba-agent-sandbox/awesome-templates
    path: python-hello
    tags: [python, hello-world, example]
    author: alibaba-agent-sandbox
    capabilities: [shell, files, code, ports]
    status: official

API Design

# search the community template index
abx template search python --tag hello-world --status official

# install a template into ~/.abx/templates/
abx template install python-hello
abx install python-hello         # top-level shortcut, same as `template install`

The index-file schema (see the sample above) is the machine-readable contract; each entry contains name, description, repo, path, tags, author, capabilities, and status.

Alternatives considered

Dependencies

Test Strategy

Acceptance criteria

Implementation