> ## Documentation Index
> Fetch the complete documentation index at: https://termmate.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TermMate Agent Guide

> TermMate is an agentic AI coding assistant for VS Code and Sublime Text. Connect Claude Code, Codex, or Pi Agent to your editor and resolve complex tasks without leaving your workspace.

<div className="flex w-full flex-col gap-10 max-w-5xl mx-auto px-4 md:px-8 lg:px-12 py-10 lg:py-16">
  <div className="flex flex-col gap-3">
    <h1 className="text-[40px] font-bold leading-tight tracking-tight text-gray-900 dark:text-gray-50">
      TermMate Agent Guide
    </h1>

    <p className="text-balance text-lg leading-relaxed text-gray-600 dark:text-gray-400">
      TermMate is an agentic coding assistant native to VS Code and Sublime Text. It connects your editor directly to Claude Code, Codex, and Pi Agent — letting you explore codebases, execute multi-file changes, and run autonomous tasks without switching windows.
    </p>

    <p className="text-balance text-lg leading-relaxed text-gray-600 dark:text-gray-400">
      Agents are tied to your current window and folder. They understand the context of your project and maintain session history across restarts — so you can pick up exactly where you left off. Switch between agent providers at any time to bring the best model for your specific task.
    </p>
  </div>

  <div className="grid grid-cols-1 gap-4 sm:grid-cols-2">
    <Card title="Setup TermMate" href="/docs/setup/prerequisites">
      Install Claude Code or Codex CLI and launch your first agent session.
    </Card>

    <Card title="Directory & Projects" href="/docs/usage/dir-and-project">
      Set the working directory and add extra project roots for monorepos and shared libraries.
    </Card>

    <Card title="Basic Usage" href="/docs/usage/basic-agent-usage">
      Switch agents, control tool-use permissions, and enable Plan Mode for safe complex tasks.
    </Card>

    <Card title="Chat with File or Selection" href="/docs/usage/chat-with-file">
      Send a file or highlighted code directly into the agent context from the editor.
    </Card>

    <Card title="Work with Sessions" href="/docs/usage/sessions">
      Clear, resume, or rewind conversations without losing your editor state.
    </Card>
  </div>

  <div className="border-t border-gray-200 dark:border-gray-800" />

  <div className="flex flex-col gap-4">
    <h2 className="text-xl font-semibold text-gray-900 dark:text-gray-50">Editor Integrations</h2>

    <div className="grid grid-cols-1 gap-4 sm:grid-cols-2">
      <Card title="VS Code" href="/docs/vscode/index">
        Full-featured agent interface in an editor tab — no sidebar required.
      </Card>

      <Card title="Sublime Text" href="/docs/sublime/index">
        The reference implementation with native EditView performance.
      </Card>
    </div>
  </div>
</div>
