---
title: AI SDK TUI
description: Reference documentation for @ai-sdk/tui
collapsed: true
---

# AI SDK TUI

[`@ai-sdk/tui`](/docs/agents/terminal-ui) provides a terminal UI for running
AI SDK agents locally. It is designed for `ToolLoopAgent` instances that can run
from free-form terminal input.

<IndexCards
  cards={[
    {
      title: 'runAgentTUI',
      description: 'Run a ToolLoopAgent in an interactive terminal interface.',
      href: '/docs/reference/ai-sdk-tui/run-agent-tui',
    },
  ]}
/>
