Metadata-Version: 2.4
Name: tunacode-cli
Version: 0.1.3
Summary: Your agentic CLI developer.
Project-URL: Homepage, https://tunacode.xyz/
Project-URL: Repository, https://github.com/alchemiststudiosDOTai/tunacode
Project-URL: Issues, https://github.com/alchemiststudiosDOTai/tunacode/issues
Project-URL: Documentation, https://github.com/alchemiststudiosDOTai/tunacode#readme
Author-email: larock22 <noreply@github.com>
License: MIT
License-File: LICENSE
Keywords: agent,automation,cli,development
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Requires-Python: <3.14,>=3.11
Requires-Dist: click<8.2.0,>=8.1.0
Requires-Dist: defusedxml
Requires-Dist: pathspec>=0.12.1
Requires-Dist: prompt-toolkit<4.0.0,>=3.0.52
Requires-Dist: pydantic-ai<2.0.0,>=1.18.0
Requires-Dist: pydantic<3.0.0,>=2.12.4
Requires-Dist: pygments<3.0.0,>=2.19.2
Requires-Dist: rich<15.0.0,>=14.2.0
Requires-Dist: textual-autocomplete>=4.0.6
Requires-Dist: textual<5.0.0,>=4.0.0
Requires-Dist: tiktoken<1.0.0,>=0.12.0
Requires-Dist: typer>=0.15.0
Provides-Extra: dev
Requires-Dist: autoflake>=2.0.0; extra == 'dev'
Requires-Dist: bandit; extra == 'dev'
Requires-Dist: build; extra == 'dev'
Requires-Dist: dead>=1.5.0; extra == 'dev'
Requires-Dist: hatch>=1.6.0; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Requires-Dist: textual-dev; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Requires-Dist: unimport>=1.0.0; extra == 'dev'
Requires-Dist: vulture>=2.7; extra == 'dev'
Description-Content-Type: text/markdown

# tunacode-cli

A TUI code agent.

## Interface

![TUI Interface](docs/images/tui.png)

The Textual-based terminal user interface provides a clean, interactive environment for AI-assisted coding.

## Theme Support

The interface supports multiple themes for different preferences and environments.

![Theme](docs/images/theme.png)

Customize the appearance with built-in themes or create your own color schemes.

## Model Setup

Configure your AI models and settings through the provided setup interface.

![TUI Model Setup](docs/images/tui-model-setup.png)

**Note:** TunaCode has full bash shell access. This tool assumes you know what you're doing. If you're concerned, run it in a sandboxed environment.

## v0.1.1 - Major Rewrite

This release is a complete rewrite with a new Textual-based TUI.

**Upgrading from v1?** The legacy v1 codebase is preserved in the `legacy-v1` branch and will only receive security updates.

## Requirements

- Python 3.11+

## Installation

```bash
uv tool install tunacode-cli
```

## Quick Start

1. Run the setup wizard to configure your API key:

```bash
tunacode --setup
```

2. Start coding:

```bash
tunacode
```

## Configuration

Set your API key as an environment variable or use the setup wizard:

```bash
export OPENAI_API_KEY="your-key"
# or
export ANTHROPIC_API_KEY="your-key"
```

Config file location: `~/.config/tunacode.json`

## Commands

| Command  | Description             |
| -------- | ----------------------- |
| /help    | Show available commands |
| /model   | Change AI model         |
| /clear   | Clear conversation      |
| /compact | Compress context        |
| exit     | Quit tunacode           |

## License

MIT
