Murdered an interview with ICM
I had 3 hours to build the AI Shopping Assistant of a Shoe Store Website for an AI Engineer interview.
The challenge was intentionally oversized to test architectural judgment and prioritization under pressure.
Needless to say, ICM killed it.
A. The 10-Minute Blueprint
From a single prompt structured around ICM principles, I generated a modular context architecture. Rather than building a black-box chain, the entire agent logic was broken into explicit, file-based stages:
  • 01_route: Intercepts user intent and determines required execution paths.
  • 02_search: Autonomously gathers external data, stock levels, and size guides.
  • 03_answer: Formulates user-facing responses adhering to specific channel tones.
  • 04_log: Records structured audit trails for system inspection.
B. Business Rules and Mock Datasets
With the structure locked in, I plugged in mock datasets for the shoe inventory and the shoe size conversions (that the tools would query) and isolated business constraints into clear, human-readable markdown files.
Because business logic and tones lived entirely in explicit text layers rather than hardcoded scripts, swapping rules required simple text updates without touching code.
I used the remaining time to add new tools the agent could call (eg.: currency conversion), implement better search methods, improve the logging system, and extend the data set.
C. The Live Interview Experience
When the review started, the interviewer didn't just review static code; we ran live tests using complex queries.
When asked intricate questions involving inventory checks across sizing boundaries and currency conversions, the interviewer watched Stage 02 autonomously loop, executing tools until it gathered every piece of required context before allowing Stage 03 to draft the final response.
Seamless Adaptability: We modified output formatting and added new business constraints live in seconds simply by altering context files, proving how easy system maintenance becomes under ICM.
D. The Takeaway
By treating context as structured architecture rather than a massive single prompt, I delivered a fully functional, highly inspectable agent prototype in under three hours. The interviewer was blown away not just by the speed of execution, but by experiencing first-hand how readable and resilient the methodology is when pushed to its limits.
40
47 comments
Nuno Silva
5
Murdered an interview with ICM
Clief Notes
skool.com/cliefnotes
What we give away free beats most paid courses. Build durable AI systems with a Marine vet and Edinburgh researcher. 40+ lessons, growing.
Leaderboard (30-day)
Powered by