# Root Agent Runtime

FROM python:3.11-slim

WORKDIR /app

# Install dependencies
COPY runtime/pyproject.toml ./pyproject.toml
RUN pip install --no-cache-dir -e .

# Copy agent code
COPY agent.py contract.toml playground.py schemas.py ./
COPY models/ ./models/

# Run the agent
CMD ["python", "-m", "aimp_sdk.agent_worker", "--module", "/app/agent.py"]
