# Agent Containerizer

> Generates a standard Dockerfile that includes both Python and Node.js environments for AI agents.

- Skill: `googlecloudplatform/agent-containerizer` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add googlecloudplatform/agent-containerizer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/googlecloudplatform/agent-containerizer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: GoogleCloudPlatform (https://skillmd.com/u/googlecloudplatform)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/googlecloudplatform/agent-containerizer

---


# agent-containerizer

This skill helps you package your AI agent into a production-ready container. It ensures that both Python (for ADK) and Node.js (for toolsets like `reddit-mcp`) are correctly installed and available.

## Usage

Ask Antigravity to:
- "Generate a Dockerfile for my agent"
- "Containerize my project for Cloud Run"
- "Make sure reddit-mcp works in my Docker image"

## Container Pattern

The generated Dockerfile includes:
1. **Python 3.12-slim Base**: A lightweight foundation for the agent logic.
2. **Node.js Installation**: Essential for running MCP servers distributed via `npm` or `npx`.
3. **Global Tool Installation**: Pre-installs standard tools like `reddit-mcp` to speed up startup.
4. **uv Integration**: Uses the `uv` package manager for fast and reproducible Python dependency installation.
5. **FastAPI Setup**: Configures the container to run the `uvicorn` server on the correct port (8080).

## Dockerfile Template

Refer to the included `resources/Dockerfile` for the standard implementation.

