Codele / LLMs, RAG and agentic AI
Planning and memory
Big goals need more than one step. An agent writes a plan, ticks it off, fixes it when something fails, and keeps notes it can look up later. Pick the step that fails.
- A plan is a to-do list the agent writes first. It ticks items off as they are done.
- When a step fails, a good agent does not give up or pretend. It revises the plan and carries on.
- Short-term memory is the conversation inside the context window. It is small, and old messages fall out.
- Long-term memory is notes saved outside the window and fetched when relevant, much like the search in RAG.
- A model writes the plan, so a plan can be wrong or miss steps, and a note can be wrong or out of date. People should check important ones. This toy uses fixed steps.
Loading the playable lesson…