codefarm
HomeRoadmapsGuidesQuizzesMentorshipWhiteboardEbooksCodeSmash
Learn
RoadmapsQuizzesBlogsVideosGuides
Simulators
Why API GatewayWhy Load BalancerWhy Circuit BreakerKafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLALatency SimulatorCachingConsistent Hashing
Tools
UUID GeneratorDate & Time ToolsJWT DecoderText FormatterMind MapFun PuzzlesKids Learning
Profile
Back to Applied AI Engineering
🗂️
Phase 3

Context Engineering & Memory

What actually belongs in a context window, how short-term, long-term, and semantic memory differ, and how to keep token spend and coherence under control across long sessions.

1

Context Architecture & Assembly

What belongs in a context window — instructions, tool definitions, history, retrieved documents — and why the order you assemble them in changes model behavior.

context-engineeringcontext-windowcontext-assembly
2

Memory Systems: Short-Term, Long-Term & Semantic

Why a session's conversation buffer, a user's persisted preferences, and a searchable store of facts are three different memory mechanisms, not one.

memorysemantic-memorypersonalization
3

Token Budgeting, Compression & Selective Loading

The eviction, summarization, and compression strategies that keep a long-running agent coherent and cut its per-session token spend.

token-budgetingcompressioncontext-rot
codefarm

Learn backend engineering with clear roadmaps, practical tools, and interactive quizzes. From zero to production-ready.

Learn

  • Roadmaps
  • Guides
  • Blogs
  • Videos
  • Ebooks

Labs

  • Simulators
  • Quizzes
  • Whiteboard
  • JWT Decoder
  • UUID Generator
  • Toolbox

Simulators

  • Uptime SLA
  • Rate Limiters
  • Kafka Message Flow
  • Kafka Consumer Lag
  • Kafka Rebalance

Community

  • Cohorts
  • Testimonials
  • About
  • Contact

Legal

  • Terms & Conditions
  • Privacy Policy
  • Refund & Cancellation