Metadata-Version: 2.4
Name: riley-ai
Version: 0.18.0
Summary: Coding and chat assistant with explicit local and hosted model providers.
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://codeberg.org/ChocolatePastry/riley-ai
Project-URL: Documentation, https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/README.md
Project-URL: Repository, https://codeberg.org/ChocolatePastry/riley-ai
Project-URL: Bug Tracker, https://codeberg.org/ChocolatePastry/riley-ai/issues
Keywords: ai,agent,gemini,ollama,openai,anthropic,huggingface,cli
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Education
Classifier: Topic :: Education
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Framework :: Pydantic :: 2
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: anyio>=4.14.2
Requires-Dist: fastapi>=0.115.0
Requires-Dist: filelock>=4.2.1
Requires-Dist: google-genai>=1.73.1
Requires-Dist: httpx>=0.28.1
Requires-Dist: certifi>=2026.10.19
Requires-Dist: cryptography>=50.0.2
Requires-Dist: idna>=3.15
Requires-Dist: opentelemetry-api>=1.45.2
Requires-Dist: pyasn1>=0.6.5
Requires-Dist: urllib3>=2.8.0
Requires-Dist: ollama>=0.6.1
Requires-Dist: python-dotenv>=1.2.2
Requires-Dist: sympy>=1.14.0
Requires-Dist: uvicorn>=0.30.0
Requires-Dist: pydantic>=2.10.0
Requires-Dist: keyring>=25.0.0
Requires-Dist: rich>=15.0.0
Requires-Dist: prompt-toolkit<4,>=3.0.53
Requires-Dist: sqlcipher3>=0.6.4
Requires-Dist: sqlite-vec==0.1.9
Requires-Dist: protego<1,>=0.5
Provides-Extra: tor
Requires-Dist: riley-tor-runtime==16.0.1; (sys_platform == "linux" and platform_machine == "x86_64") and extra == "tor"
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file

<!--
Copyright (C) 2026 @ChocolatePastry

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->

# Riley-AI

Riley gives you a terminal, a browser, and an HTTP API for chat and coding. Pick a local model or connect a hosted provider. When you connect a project, you can review edits, see command results, and pick up interrupted work.

[Codeberg releases](https://codeberg.org/ChocolatePastry/riley-ai/releases) · [PyPI](https://pypi.org/project/riley-ai/) · [Setup guide](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/SETUP.md) · [Contributing](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/CONTRIBUTING.md)

![Riley-AI coding workflow](https://codeberg.org/ChocolatePastry/riley-ai/raw/branch/main/docs/images/riley-coding-agent.png)

## Quick start

Use Python 3.12 or newer for PyPI or source installs. The standalone Linux x86-64 tarball includes Python, Bubblewrap, and ripgrep. Get it from the release page, check its SHA-256 checksum, and run `./riley` from the extracted folder. The Linux wheel bundles the coding helpers on compatible glibc 2.41+ hosts.

### From PyPI


```sh
pipx install riley-ai
riley --version
riley
```

Open `http://127.0.0.1:8000/` for the web UI, or run `riley --cli` for the terminal. Use `riley setup` to check local dependencies. Add `--help` to see launch options.

### From source

Use [uv](https://docs.astral.sh/uv/) from the checkout.

```sh
git clone https://codeberg.org/ChocolatePastry/riley-ai.git
cd riley-ai
uv sync --locked
uv run --locked riley --cli
```

## Pick a model

For local inference, use Ollama or a downloaded Hugging Face GGUF model. In Settings, pick an installed model or review the model you want to download. For hosted inference, choose Gemini, OpenAI, Claude, or Hugging Face and enter that provider's key in Settings. The hosted provider receives your prompts and the context Riley sends with them. Local inference keeps model requests on your machine. Web tools have their own permissions and network routes. [Provider guide](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/PROVIDERS.md)

## Chat, search, and code

- Chat without a project. Try `/calculate x^2+9=0` to send an equation straight to the calculator.
- To search, enable web access and choose a search provider. You can review the links before Riley reads the pages. See who receives the query and how managed SearXNG and Tor work. [Web guide](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/WEB_RETRIEVAL.md)
- Connect the folder you want Riley to work in. Use Plan mode to inspect it and Agent mode to make changes. Coding commands need Linux or WSL2 with working Bubblewrap namespaces. Review the actual edits and command results before accepting a task as done. [Coding guide](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/CODING_AGENT.md)
- Watch the current step in either interface. Use **Stop** in the browser or **Ctrl+C** in the terminal if a request stalls. In the terminal press **F4** to inspect the queue. [Conversation controls](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/SETUP.md#follow-ups-and-pending-changes)

Run Riley on loopback for local development. Read the project and web permission rules before connecting a sensitive workspace. [Security guide](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/SECURITY.md)

## Keep going

- [HTTP API](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/API.md)
- [All guides](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/README.md)
- [Release notes and upgrade guidance](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/docs/RELEASING.md)

## License

Riley-AI is GPLv3-only. Bundled third-party components keep their own licenses. [GPLv3 text](https://codeberg.org/ChocolatePastry/riley-ai/src/branch/main/LICENSE)
