Skip to main content

Textual TUI application for Axio

Project description

axio-tui

PyPI Python License: MIT

Textual TUI application for axio.

A full-featured terminal chat interface with session management, a plugin system for transports and tools, and a built-in SQLite context store. Pick your LLM backend, load your tools, and start chatting - all from the terminal.

Features

  • Plugin system - transports, tools, and guards discovered automatically via entry points
  • Session management - persistent SQLite-backed conversations; fork, switch, and resume sessions
  • Streaming UI - text and tool calls rendered incrementally as they arrive
  • Multi-transport - switch between Anthropic, OpenAI, Nebius, Codex, or any registered backend at runtime
  • Sub-agent support - the subagent tool lets the agent spin up nested agent sessions
  • Vision - vision tool for image analysis (with compatible models)
  • Serveable - textual-serve support for browser-based access

Installation

Minimal (core TUI only, bring your own transport):

pip install axio-tui

With everything:

pip install "axio-tui[all]"

Pick what you need:

pip install "axio-tui[openai,local,mcp]"
Extra Installs
anthropic axio-transport-anthropic
openai axio-transport-openai
codex axio-transport-codex
local axio-tools-local
mcp axio-tools-mcp
guards axio-tui-guards
all Everything above

Quick start

pip install "axio-tui[openai,local]"
axio

On first launch, open Settings (s) to configure your API key and model. Sessions are stored in ~/.local/share/axio/.

Architecture

axio-tui
├── App (Textual)
│   ├── ChatScreen        - message list, input, streaming
│   ├── SessionScreen     - session list and management
│   └── SettingsScreen    - per-plugin configuration
├── SQLiteContextStore    - persistent conversation history
├── TransportRegistry     - discovers axio.transport entry points
└── Plugin system
    ├── ToolsPlugin       - wraps axio.tools.settings providers
    └── PermissionGuard   - wraps axio.guards providers

Built-in tools

These tools are always available regardless of installed plugins:

Tool Description
confirm Ask the user a yes/no question (for guard prompts)
status_line Update the TUI status bar from within the agent
subagent Spawn a nested agent with its own tools and context
vision Analyse an image file (requires a vision-capable model)

Plugin entry points

axio-tui discovers plugins automatically when installed packages declare:

# Transport backend
[project.entry-points."axio.transport"]
openai = "axio_transport_openai:OpenAITransport"

# Tool group with settings screen
[project.entry-points."axio.tools.settings"]
docker = "axio_tools_docker.plugin:DockerPlugin"

# Simple tools (no settings)
[project.entry-points."axio.tools"]
shell = "axio_tools_local.shell:Shell"

# Permission guards
[project.entry-points."axio.guards"]
path = "axio_tui_guards.guards:PathGuard"

Serve over HTTP

textual-serve axio_tui.__main__:app
# Open http://localhost:8000 in your browser

Part of the axio ecosystem

axio · axio-transport-anthropic · axio-tui-guards · axio-tools-local · axio-tools-mcp · axio-tools-docker

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

axio_tui-0.9.7.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

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

axio_tui-0.9.7-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file axio_tui-0.9.7.tar.gz.

File metadata

  • Download URL: axio_tui-0.9.7.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axio_tui-0.9.7.tar.gz
Algorithm Hash digest
SHA256 04f18a2a1c6dd000fb1b85261530519d8b911fcbf4502370250cf9c0b69a19b7
MD5 01849f4a0c757f9d2c7b2dfb53ed19f2
BLAKE2b-256 e4b013408ce4f555b38cdf072bf28539614d5b209cd53426aff08f6c1b01dce8

See more details on using hashes here.

Provenance

The following attestation bundles were made for axio_tui-0.9.7.tar.gz:

Publisher: publish.yml on mosquito/axio-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axio_tui-0.9.7-py3-none-any.whl.

File metadata

  • Download URL: axio_tui-0.9.7-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axio_tui-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d6053afab8712f641fd3825ce76a65cbc0589d7b9e26d7c0e7c83c4957c8a4e6
MD5 c3c9cf2c70db68b3cc82e577054cf149
BLAKE2b-256 6bbb418827ea4d9718e72ea110ff1678f77c71e312f1dd2a268772a50465c3d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for axio_tui-0.9.7-py3-none-any.whl:

Publisher: publish.yml on mosquito/axio-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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