RAG, Memory & Context

Natural Language Processing

Last updated 2026-07-31

What's new

2026-07-31
  • Agents (AI tools that help with tasks) are now being designed to serve groups, not just individuals, like a family or friends, which presents new challenges.
  • An example agent, Judith, has been tested in group settings for 8 months, handling tasks like organizing events and preserving privacy in conversations.
  • Group agents need special features, like a "guard" (security system) called Jetou, to protect against attacks and manage memory, as they interact with more data than single-user agents.
  • These agents can also learn and adapt over time, like helping a child learn and tracking their progress, showing potential for long-term group use.
2026-07-25
  • Some AI companies, like Anthropic, have temporarily pulled back powerful AI models (like Fable 5 and Mythos 5) due to safety concerns, showing that AI access can change suddenly.
  • Open-source AI models (free, community-developed AI) are improving and can handle many everyday tasks, reducing the need for expensive, closed-source AI (paid, company-owned AI).
  • You can use both open-source and closed-source AI tools (like Claude and Codeex) together to set up, maintain, and troubleshoot your AI systems, getting the best of both worlds.
  • Setting up a personal AI command center using open-source models on your own hardware (like a Mac Mini) can give you more control, privacy, and flexibility for various AI tasks.
2026-07-19
  • Thinking Machines Lab, a startup led by former OpenAI CTO Mira Murati, released a new AI model called Inkling, which is a large, open model designed to handle text, images, audio, and video.
  • Inkling is a "mixture of experts" transformer (a type of AI model) with 975 billion total parameters, but only around 41 billion activate for a typical prompt, making it faster and cheaper to run.
  • Unlike other AI models that focus on specific tasks, Inkling is a generalist, meaning it's designed to perform well across a wide range of tasks, including reasoning, coding, and following instructions.
  • Inkling is fully open, meaning anyone can download and use it for free, and it's designed to be efficient, matching the performance of other models while using fewer resources.
2026-07-13
  • Claude Code (a tool for building AI-powered automations) lets you work with local files and online services like Gmail, Slack, or a CRM (customer relationship management system), making it more powerful than Claude Chat (a simple AI chatbot).
  • Claude Code uses the same AI models (like Opus, Sonnet, or Haiku) as Claude Chat, but adds extra features for working with files and online services.
  • Claude Code is like an AI harness (a tool that helps you use AI models), which sits between the AI model (the engine) and you (the driver), helping you build automations and agents (AI systems that can do tasks for you).
  • The instructor, Nate, uses Claude Code to build and manage multiple businesses, showing how one person can do the work of a team with AI.
2026-07-07
  • AI is replacing many jobs, especially those done by junior workers, and this trend feels different from past economic downturns due to its existential nature (potentially changing the job market forever).
  • Don't believe everything you see online; negative news about job losses gets more attention, but it's not the full picture, so do your own research.
  • AI companies have reasons to hype up their products, so take their claims with a grain of salt and do your own research to understand how these tools are really evolving.
  • Many AI tools are still in development and not yet perfect, so don't be fooled by impressive demos—look for tools that have been proven to work well in real-world situations.
2026-07-04
  • AI models are getting smarter, but business owners aren't seeing big changes because they're not using the tools differently, not because the tools aren't powerful enough.
  • The real issue is that people aren't thinking deeply about their business problems before using AI, leading to generic, unhelpful answers.
  • AI tools like ChatGPT (a popular AI chatbot) are just prediction machines, not true thinkers, so they can't understand or solve your specific business problems without your input.
  • Focusing on better "prompting" (how you ask the AI questions) or advanced techniques like "loop engineering" (setting up automated processes) won't help if you're not first thinking critically about your business.
2026-06-28
  • Recursive language models (RLMs) are a new way to make AI tools (called agents) more reliable by using code and breaking down big tasks into smaller ones, like a tree with branches.
  • RLMs can handle huge amounts of information, even more than their own memory size, and can outperform larger models in complex reasoning tasks.
  • A team called Symbolica used RLMs to quickly solve a tough AI challenge, showing how powerful this new approach can be.
  • RLMs combine reasoning and code execution, making them a promising tool for creating trustworthy AI assistants that can work independently.
2026-06-25
  • Anthropic (an AI company) is preparing to release Claude Sonnet 5, a major upgrade to their main AI model, with a larger context window and better understanding of images and diagrams.
  • A new, more capable version of Mythos (another AI model by Anthropic) has emerged, showing improvements in reasoning, coding, and planning, but it's not yet publicly available.
  • OpenAI (another AI company) is expected to launch GPT-4.6 this week, with a new voice model called BDI (a tool for creating human-like speech) and improvements in design and front-end capabilities.
  • A new Japanese AI lab, Sakana, has unveiled a model called Fugu, which claims performance comparable to top models but is not yet at that level.
2026-06-22
  • A new system combines the best parts of existing memory tools (Hermes, Gbrain, Memarch) to create a more reliable AI assistant (Claude Code) that remembers past decisions and conversations, even from months ago.
  • This system cites sources for its answers, recalling exact words and dates from past conversations, inspired by Gbrain, ensuring trustworthy information.
  • It uses semantic search (vector databases) to find relevant information based on meaning, not just keywords, allowing it to recall contextually similar information, inspired by Memarch.
  • The system also includes scoped access, keeping client and project information isolated, so team members only see what they're supposed to, inspired by Gbrain's company brain idea.
2026-06-19
  • AI tasks can be sorted into categories like prediction (guessing outcomes), classification (sorting items into groups), regression (estimating numbers), and anomaly detection (finding odd patterns).
  • For text, use Natural Language Processing (NLP, understanding human language) and for images, use Computer Vision (understanding pictures), often with deep learning (complex pattern recognition).
  • AWS offers specific tools for different tasks: Amazon Comprehend (text meaning), Amazon Transcribe (speech to text), Amazon Polly (text to speech), and Amazon Rekognition (image understanding).
  • Choose simple rules or code over complex AI when exact results are needed, and opt for managed services (pre-built AI tools) over custom models (building your own AI) for most tasks.
2026-06-13
  • An AI agent (software that uses tools to achieve goals) is a key concept, and AWS services can help you build and use them without needing deep technical knowledge.
  • The exam focuses on practical AI applications, not complex coding or math, with a pass mark of 700 out of 1000, and no penalty for guessing.
  • Key topics include generative AI (28%), AI fundamentals (20%), and responsible AI (14%), with study time allocated based on these weights.
  • The exam tests your ability to choose the right AWS service for a given scenario, not just memorize service names, with a focus on understanding AI concepts and their applications.
2026-06-10
  • You can create a "second brain" (a digital system that organizes your notes and research) using AI, where you dump messy notes and articles, and the AI organizes them into clean, searchable pages.
  • This system has three folders: "raw" (for unorganized notes), "wiki" (for AI-organized content), and "outputs" (for AI-generated answers to your questions), plus a "rulebook" file (a plain text file that tells the AI how to organize your content).
  • The AI can also self-correct and update your "second brain" once a month, ensuring your information stays accurate and organized.
  • This process is simple and requires no coding or technical skills, just a basic understanding of how to create folders on your computer.
2026-06-07
  • DeepMind is exploring text diffusion, a new AI technique that starts with a clean text sequence, adds noise, and trains a neural network to remove the noise to generate clean text, similar to how image diffusion works.
  • Text diffusion can generate text faster than traditional methods (like those used in AI tools such as Claude or ChatGPT) because it processes entire blocks of text at once, rather than one word at a time.
  • One advantage of text diffusion is that it can attend to future tokens, allowing it to self-correct and spend more time on harder problems, but it may have lower throughput for large batches, making it more costly to serve.
  • DeepMind previously released a research demo called Gemini diffusion, which showed similar performance to other models like Gemini 2.0 flashlight, but with better latencies (speed).
2026-06-03
  • OmniShot Cut automatically detects cuts and transitions (scene changes like fades) in videos and timestamps them—great for video editors finding exact trim points.
  • Happy Horse is Alibaba's new free video generator (AI that creates videos from text), but it underperforms Sora (OpenAI's leading video AI) despite benchmark rankings.
  • MoCap Anything v2 converts regular video to 3D animation skeletons (digital pose information) for games and VFX (movie special effects)—much more stable than before.
  • AI can now work automatically (without your input) inside Photoshop and Blender (design software), handling repetitive editing and animation tasks you'd normally do yourself.

Key points

What it is

  • Natural Language Processing (NLP) is a type of AI that helps computers understand and respond to human language, like reading text or speech.
  • It learns from examples instead of following strict rules, allowing it to handle real-world language that's often messy and unstructured.
  • NLP acts as a bridge between humans and machines, enabling natural language control for building software and creating automations.

How to use it

  • Start with a clear goal and write down what you want the machine to accomplish in one sentence.
  • Define the step-by-step process manually, as if you were doing the task yourself, and explain it in natural language using markdown (plain text with # for headers and * for emphasis).
  • Use Retrieval Augmented Generation (RAG), which lets AI chat with your own data by parsing documents, generating embeddings (numerical representations of text meaning), and storing them in a vector database.
  • Follow the PIV loop: Plan, Implement, Validate. Plan your goal, let the AI implement it, then validate the output. Repeat to improve the AI and your workflow.

Watch out for

  • AI can sound confident but be completely wrong, a problem called hallucination (the AI makes up details that sound convincing but aren’t true). Always double-check outputs.
  • AI doesn't understand context like humans do. Explain the why behind your instructions, not just the what, and give examples to help the AI understand your goals.
  • Avoid letting the AI self-edit or write memory files without oversight, as it can get too bloated or add unnecessary rules. Also, avoid overcomplicating your prompts.

Tools named

  • Claude Code (a tool that reads plain-English requests and breaks them down into steps to build software or create automations).

Lesson 1: What is Natural Language Processing and why it matters

Natural Language Processing (NLP) is the branch of AI that helps computers understand, interpret, and respond to human language. Instead of following step-by-step instructions like traditional software, NLP systems learn from thousands of examples—like showing a machine countless finished dishes so it can write its own recipe. This allows AI to handle messy, real-world text and speech that doesn't follow a strict format.

For AI development, NLP is a game-changer because it acts as the primary interface between humans and machines. Rather than needing to learn coding languages or complex menus, developers can use natural language control to build software, create AI agents, or design workflows. For instance, you can write a plain-English request to turn a natural language instruction into a working application. Tools like Claude Code read that request and break it down into steps, similar to following a markdown document with headers and bullet points. This makes AI tooling accessible to beginners and speeds up development for experts.

NLP also matters because it powers the monitoring and optimization needed after an AI system is deployed. Since AI is not deterministic (it may veer off path), NLP helps you evaluate how the system is being used, fix edge cases, and make small improvements over time. In short, NLP transforms vague human requests into concrete actions, letting one person create and refine powerful automations that can run scripts, call APIs, and even manage sub-agents. Without NLP, modern AI would remain a confusing black box instead of a practical, conversational assistant.

Sources

Lesson 2: How to use Natural Language Processing: step-by-step

To use Natural Language Processing (NLP) step by step, start with a clear goal. Write down what you want the machine to accomplish in one sentence. This is your output target. Next, define the step-by-step process manually. Ask yourself: if you had to do this yourself, exactly what would you look at and in what order? For example, if you want an AI to analyze your company’s writing style, you would feed it common phrases and examples and let it create a writing guide. The AI reads the text, identifies patterns, and understands meaning by analyzing word choice and tone.

For documents, you can use Retrieval Augmented Generation (RAG), which lets AI chat with your own data. First, you parse your PDFs and chunk the text into small pieces. Then the system generates embeddings (numerical representations of text meaning), stores them in a vector database, and writes retrieval logic so it can find relevant chunks when you ask a question.

Write your instructions in markdown (plain text with # for headers and * for emphasis) so the agent knows what’s important. Do not write code yourself. Instead, explain what good looks like in natural language. For instance, you can say "make it faster" or "add a manual review step" and the AI will implement the change. The key is planning and validating while delegating implementation to the AI. This is called the PIV loop: Plan, Implement, Validate. Every cycle makes the AI smarter and your workflow better.

Sources

Lesson 3: Best practices and pitfalls

Machines don’t read meaning the way humans do. When you type a prompt, an AI converts your words into tokens (small chunks of text, like “ham,” “burr,” “g”). It then predicts the next likely token based on patterns in its training data (the data it learned from). This means the AI can sound perfectly confident while being completely wrong — a problem called hallucination (the AI makes up details that sound convincing but aren’t true). Always double-check outputs.

A common pitfall is assuming the AI understands context the way you do. Large language models (LLMs, like Claude or GPT) do not know your business or your specific goals unless you tell them. Explain the why behind your instructions, not just the what. Give two or three examples and explain your reasoning. If you skip this, you’ll have to repeat yourself every few messages.

Another mistake is letting the AI self-edit or write memory files without oversight. If you create a file that lets the AI learn and evolve on its own, check it frequently — otherwise it can get too bloated or add unnecessary rules. Similarly, avoid overcomplicating your prompts. Instead of manually managing how much text the AI can remember (its context window), just state your goal clearly in one sentence, then list the step-by-step process. If you had to do the task manually, what would you look at and in what order? That structure helps the AI produce stable, predictable outputs.

Finally, use the thinking budget wisely. When making big decisions that affect your whole system, trigger a deep thinking mode (allocating maximum tokens before the AI responds). Don’t use it for simple fixes.

Sources