cd /news/ai-agents/the-cornetto-ice-cream-cone-framewor… · home topics ai-agents article
[ARTICLE · art-135080] src=hazn.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

The Cornetto Ice Cream Cone Framework for Prompting

A prompting framework called the Cornetto Ice Cream Cone Framework, also referred to as the "Four C" framework, organizes prompts for medium-to-large agent tasks around four elements: context ("the why"), constraints ("the how, and the how not"), and a control loop that is deliberately kept independent of the other components, typically implemented with subagents using a fresh context window or static checks such as red-green tests. The framework's author recommends embedding a short version in the system prompt, noting that research tasks and one-off questions or simple parsing jobs do not fall under the medium-to-big task category.

read1 min views1 publishedSep 20, 2026
The Cornetto Ice Cream Cone Framework for Prompting
Image: source

Four C’s for clarity on complex tasks

Here’s a simple framework I use for improving the performance of your fav agent on (semi-)complex tasks:

I think it’s all mostly obvious how the four C’s improve your prompt, which means I won’t explain each part of the framework. The only subtle part is the control loop. Designing the control loop to be more “independent” is supremely useful; in practice it means the control loop doesn’t know about the other three C’s. I usually use AI agents with a fresh context window for this. But the independent design principle can materialize in all sorts of things: static tests in programming, a screenshot of the website the agent is working on, or, if you want, a human in the loop.

Maybe, just maybe, you can let the control loop know about some of the constraints.

I never go overboard with my prompts, and I think the framework is simple enough to scale well with model intelligence.

You can also call it the “Four C” framework.

If you think you will forget about this anyway, put something like this in the system prompt:

Medium to big tasks are tasks that are not one off, aren't a simple question or something like filling out a form or parsing a pdf, it's building something new or synthesizing multiple things. Research doesn't fall under this.

## context
the why

## constraints
the how, and the how not

## control (aka, the loop)
the controlling, importantly, the control doesn't know about the context and constraints, usually subagents or more static control like red-green tests.
── more in #ai-agents 4 stories · sorted by recency
── more on @cornetto ice cream cone framework 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-cornetto-ice-cre…] indexed:0 read:1min 2026-09-20 ·