ai-agent template ships Python 3.10 + Node.js 20 plus the major LLM
and agent SDKs preinstalled in one resolved pip set:
- LLM clients:
openai,anthropic,litellm - Agent frameworks:
langchain+langchain-openai+langchain-anthropic,crewai,autogen-agentchat,llama-index-core+llama-index-llms-openai,haystack-ai,pydantic-ai-slim - Helpers:
instructor,tiktoken,tenacity - MCP:
mcp,fastmcp - Storage / tracing:
chromadb,arize-phoenix,opentelemetry
pip install from every cold boot.
Heavy ML deps (
torch, transformers, sentence-transformers) are
intentionally not included to keep the image small. Use the OpenAI /
Anthropic embedding APIs (already wired through
llama-index-embeddings-openai) when you need embeddings, or build a
custom template for local inference.What you’ll learn
- Picking
template="ai-agent"to skip frameworkpip installsteps - Verifying the agent-SDKs import cleanly inside the sandbox
- Running a minimal LangChain expression (without an LLM call) to prove the framework is wired up
Prerequisites
Code
- Python
- TypeScript