Buf Registry | MCP Server | Go SDK | Python SDK | JavaScript SDK | GitHub Actions |
The Directory (dir) allows publication, exchange, and discovery of information about records over a distributed peer-to-peer network. It leverages OASF to describe AI agents and provides a set of APIs and tools to store, publish, and discover records across the network by their attributes and constraints. Directory also leverages CSIT for continuous system integration and testing across different versions, environments, and features.
Directory enables several key capabilities for the agentic AI ecosystem:
Check the Documentation for a full walkthrough of all the Directory features.
To build the project and work with the code, you will need the following installed in your system
Make sure Docker is installed with Buildx.
Use Taskfile for all related development operations such as testing, validating, deploying, and working with the project.
git clone https://github.com/agntcy/dir
cd dir
This step will fetch all project dependencies and prepare the environment for development.
task deps
Make the changes to the source code and rebuild for later testing.
task build
The local testing pipeline relies on Golang to perform unit tests, and Docker to perform E2E tests in an isolated Kubernetes environment using Kind.
task test:unit
task test:e2e
All artifacts are tagged using the Semantic Versioning and follow the checked-out source code tags. It is not advised to use artifacts with mismatched versions.
All container images are distributed via GitHub Packages.
docker pull ghcr.io/agntcy/dir-ctl:v1.3.0
docker pull ghcr.io/agntcy/dir-apiserver:v1.3.0
All helm charts are distributed as OCI artifacts via GitHub Packages.
helm pull oci://ghcr.io/agntcy/dir/helm-charts/dir --version v1.3.0
All release binaries are distributed via GitHub Releases and Homebrew agntcy/dir tap.
See the Quickstart documentation for the full platform support matrix, prerequisites, and configuration details.
The fastest way to run a local Directory instance is the built-in daemon. It bundles the gRPC apiserver and reconciler into a single process with embedded SQLite and a local OCI store.
dirctl daemon start
All state is stored under ~/.agntcy/dir/ by default. The daemon listens on localhost:8888 and can be managed with dirctl daemon stop and dirctl daemon status.
A custom configuration file can be used to connect to external databases (e.g. PostgreSQL) or remote OCI registries instead of the built-in SQLite and local store:
dirctl daemon start --config /path/to/daemon.config.yaml
This will deploy Directory services (apiserver, reconciler, Zot registry, PostgreSQL) as separate containers using Docker Compose:
cd install/docker
docker compose up -d
Contributors working on the Directory codebase can also use the Taskfile wrapper:
task server:start
This will deploy Directory services into an existing Kubernetes cluster.
helm pull oci://ghcr.io/agntcy/dir/helm-charts/dir --version v1.3.0
helm upgrade --install dir oci://ghcr.io/agntcy/dir/helm-charts/dir --version v1.3.0
Distributed under Apache 2.0 License. See LICENSE for more information. Copyright AGNTCY Contributors (https://github.com/agntcy)