Riley’s Notes

Understand the pieces.
Build the whole.

Concepts, practical notes, and tutorials on Python services and AI agents. A place to work through how things fit together.

Explore the notes
The collection

All notes05

Small explanations. Useful connections.

DeploymentConcept

How a Python web service actually runs

Trace a request through the proxy, application server, and application. Then examine workers, shared state, and streaming connections.

AgentsConcept

Agent harnesses and guardrails

Separate the execution loop from the controls around it. See where policies are checked, how failures branch, and why enforcement timing matters.

A suggested starting point

Follow the system,
one layer at a time.

Start with what an application needs, then trace how it runs and reaches production. Explore agent execution as a separate branch.

Four steps · Read at your own pace
  1. 01PythonPython dependencies, from declaration to deployment
  2. 02EnvironmentDocker and virtual environments solve different problems
  3. 03DeploymentHow a Python web service actually runs
  4. 04DeploymentSource deployments, container images, and CI/CD