Urgent.News

What's breaking now, across thousands of outlets.

AI

Presentation: Beyond Prompting: Context Engineering for Production-Grade AI

Ricardo Ferreira discusses moving beyond simple prompt engineering to build production-grade AI applications. He shares practical architectural strategies for integrating long-term and short-term memory using Redis, managing LLM token limits via summarization, mitigating context rot with reranking and semantic caching, and controlling exponential API costs under strict latency constraints. By…

Ricardo Ferreira, a Principal Developer Advocate at Redis, presented "Beyond Prompting: Context Engineering for Production-Grade AI" at QCon AI. He discussed his journey in building a production-grade AI application using Redis and LLMs.

Ferreira began by sharing his background in software engineering and developer education before moving into solution architecture. He introduced the Agent Memory Server (AMS) project, an open-source memory layer on top of Redis, designed to support both short-term and long-term memory for building natural human-like conversations.

The AMS project was initially developed to stress-test the open-source memory layer. Ferreira explained how he used an Alexa skill called My Jarvis, backed by a Lambda function and the LangChain4j framework, to test the AMS. My Jarvis was designed to answer complex questions using an LLM like OpenAI.

Ferreira highlighted the challenges faced when developing Alexa skills, such as the 8-second timeout for responses. Despite this, he found that the LLM could respond to a wide range of questions, but the human-like interaction was the key to a satisfying user experience. He discussed issues like context poisoning and context distraction, which occurred when too much information was provided to the LLM, leading to poor responses.

The presentation covered practical strategies for integrating long-term and short-term memory in AI applications, managing LLM token limits, mitigating context rot with reranking and semantic caching, and controlling API costs under strict latency constraints. Ferreira emphasized the importance of storytelling in understanding the practical applications and challenges of building production-grade AI systems.

Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at infoq.com →

More in AI

Real-Time Monitoring for AI Agents: Beyond Log Streaming

Most agent monitoring is "log everything and grep later." That's not monitoring — that's archaeology. What We Actually Need Live execution view — Which agent is running right now?

  • Real-time monitoring shifts from log streaming to live execution views
  • Execution traces generated in structured JSON format with key metrics
  • WebSocket dashboard displays active agents, queue depths, error rates

Stop Fighting Cursor: Treat It Like a Junior Dev, Not a Magic Wand

I installed Cursor about two weeks ago with high expectations. I wanted to build a side project in a weekend. Instead, I spent the first day deleting code that the AI generated.

  • Treat Cursor like a junior developer, not a magic wand.
  • Break down complex tasks into smaller, manageable functions.
  • Use Cursor to amplify your skills, not replace them.

More from Wednesday 2 September →