# Artifacts

> For AI agents: the complete documentation index is at https://buddy.works/llms.txt

A private artifact registry for everything your pipelines and agents build.

## Contents

- [Introduction](https://buddy.works/docs/artifacts/introduction.md) - A Buddy artifact stores versioned files, container images, packages, Git repos or databases outside pipelines. How it differs from the pipeline filesystem.
- [Quick start](https://buddy.works/docs/artifacts/quickstart.md) - Create a Buddy artifact, publish build output as a version with the Publish Artifact Version action, and download it in another pipeline or from the CLI.
- [Versions](https://buddy.works/docs/artifacts/versions.md) - Every Buddy artifact version has a unique name. Create versions in the UI, CLI or a pipeline, copy them without a rebuild and see which runs used each one.
- [Bucket](https://buddy.works/docs/artifacts/bucket.md) - A Bucket artifact stores any files as versions, each with its own HTTPS address. Upload from the UI, CLI or a pipeline and download with a browser, curl or bdy.
- [Container registry](https://buddy.works/docs/artifacts/container-registry.md) - Push and pull Docker images to a private registry at container.registry.sh. Each image tag becomes a version of a Container Image artifact in Buddy.
- [npm registry](https://buddy.works/docs/artifacts/npm-registry.md) - Publish and install private npm packages from npm.registry.sh. The package scope is your workspace and each package version is an artifact version in Buddy.
- [GitHub Release](https://buddy.works/docs/artifacts/github-release.md) - Connect a GitHub repository to a Buddy artifact. Each new release becomes a read-only version with its assets and can trigger a deploy pipeline.
- [Composer registry](https://buddy.works/docs/artifacts/composer-registry.md) - Publish private PHP packages to composer.registry.sh from a Buddy pipeline and install them with composer install using a personal access token.
- [Git repository](https://buddy.works/docs/artifacts/git-repository.md) - Host a private Git repository as a Buddy artifact at git.buddy.works. Clone and push over HTTPS or SSH; each branch and tag becomes an artifact version.
- [Turso database](https://buddy.works/docs/artifacts/turso-database.md) - Create a Turso Database artifact in Buddy. Each version is a separate SQLite database you query with the Turso SDK or over HTTP using an access token.
- [Scopes](https://buddy.works/docs/artifacts/scopes.md) - A Buddy artifact belongs to a workspace, a project or an environment. Scope decides where the artifact is listed and which pipelines and runs can reach it.
- [Permissions and access](https://buddy.works/docs/artifacts/permissions-and-access.md) - Grant pipelines and sandboxes Read-only, Read-write or Manage access to a Buddy artifact, and control what people can do with the Artifacts module in a role.
- [Access control](https://buddy.works/docs/artifacts/access-control.md) - Access control decides who can open artifact version URLs outside Buddy: Buddy login, HTTP Basic Auth or public access. Set it in the UI, with bdy flags or API.
- [Artifacts in pipelines](https://buddy.works/docs/artifacts/pipelines.md) - Use the Publish Artifact Version and Download Artifact Version actions to pass build files between pipelines and read the BUDDY_ARTIFACT_* variables.
- [Run a pipeline with an artifact version](https://buddy.works/docs/artifacts/run-with-version.md) - Start a pipeline with a chosen artifact version from the Run window, CLI, artifact triggers or the Trigger pipeline action, and read the BUDDY_RUN_ARTIFACT_* variables.
- [Using artifact images](https://buddy.works/docs/artifacts/using-artifact-images.md) - Run a BUILD action or a service on a Docker image stored in a Buddy Container Image artifact. Set image_location to ARTIFACT_REGISTRY, grant Read-only access.
- [Cleanup and retention](https://buddy.works/docs/artifacts/cleanup-and-retention.md) - Delete old artifact versions in Buddy with the Artifact Cleanup action and wildcard version patterns, and set retention rules in the artifact Settings tab.
- [Artifacts in the CLI](https://buddy.works/docs/artifacts/cli.md) - Artifact management using the Buddy CLI, including artifact creation, version publishing, downloading, copying, and container registry authentication.
- [Artifacts in Sandboxes](https://buddy.works/docs/artifacts/sandboxes.md) - Fetch an artifact version into a Buddy Sandbox with bdy sb fetch, refresh it later, and grant the Sandbox access to the artifact in the Permissions tab.
- [Artifacts and AI agents](https://buddy.works/docs/artifacts/ai-agents.md) - Let an AI agent create artifacts, add versions, upload files and run pipelines with an artifact version through the Buddy MCP server, and what to check first.
- [Troubleshooting](https://buddy.works/docs/artifacts/troubleshooting.md) - Real error messages from Buddy artifact actions, bdy, docker, npm, composer, git, Turso and the API, with the cause and the setting that fixes each.

---
Original source: https://buddy.works/docs/artifacts