Skip to content

Add Docker example for one-command delegate setup #12

@sunilp

Description

@sunilp

Summary

Add a Dockerfile and docker-compose example so anyone can run an LDP delegate with a single command — no Python setup required.

What to do

  1. Create Dockerfile at repo root that packages the Python SDK delegate
  2. Create examples/docker/ with:
    • docker-compose.yml running 3 delegates with different profiles (fast, balanced, deep)
    • demo_delegate.py — a simple delegate using LdpDelegate
    • README.md with setup instructions
  3. One command to start: docker compose up
  4. One command to demo: python examples/demo_smart_routing.py (against the running delegates)

Why this matters

Docker is the fastest path from "I saw this on GitHub" to "I'm running it." It removes all friction: no Python version issues, no dependency conflicts, no port management. A2A has Docker examples for their samples.

Acceptance criteria

  • docker build -t ldp-delegate . works
  • docker compose up starts 3 delegates with different identity profiles
  • The smart routing demo can connect to them and show the routing comparison
  • README with copy-paste instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    exampleUsage examples and tutorialsgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions