Build Faster with OctoFriend – Free Open-Source AI Coding Assistant in Your Terminal

ManuAGI - AutoGPT TutorialsAbout 4 min readAug 16, 2025Watch original
THE SUMMARYAI-generated

Key Concepts

  • OctoFriend: An open-source, locally run coding assistant created by Synthetic Labs.
  • LLM API Compatibility: Works with OpenAI compatible, Anthropic compatible, and other LLM APIs.
  • Zero Telemetry: OctoFriend does not send your code anywhere, ensuring privacy.
  • Model Switching: Ability to switch between different language models (e.g., GPT-5, Claude 4) during a conversation.
  • Instruction Files: Can read instruction files named like octo.mmed, claw.mmed, and agents.mmed.
  • MCP Servers: Can be used with MCP servers by adding the right code.

Installation and Setup

  1. Installation: Install OctoFriend globally using the npm command: npm install -g octo-friend.
  2. API Key Setup: Set the API key for your chosen model (e.g., GPT-5) using the command: octo config set OPENAI_API_KEY <your_api_key>. Replace <your_api_key> with your actual API key.
  3. Launching OctoFriend: Start the coding assistant by typing octo friend in the terminal and pressing enter.

Using OctoFriend

  1. Initial Interaction: After launching, OctoFriend will greet you and ask what you want to build.
  2. Prompting: Provide a detailed prompt describing the desired outcome (e.g., "create a modern portfolio for an AI engineer").
  3. Plan Generation: OctoFriend generates a detailed plan based on your prompt, displayed in the terminal.
  4. Code Generation: OctoFriend automatically generates all the necessary code files for the project.
  5. Output: The generated code files are displayed directly in the terminal.

Features and Functionality

  • Model Switching: Pressing the ESC key allows you to access settings, including switching between different language models (GPT-5, GPT-4, Claude 4, etc.). You can also add new models from Synthetic, Anthropic, XAI, or custom models like Quen 3 coder.
  • Autofixing: Settings include enabling or disabling autofixing for JSON.
  • Privacy: OctoFriend has zero telemetry, ensuring that your code remains private, especially when used with privacy-focused LLM providers like Synthetic.
  • Multi-Turn Responses: Correctly handles multi-turn responses, particularly with thinking models like GPT-5 and Claude 4.

Example: Creating a Portfolio Website

  1. Prompt: The user provides the prompt "create a modern portfolio for an AI engineer."
  2. Plan: OctoFriend generates a plan outlining the structure and sections of the portfolio.
  3. Code: OctoFriend generates the HTML, CSS, and JavaScript code for the portfolio.
  4. Result: The generated portfolio includes a responsive navigation bar, a hero section, a skills section, publications, and contact details. It also features both dark and light modes.

Key Arguments and Perspectives

  • Efficiency: OctoFriend allows users to write code faster and more efficiently.
  • Accessibility: As an open-source tool, OctoFriend is accessible to a wide range of developers.
  • Privacy: The zero-telemetry design ensures that user code remains private.
  • Customization: The ability to switch between different language models and configure settings allows for a high degree of customization.

Notable Quotes

  • "Octo is a small but powerful sephalopod themed coding assistant."
  • "Octo has zero telemetry, meaning it doesn't send your code anywhere."

Technical Terms

  • LLM (Large Language Model): A type of AI model trained on a massive amount of text data, capable of generating human-like text.
  • API (Application Programming Interface): A set of rules and specifications that software programs can follow to communicate with each other.
  • Telemetry: The automated collection and transmission of data from remote sources to a receiving station for monitoring.
  • MCP Servers: Mentioned as a feature that Octo can be used with, implying a server setup for handling specific tasks or processes.

Logical Connections

The video begins by introducing OctoFriend as a new open-source coding assistant. It then explains how to install and set up the tool, followed by a demonstration of its capabilities. The example of creating a portfolio website illustrates the practical application of OctoFriend. The discussion of features like model switching and privacy highlights the tool's flexibility and security.

Synthesis/Conclusion

OctoFriend is a promising open-source coding assistant that offers a blend of efficiency, accessibility, and privacy. Its ability to generate code based on user prompts, switch between different language models, and maintain user privacy makes it a valuable tool for developers. While the generated code may not always be perfect, it provides a solid starting point for building complex projects.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.