Files
zeekayandGitHub 5b5cf9e9db feat: merge AgentField control plane + SDKs as Hanzo Agents (#1)
Transforms hanzoai/agents from a marketplace config repo into a full
agent orchestration platform by merging the AgentField infrastructure:

- Go control plane (K8s-like agent orchestration, service mesh, DAG workflows)
- Python SDK (FastAPI-based agent framework, LiteLLM, memory, DID/VC)
- TypeScript SDK (@hanzo/agents - Vercel AI SDK, MCP, workflows)
- Go SDK (idiomatic agent builder + client)
- React 19 embedded dashboard (XyFlow DAGs, Recharts, Radix UI)
- Docker/K8s/Helm deployment configs
- Examples: hello world, deep research, RAG, simulation, benchmarks
- Functional test suite across Python/Go/TypeScript

All references rebranded: AgentField → Hanzo Agents
- Module: github.com/hanzoai/agents/control-plane
- Python: hanzo_agents
- TypeScript: @hanzo/agents
- Go: github.com/hanzoai/agents/sdk/go
- Env vars: HANZO_AGENTS_*
- Config: hanzo-agents.yaml

Previous marketplace configs moved to config/ directory.
2026-02-09 18:53:09 -08:00

40 lines
975 B
Docker

# syntax=docker/dockerfile:1.4
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
# Install uv for fast package installation
RUN pip install uv
# Copy requirements files
COPY requirements.txt .
COPY requirements-ml.txt .
# Install core dependencies (fast, always needed)
RUN --mount=type=cache,target=/root/.cache/pip \
--mount=type=cache,target=/root/.cache/uv \
uv pip install --system -r requirements.txt
# Install ML dependencies (slower, uses CPU-only torch)
# Set to false to skip ML deps for faster builds
ARG INSTALL_ML_DEPS=true
RUN --mount=type=cache,target=/root/.cache/pip \
--mount=type=cache,target=/root/.cache/uv \
if [ "$INSTALL_ML_DEPS" = "true" ]; then \
uv pip install --system -r requirements-ml.txt; \
fi
# Copy application code
COPY . .
EXPOSE 8001
# Set default environment variables
ENV PORT=8001
ENV HANZO_AGENTS_SERVER=http://control-plane:8080
CMD ["python", "main.py"]