Metadata-Version: 2.4
Name: mtmai
Version: 0.10.0
Summary: Python CLI and FastAPI runtime for gomtm AI automation integrations.
Project-URL: Homepage, https://github.com/codeh007/mtmai
Project-URL: Repository, https://github.com/codeh007/mtmai
Project-URL: Issues, https://github.com/codeh007/mtmai/issues
Author: codeh007
License-Expression: MIT
License-File: LICENSE
Keywords: automation,cli,fastapi,gomtm,hermes
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <3.13,>=3.12
Requires-Dist: aiohttp-retry<3,>=2.8.3
Requires-Dist: aiohttp<4,>=3.11.11
Requires-Dist: fastapi<1,>=0.104.0
Requires-Dist: hermes-agent<0.14.0,>=0.13.0
Requires-Dist: httpx<1,>=0.28.1
Requires-Dist: opentelemetry-api<=1.37.0,>=1.37.0
Requires-Dist: pydantic-settings<3,>=2.0
Requires-Dist: pydantic<3,>=2.12.5
Requires-Dist: python-dotenv<2,>=1.2.1
Requires-Dist: pyyaml<7,>=6.0.2
Requires-Dist: requests<3,>=2.33.0
Requires-Dist: rich<15,>=13.9.4
Requires-Dist: supabase<3,>=2.27.0
Requires-Dist: tenacity<10,>=9.1.4
Requires-Dist: typer<1,>=0.13.1
Requires-Dist: uvicorn[standard]<1,>=0.24.0
Provides-Extra: all
Requires-Dist: adbutils>=2.8.11; extra == 'all'
Requires-Dist: appium-python-client>=5.1.1; extra == 'all'
Requires-Dist: edge-tts<8,>=7.2.7; extra == 'all'
Requires-Dist: fake-useragent>=2.0.3; extra == 'all'
Requires-Dist: moviepy>=2.2.1; extra == 'all'
Requires-Dist: mtm-vmossdk<0.2.0,>=0.1.0; extra == 'all'
Requires-Dist: opencv-python~=4.10.0.84; extra == 'all'
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.36.0; extra == 'all'
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.58b0; extra == 'all'
Requires-Dist: opentelemetry-instrumentation-httpx>=0.58b0; extra == 'all'
Requires-Dist: opentelemetry-instrumentation-requests>=0.58b0; extra == 'all'
Requires-Dist: opentelemetry-sdk<=1.37.0,>=1.37.0; extra == 'all'
Requires-Dist: playwright>=1.55.0; extra == 'all'
Requires-Dist: pydub>=0.25.1; extra == 'all'
Requires-Dist: pytubefix>=8.13.1; extra == 'all'
Requires-Dist: rebrowser-playwright>=1.49.1; extra == 'all'
Requires-Dist: selenium>=4.31.0; extra == 'all'
Requires-Dist: uiautomator2>=3.2.10; extra == 'all'
Requires-Dist: undetected-playwright>=0.3.0; extra == 'all'
Requires-Dist: youtube-transcript-api>=1.0.3; extra == 'all'
Provides-Extra: browser
Requires-Dist: fake-useragent>=2.0.3; extra == 'browser'
Requires-Dist: playwright>=1.55.0; extra == 'browser'
Requires-Dist: rebrowser-playwright>=1.49.1; extra == 'browser'
Requires-Dist: selenium>=4.31.0; extra == 'browser'
Requires-Dist: undetected-playwright>=0.3.0; extra == 'browser'
Provides-Extra: media
Requires-Dist: edge-tts<8,>=7.2.7; extra == 'media'
Requires-Dist: moviepy>=2.2.1; extra == 'media'
Requires-Dist: pydub>=0.25.1; extra == 'media'
Requires-Dist: pytubefix>=8.13.1; extra == 'media'
Requires-Dist: youtube-transcript-api>=1.0.3; extra == 'media'
Provides-Extra: otel
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.36.0; extra == 'otel'
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.58b0; extra == 'otel'
Requires-Dist: opentelemetry-instrumentation-httpx>=0.58b0; extra == 'otel'
Requires-Dist: opentelemetry-instrumentation-requests>=0.58b0; extra == 'otel'
Requires-Dist: opentelemetry-sdk<=1.37.0,>=1.37.0; extra == 'otel'
Provides-Extra: rpa
Requires-Dist: adbutils>=2.8.11; extra == 'rpa'
Requires-Dist: appium-python-client>=5.1.1; extra == 'rpa'
Requires-Dist: opencv-python~=4.10.0.84; extra == 'rpa'
Requires-Dist: uiautomator2>=3.2.10; extra == 'rpa'
Provides-Extra: vmos
Requires-Dist: mtm-vmossdk<0.2.0,>=0.1.0; extra == 'vmos'
Description-Content-Type: text/markdown

# mtmai

`mtmai` is the Python CLI and FastAPI runtime used by gomtm for AI automation integrations, device control-plane commands, external-account commands, task submission, and the embedded Hermes gateway.

## Install

```bash
pip install mtmai
```

Optional integrations are installed with extras:

```bash
pip install "mtmai[vmos]"
pip install "mtmai[browser,rpa,media,otel]"
```

## CLI

```bash
mtmai --help
mtmai task --help
mtmai device --help
mtmai external-account --help
mtmai hermes --help
```

## API Runtime

```bash
uvicorn mtmai.api_server:app --host 127.0.0.1 --port 7860
```

The API exposes `/health`, `/api/mtmai/*`, and the embedded Hermes routes mounted under `/api/hermes/*` when Hermes is available.

## Development

```bash
uv sync --all-extras --dev
uv run pytest -q tests/test_package_smoke.py
uv run python -m build
uv run twine check dist/*
```

`docs/` is repository documentation only and is not included in the Python package artifacts.

Some historical tests were carried over from the former mixed gomtm workspace and live under `docs/legacy-tests/` with a `--` suffix. They document removed or currently incomplete modules and are not part of the package smoke suite.
