Skip to content

AI Assistant

The AI Assistant is your personal expert for building HugoBlox and Hugo sites, available directly within VS Code. It helps you build faster by answering your questions, providing code snippets, and explaining complex concepts without you ever leaving your editor.

Instant Answers

Get immediate answers to your questions about HugoBlox blocks, Hugo theming, and content management.

Context Aware

The assistant understands your project structure and provides relevant advice based on your specific codebase.

Cited Sources

Every answer is grounded in the official documentation, with citations so you can verify and learn more.

Code Snippets

Generate code for new blocks, shortcodes, and configuration settings instantly.

The AI Assistant is designed to reduce your reliance on searching through documentation websites. Instead of switching context to a browser and searching for “how to change primary color” or “how to create a publication”, you can simply ask the assistant in the sidebar.

Common questions the Assistant can answer:

  • “How can I customize the color theme?”
  • “How can I create a new publication?”
  • “What is the difference between a widget and a block?”
  • “How do I add a custom script to the head of my site?”
  1. Install the Extension: Ensure you have the HugoBlox Studio extension installed in VS Code.

  2. Open the Dashboard: Click the HugoBlox icon in the VS Code activity bar (left sidebar).

  3. Go to Ask: Switch to the Ask tab in the dashboard.

  4. Ask a Question: Type your query in the input box and press Enter.

The AI Assistant is powered by advanced Large Language Models (LLMs) that require significant computational resources. To cover these usage costs and ensure the sustainability of the open-source HugoBlox project, this feature is available exclusively to Pro subscribers.

By upgrading to Pro, you:

  • Save Time: Get answers instantly without context switching.
  • Support Open Source: Contribute to the continued development and maintenance of the free, community-driven HugoBlox framework.
  • Gain Productivity: Focus on creating content and building your site rather than searching for docs.

Our community chooses HugoBlox because it is open source. However, providing a high-quality AI service involves real-world costs that an independent, community-driven project cannot absorb for free. Your Pro subscription directly enables us to provide these powerful tools.