AIToday

Agentreg: DNS for AI agents, self-hosted in one Go binary

Hacker News1h ago
Agentreg: DNS for AI agents, self-hosted in one Go binary

Key takeaway

Core Brim Tech has released agentreg, a self-hosted registry that allows AI agents to discover each other by capability—what they can do—rather than hardcoded network endpoints. It runs as a single Go binary with built-in health checks that detect when an agent is down before it breaks downstream systems, eliminating the need for separate monitoring infrastructure. The tool is designed to scale from a few agents on a laptop to dozens, with a roadmap to add trust verification and federation across multiple registries.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    Core Brim Tech released agentreg, a self-hosted registry that lets AI agents discover each other by capability rather than hardcoded endpoints. The tool includes built-in health checks and trust verification, runs as a single Go binary, and requires no cloud account or cluster.

  • Why it matters

    As teams deploy multiple AI agents and MCP servers, managing endpoints and detecting outages becomes manual and error-prone. agentreg solves this by centralizing agent discovery and health monitoring in one lightweight tool—eliminating hardcoded configs and catching downed agents before they break downstream systems.

  • What to watch

    The roadmap includes pluggable verifiers for ANS identity and prompt-injection checks (coming next), federation across registries, and a unified client for cross-org agent discovery. Version 0.1 is available now via Homebrew, binary download, or `go install`.

In Depth

Core Brim Tech has launched agentreg, a self-hosted registry designed to solve the operational friction that emerges when running multiple AI agents alongside each other. The problem it addresses is simple but acute: once you have more than a couple of MCP servers, you end up hardcoding endpoints in configuration files, discovering that an agent is down only when something breaks, and trusting every endpoint blindly. agentreg changes this by providing a centralized place where agents register themselves, advertise their capabilities, and are continuously health-checked.

The tool works in three steps. First, you run the agentreg daemon locally (`agentctl serve`). Second, you register each agent with its capabilities and endpoint—for example, `agentctl register search-agent -c search -e http://localhost:3000`. Third, when an agent needs to find a peer, it queries by capability: `agentctl find search` returns all agents that offer search functionality, regardless of where they live. The daemon runs health-check probes on a configurable interval (default 15 seconds), so unhealthy agents show up in the list with an "unhealthy" status before they cause downstream failures. The HTTP API supports registration via POST to `/agents`, discovery via GET to `/agents/find?capability=X`, and agent self-reporting via heartbeat.

The implementation is minimal by design. agentreg ships as a single static Go binary with no cloud dependency, no account required, and no cluster to manage. Configuration includes listening port (default 8080), persistence file location, heartbeat interval, and per-agent probe timeout. It scales from 3 agents running on a laptop to 30+ in production, and the in-memory store plus atomic JSON persistence ensures data survives restarts without requiring external databases. The architecture includes two extensibility seams: a `Source` field on every record (today set to "local"; future versions will support federation sources like `peer:<id>` or `from:ans`) and a pluggable Verifier interface (v1 ships with a health probe; future versions will add ANS identity verification, tools/list validation, and prompt-injection checking).

The roadmap is staged: v0.1, available now, covers the core loop of register, list, find, and heartbeat. The next phase introduces trust via pluggable verifiers for ANS identity, tools validation, and security checks. After that comes federation, allowing `agentctl federate` to coordinate across multiple registries. The long-term vision is a unified client that discovers and verifies agents across org boundaries—local registries, MCP Registry, and ANS together—so agents can transact safely across organizations. Additional features under consideration include a live list terminal UI, a diagnostic tool (`agentctl doctor`), a graph visualization, and zero-config auto-registration from an MCP manifest. Installation is available via Homebrew for macOS and Linux, direct binary download from the GitHub releases page, or `go install` for those with Go 1.26+.

Context & Analysis

The release of agentreg addresses a structural gap in the AI agent ecosystem. As organizations move beyond single-agent deployments to running multiple agents and MCP (Model Context Protocol) servers, the infrastructure for agent-to-agent discovery and health monitoring has lagged. Currently, teams hardcode endpoints in configuration files and discover outages only when services fail downstream—a pattern that doesn't scale. agentreg fills this gap by providing a lightweight, capability-first registry that treats agents as discoverable entities rather than static network endpoints.

The tool's design reflects a deliberate philosophy: start small and self-hosted, then grow toward trust and federation without rewriting the foundation. By shipping as a single Go binary with no cloud dependency or cluster overhead, it lowers the adoption barrier for teams with just a few agents. The pluggable verifier interface and the `Source` field baked into every record are architectural choices that enable future trust mechanisms and cross-registry federation without requiring migration. This positions agentreg not as a replacement for standards bodies like IETF (which defines ANS) or standards like MCP, but as the operational tool developers actually run in production.

FAQ

How do I install agentreg?
You can install agentreg via Homebrew (`brew install mkk2026/tap/agentreg`), download a binary from the latest release at https://github.com/mkk2026/agentreg/releases, or build from source with Go 1.26+ using `go install github.com/mkk2026/agentreg@latest`.
What is agentreg's discovery model?
Agentreg uses capability-first discovery: instead of asking where an agent lives, you ask what it can do. For example, `agentctl find search` returns any agent with the `search` capability, so endpoints can move without breaking your config.
Does agentreg require cloud infrastructure?
No. agentreg is self-hosted as a single static binary with no cloud dependency. It stores data in-memory plus atomic JSON persistence and runs entirely on your machine or network.
What is the roadmap after v0.1?
The next phase adds pluggable verifiers for ANS identity, tools/list validation, and prompt-injection checks. After that comes federation across registries, and eventually a unified client for discovering and verifying agents across org boundaries.

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime