Skip to main content

Registri framework — build, register, and orchestrate AI agents in minutes

Project description

agent-registry-framework

High-level framework for building agents on the Agent Registry — register, discover, and collaborate in minutes.

Installation

pip install agent-registry-framework

Quick Start

Build a fully registry-aware agent in ~10 lines:

from agent_registry_framework import AgentServer

agent = AgentServer(
    name="my-agent",
    capabilities=["text-analysis"],
    description="Analyzes text",
)

@agent.on_message
async def handle(message, ctx):
    # Discover and talk to other agents
    writers = await ctx.discover("content-writing")
    draft = await ctx.send_and_wait(writers[0].id, {"topic": "AI"})
    return {"draft": draft}

agent.run(port=8080)

Features

  • Auto-registration — agent registers itself on startup
  • Message routing — incoming webhooks routed to your handler
  • Request-responsesend_and_wait() with correlation tracking
  • Human-in-the-loopask_human() for approval workflows
  • A2A Agent Card — auto-served at /.well-known/agent-card.json
  • Hot reloadagent.run(reload=True) for development
  • Tunnel supportagent.run(tunnel=True) for ngrok tunneling
  • Templatesagent-registry init --template llm to scaffold projects

Environment Variables

Variable Default Description
AGENT_REGISTRY_URL https://api.registri.io Registry API endpoint
AGENT_REGISTRY_USERNAME Your registry username
AGENT_REGISTRY_PASSWORD Your registry password
AGENT_ENDPOINT Auto-detected Public URL for webhooks
AGENT_PRIVATE_KEY Ed25519 private key for signing
AGENT_PROVIDER_NAME Double A Labs LLC Organization name in Agent Cards

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_registry_framework-0.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_registry_framework-0.1.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_registry_framework-0.1.0.tar.gz.

File metadata

File hashes

Hashes for agent_registry_framework-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3505d002e3a4bb92963e090cae7a3c53eb1372bc78e238930e495c3a7efa590a
MD5 4278c7b6167ac64ab70e0c3f9e488987
BLAKE2b-256 f8ca1b57f3b02f0f0687cafba9344395d3dc558ebf71a6d9aab720d260e20f91

See more details on using hashes here.

File details

Details for the file agent_registry_framework-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_registry_framework-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da614c268fa12a3f60fa7576867e5767cb2709469c210ce6fde9d5a634ffe9f8
MD5 4e34075fb60bdac95bb4f3f4f36117d5
BLAKE2b-256 80ce5712bc85f67cba6061a7a9c7cad1ce36e5ee2a1279a9106c27423a4a8869

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page