AI Features3 min read

AI Chat assistant

Overview

The AI Chat assistant is a conversational coding helper that lives in the Spinini AI panel. Unlike Agent mode (which takes autonomous actions), Chat simply answers questions and provides code suggestions that you can review and apply yourself.

Opening Chat

Click the Chat tab in the Spinini AI panel. The panel shows a message history with a text input at the bottom.

What you can ask

  • Explain code — paste a snippet and ask "what does this do?"
  • Debug help — share an error message and ask what's causing it
  • Architecture advice — "how should I structure my Express app?"
  • Code review — "what are the issues with this function?"
  • Language / API questions — "how do I sort an array of objects in JavaScript?"
  • File context

    The assistant automatically receives:

  • The name and language of the file you have open
  • The currently selected text (if any)
  • This means you can ask "explain this function" without pasting it — the assistant already sees what you're looking at.

    Inserting suggestions

    When the assistant provides code, an Insert button appears below the snippet. Click it to place the code at your cursor position in the editor.

    Chat vs Agent

    ChatSpinini AI Agent
    Writes filesNoYes
    Runs commandsNoYes
    Answers questionsYesLimited
    Best forUnderstanding & adviceBuilding features

    Use Chat for learning and quick questions; use Spinini AI Agent when you want to build something.