Skip to main content

A textual-based terminal user interface application

Project description

autobots-tui

A terminal-based interface for the Autobots AI automation platform. Built with Textual and Typer, it provides a chat-style TUI and command-line access to manage and interact with Autobots actions, action graphs, and their runs.

Installation

pip install autobots-tui

This installs two commands:

  • autobots — Main entry point for all commands
  • autobots-tui — Shortcut to launch the TUI directly

Requires Python 3.13+.

Quick Start

# Login
autobots login

# Launch the interactive TUI
autobots tui

# Or use commands directly
autobots actions list
autobots runs list --status processing

Commands

autobots login                            Authenticate with email and password
autobots whoami                           Check authentication status
autobots tui                              Launch the interactive TUI

autobots actions list [--name N]          List actions
autobots actions get <id>                 Get action details

autobots runs list [--action-id ID]       List action runs (results)
autobots runs get <id>                    Get run details

autobots graphs list [--name N]           List action graphs
autobots graphs get <id>                  Get graph details

autobots graph-runs list [--graph-id ID]  List graph runs (results)
autobots graph-runs get <id>              Get graph run details

All list commands support --limit and --offset for pagination. Runs can be filtered by --status (processing, success, error, stuck, waiting).

Interactive TUI

Launch with autobots tui or autobots-tui. The TUI provides a full-screen chat interface for conversing with Autobots actions in real time.

  • Chat interface — Send messages to actions and receive streamed responses via SSE (Server-Sent Events)
  • Session management — Switch actions, continue existing runs, or start new conversations
  • Slash commands — All commands above work inside the TUI chat with a / prefix
  • Authentication — Login screen with email/password, automatic token refresh, secure local token storage
  • Theming — Dark/light mode toggle (Ctrl+D)
  • Keyboard shortcutsCtrl+C quit, Ctrl+L logout, Ctrl+D toggle theme

Slash Commands

Inside the TUI chat:

/use <action_id>              Switch to a different action
/continue <run_id>            Continue an existing conversation run
/new                          Start a new conversation (resets to default action)
/status                       Show current action and run IDs

/actions list                 List all actions
/runs list --status success   Filter runs by status
/graphs get <id>              View graph details
/help                         Show all available commands

Streaming

Actions execute asynchronously. The TUI streams status updates in real time via SSE and automatically fetches the final result on completion. Falls back to polling if the SSE stream ends without delivering a result.

Configuration

Stored at ~/.autobots-tui/config.json:

{
  "backend_url": "https://api.example.com",
  "log_level": "INFO",
  "theme": "dark",
  "refresh_interval": 5
}

Logs are written to ~/.autobots-tui/autobots_tui.log.

Development

git clone https://github.com/jetoslabs/autobots-tui.git
cd autobots-tui
uv sync
uv run autobots tui

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autobots_tui-0.0.3.tar.gz (128.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autobots_tui-0.0.3-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file autobots_tui-0.0.3.tar.gz.

File metadata

  • Download URL: autobots_tui-0.0.3.tar.gz
  • Upload date:
  • Size: 128.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for autobots_tui-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8458579672e4f2ecbd4bb7640c8a69ae2b9602f220966a54345f168e1fa8d5c8
MD5 352fb7d149b07b2e6aa7a3bd766c841c
BLAKE2b-256 de8851214466852b51b530d2fcd1461df9c1b6af5b8d7bccb5644b89477ba6ec

See more details on using hashes here.

File details

Details for the file autobots_tui-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: autobots_tui-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for autobots_tui-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a06bd01d0c94c3f88c22658c835308b81dc535b5a529afe9b66e6614fcceb737
MD5 51f75e93372e30f6856aecbae82f1e09
BLAKE2b-256 076f687e11d6cb76af93573ff9be6f21da3ec28a9f37c0558e93a273c93a2717

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page