# Agent engineering: Claude Code

> Source: <https://roman.pt/posts/claude-code-as-your-execution-environment/>
> Published: 2026-06-02 00:00:00+00:00

I started with LLMs as another third-party dependency. In my apps, code defined the logic, and LLM calls handled small things like summarizing or tagging input. Over time, as agents gained more of my trust, I started experimenting with turning the execution model inside out.

Instead of code that occasionally calls an LLM, I use the agent loop as the execution environment itself. The agent drives the flow, and deterministic code only shows up where I actually need hard logic: structured storage and external API calls. Instead of being the main driver, Python becomes a small fraction of the overall logic.
