# Usage

URL: https://docs.hanzo.ai/docs/dev/usage

> Learn how to use Hanzo Dev for interactive and non-interactive AI-powered development.

Hanzo Dev provides multiple modes of operation for AI-powered development assistance.

## Interactive Mode

Launch the TUI for conversational coding:

```bash
dev "Help me refactor this function"
```

## Non-Interactive Mode

Run single tasks headlessly:

```bash
dev exec "Add error handling to main.py"
```

## Auto Drive

Fully automated multi-turn task execution:

```bash
dev auto "Refactor the database module"
```

## Multi-Agent Orchestration

Fan out work across multiple AI agents:

```text
/plan <task>    # Create a comprehensive plan
/solve <problem> # Solve challenging problems
/code <task>    # Perform coding tasks
```

- [Non-Interactive Mode](https://docs.hanzo.ai/docs/dev/usage/exec): Run Hanzo Dev headless for single tasks and CI/CD pipelines.
- [Execution Policy](https://docs.hanzo.ai/docs/dev/usage/execpolicy): Control how Hanzo Dev executes commands with execution policy rules.
- [Slash Commands](https://docs.hanzo.ai/docs/dev/usage/slash-commands): All built-in slash commands available in the Hanzo Dev TUI.
- [Auto Drive](https://docs.hanzo.ai/docs/dev/usage/auto-drive): Fully automated multi-turn task execution in Hanzo Dev.
- [Agents & Subagents](https://docs.hanzo.ai/docs/dev/usage/agents): Configure and orchestrate external CLI agents and multi-agent workflows.
- [Settings](https://docs.hanzo.ai/docs/dev/usage/settings): Full-screen TUI settings panel for model, theme, agents, and more.
- [Custom Prompts](https://docs.hanzo.ai/docs/dev/usage/prompts): Create and manage custom prompt snippets in Hanzo Dev.
- [Skills](https://docs.hanzo.ai/docs/dev/usage/skills): Extend Hanzo Dev with reusable skill bundles.
- [JavaScript REPL](https://docs.hanzo.ai/docs/dev/usage/js-repl): Run JavaScript in a persistent Node-backed kernel with top-level await.
- [Advanced Usage](https://docs.hanzo.ai/docs/dev/usage/advanced): CI/CD integration, MCP configuration, verbose logging, and advanced workflows.
