Agentic AI
Overview
Teaching: 20 min
Exercises: 20 minQuestions
How do I quickly develop and deploy agents in Kubernetes?
How do multi-agent systems communicate?
Objectives
Learn about developing AI agents
Learn about connecting AI agents to MCP servers
Learn about deploying AI systems to Kubernetes
Agentic AI
Openrouter
- Sign up for an OpenRouter account here
- New users receive a small free allowance
- Pick one of the free models listed here, e.g.
google/gemma-4-31b-it:free,openai/gpt-oss-20b:freeornvidia/nemotron-3-super-120b-a12b:free.
Currency Agent
git clone https://github.com/srbdev/adk_currency_agent.git
cd adk_currency_agent
cp .env.example .env
vim .env
- Update
OPENAI_API_BASEwithhttps://openrouter.ai/api/v1 - Update
OPENAI_API_KEYwith your key - Update
OPENROUTER_MODELwith your model ID
uv sync
uv run currency_agent
Client
git clone https://github.com/srbdev/currency_client.git
cd currency_client
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
uv run python cli.py --url http://localhost:10999
Enter a user prompt to make sure that the backend agent is correctly bootstrap with the LLM.
Kubernetes
- Update
deployment.yamlwith env variables (as done in previous steps) - Deploy agent
kubectl create namespace NAME
kubectl apply -f deployment.yaml -n NAME
kubectl port-forward svc/currency-agent-service 10999:10999 -n NAME
- Restart client
MCP
git clone https://github.com/srbdev/currency_mcp.git
cd currency_mcp
kubectl apply -f deployment.yaml -n NAME
Update Agent
git checkout with-remote-mcp
# If `git` complains about overwritting changes in `deployment.yaml`
git stash
git checkout with-remote-mcp
git stash pop
# make sure no conflicts in `deployment.yaml`
- Update
MCP_SERVER_HTTP_URLwith Service IP address from MCP server, using the formathttp://IP:8080/mcp
kubectl get services -n NAME
# and copy `CLUSTER-IP` for `currency-mcp-service` row
kubectl delete deployments/currency-agent -n NAME
kubectl apply -f deployment.yaml -n NAME
kubectl port-forward svc/currency-agent-service 10999:10999 -n NAME
- Restart client
Example Prompts
Find the list of supported EU currencies and show the exchange rate with USD in markdown format
how much is 10 USD in CAD?
how did the EUR value fluctuate against USD from jan 1st, 2026 to now?
Key Points