π Python Essentials (goal: productive for scripting + AI)
You donβt need Python mastery. You need enough to use the AI ecosystem (LangGraph, evals, notebooks), where Python is the first-class citizen.
Checklist
- Syntax, comprehensions, dataclasses, type hints, f-strings
- Virtual envs + package management with uv (modern and fast);
pyproject.toml -
asynciobasics (async/await, gather), since AI SDKs are async-heavy - Pydantic (data validation), used everywhere in AI tooling
- FastAPI basics (to expose a Python agent as a service)
- Jupyter notebooks for experiments
-
requests/httpx,pytest
π§ͺ Labs (π’ warm-up β π‘ core β π΄ hard β β« boss)
- π’ A uv project + pytest + ruff
- π‘ FastAPI service with Pydantic models + SSE streaming
- π‘ asyncio: fan out 50 HTTP calls with a semaphore; compare with Go
π§ Cognitive tasks
- Transfer: map Python async concepts to Go goroutines and Java virtual threads
π°οΈ Orbit integration
- orbit-agents (LangGraph) and orbit-evals are Python services
Go deeper
π§© AI & Agent Patterns
Resources
- Official Python tutorial Β· Fluent Python 2e (reference for later) Β· FastAPI docs