Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.motus.lithosai.com/llms.txt

Use this file to discover all available pages before exploring further.

What you need

  • uv handles packaging, virtual envs, and installs the right Python for you. If you have it, you have everything the project needs on the Python side.
  • git to clone.
  • Docker only if you plan to run or modify the sandbox tests.

Clone, install, verify

1

Clone

git clone https://github.com/lithos-ai/motus.git
cd motus
2

Install

uv sync --all-extras
uv reads pyproject.toml, provisions the right Python version, creates a .venv, and installs the project with every optional group (dev, docs, test). Re-run any time you pull new dependencies.
3

Set up pre-commit hooks

uv run pre-commit install
This registers a git hook that runs ruff (linting and formatting) on every commit. To run the checks manually:
uv run pre-commit run --all-files
4

Verify

uv run pytest tests/unit/ -x -q
Unit tests run without API keys or Docker. If something fails here, re-check that uv sync --all-extras completed cleanly.
The ruff config lives in pyproject.toml under [tool.ruff]. Any editor ruff integration that respects pyproject.toml will pick it up automatically, which is most of them.

Previewing the docs

If you touch anything under docs/, preview the change before you open a PR:
cd docs
npx mintlify dev
Opens at http://localhost:3000 and rebuilds on file changes.

Next steps