Cline v3.13 UPDATE: Fully FREE Autonomous AI Coding Agent! (Memory Bank, Slash Commands)

By WorldofAI

Share:

Key Concepts:

  • Autonomous AI Coding Assistant (Klein)
  • Memory Bank (structured documentation system)
  • Custom Instructions/Rules
  • Slash Commands
  • Message Editing and Checkpoints
  • Model Integrations (OpenAI, Azure, Google Gemini, Quen)
  • MCPs (Managed Code Providers)
  • Token Saving
  • Persistent Context

1. Introduction of Klein v3.13.2

  • Klein is an autonomous AI coding agent integrated within IDEs like Cursor and VS Code.
  • It can create, edit files, run terminal commands, browse the web, and handle complex development tasks.
  • Version 3.13.2 introduces a new memory bank, model integrations, UX improvements, and slash commands.

2. Mammoth AI Sponsorship

  • Mammoth AI is a platform that brings multiple AI tools together in one place.
  • It offers access to text, image, web searching, and reasoning models.
  • It integrates with image generation models like Midjourney, DALL-E, and Stable Diffusion.
  • Users can set up custom Mammoth instances with tailored context.
  • Features include image/file upload, one-click reprompting, multi-device support, web search, and vocal chat.
  • Project Mammoth is available for $10/month.

3. Toggling Klein Rules

  • Klein now allows full control over custom instructions via a new "client rules" popover.
  • Users can switch between rule files (e.g., memory bank, React best practices) with a click.
  • Klein can generate rules based on user requests or feedback.
  • This feature enhances precision and adaptability.

4. Slash Commands

  • The /new task slash command starts a new task while carrying over relevant context.
  • Slash commands enable quick actions.
  • The jump-to-client chat input feature allows fast responses from Klein.

5. Message Editing and Checkpoints

  • Users can edit previous messages by double-clicking them.
  • Klein uses a checkpoint system to roll back the workspace to a previous state.
  • This provides an "infinite undo" button for exploring different approaches.

6. Additional Improvements

  • Sending messages with options combines typed input with suggested actions.
  • Jump to chat input focuses on the Klein chat from anywhere via the command palette.
  • New model support includes OpenAI 016, Azure DeepSeek, Google Gemini-based URL support, and Quen models.
  • Other improvements include MCP image responses, smarter search/replace, terminal upgrades, and bug fixes.
  • A new compact command has been added to the slash command palette.
  • Prompt caching has been added to Gemini models in Klein.

7. Klein Memory Bank

  • The memory bank is a structured markdown-based system prompt for maintaining project memory across sessions.
  • It allows Klein to rebuild full context by reading documented files.
  • Key benefits include persistent context, self-documenting workflow, and scalability.
  • It saves tokens by allowing Klein to remember projects using structured documentation.

8. Setting up the Memory Bank

  • Install VS Code and the Klein extension.
  • Copy the memory bank custom instruction from the provided documentation.
  • Paste the custom instruction into either the custom instructions section in settings or a new global rule in the manage client rules section.
  • Create a memory bank folder within the project root.
  • Create markdown files (e.g., project brief) within the memory bank folder.
  • Use the initialize memory bank command to start the memory bank.
  • Klein will use the files to maintain memory across sessions.
  • Commands to update the memory bank:
    • initialize memory bank: to state the memory system for a new project
    • update memory bank: to update all the files based on recent progress

9. Conclusion

  • The Klein v3.13.2 update introduces significant enhancements, particularly the memory bank feature, which improves accuracy, saves tokens, and provides structured memory for larger codebases. The new slash commands, message editing, and model integrations further enhance Klein's versatility and usability as an autonomous AI coding assistant.

Chat with this Video

AI-Powered

Load the transcript when you're ready to chat so the initial page stays lighter.

Ready to summarize another video?

Summarize YouTube Video