TartarusAI — Uncensored AI for builders. Developer-first console powered by your TartarusAI account, with built-in usage tracking and quota enforcement.
Project description
TartarusAI
Uncensored AI for builders.
A developer-first AI console powered by your TartarusAI account.
The CLI ships every chat through api.tartarusai.dev: the backend
authenticates your token, checks your plan quota, forwards the request
to the inference cluster, and writes a UsageEvent for every reply.
Result — every token you spend on the CLI counts against your plan and
shows up in your dashboard's Usage panel. There is no client-side path
that bypasses this.
Install
One-click (recommended):
- Windows: download tartarus-setup.bat, double-click.
- macOS / Linux:
curl -sSf https://dash.tartarusai.dev/tartarus-setup.sh | bash
Manual:
pip install tartarus-console
Python 3.10+. On Windows, install Git for Windows first — the CLI uses Git Bash for the terminal tool.
The package registers a single console script: tartarus.
Authenticate
You need a TartarusAI account. Sign up / log in at https://dash.tartarusai.dev.
-
Under CLI access, click Generate token, copy the value (you only see it once).
-
In your terminal:
tartarus auth set <PASTED_TOKEN>
The CLI stores the token at
~/.tartarus/auth.json(mode0600), verifies it against/api/auth/me, and prints your plan. If the token is invalid the local file is wiped and an error points back at the dashboard.
Sanity checks:
tartarus whoami # email + plan + endpoint
tartarus usage # current weekly + session token usage
Use
tartarus chat # interactive console, defaults to tartarus-coder
tartarus chat -z "Explain this codebase" # one-shot mode
tartarus chat -m tartarus-thinking # the other tracked model
That's it. No other chat invocation is supported. Specifically:
--provider Xis rejected — the CLI is locked to the TartarusAI backend (refusing this prevents inference traffic from leaking around the metering middleware).-m MODELonly acceptstartarus-coderortartarus-thinking— anything else would be 400'd at the backend anyway, and we surface it early.
Every turn:
- The console sends an OpenAI-spec request to
https://api.tartarusai.dev/api/v1/chat/completionswith your Sanctum CLI bearer. - The Laravel backend runs
auth:sanctum,throttle:60,1(rate limit per user), and thequotamiddleware (weekly token cap). - The backend forwards to the inference cluster, captures the
usageblock from the response, and writes aUsageEventwithsource: cli. - Your weekly bar moves under https://dash.tartarusai.dev/settings/usage.
If the upstream omits a usage block the backend refuses to relay the response. There is no path that returns inference content without accounting.
Revoke / rotate
- From the dashboard — Account → CLI access → revoke on the token row. Effective immediately.
- From the CLI —
tartarus logoutrevokes the token currently in use and deletes the local credentials file.
Generate a fresh token whenever you suspect a leak. Other CLI tokens on your account are untouched.
Layout
tartarus_console/— TartarusAI dispatcher (auth, config bootstrap, CLI commands). Locks the chat path to api.tartarusai.dev.- The agent runtime under
agent/,tools/,skills/,providers/,plugins/, andhermes_cli/is vendored from the upstream Hermes Agent project (MIT, Nous Research) — kept unmodified except where branding or security wiring required edits. End-users only see the TartarusAI brand; the upstream module names appear only in import statements and internal docstrings. - See
README.upstream.mdfor the original upstream documentation.
Licence
MIT, inheriting the upstream Hermes Agent licence (see LICENSE).
TartarusAI adapter code (tartarus_console/) is also MIT-licensed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tartarus_console-0.2.1.tar.gz.
File metadata
- Download URL: tartarus_console-0.2.1.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5efa710503a3dceea4ebcb5e92d3eab50bc6a39d704e1ebab9411cd5a6940520
|
|
| MD5 |
e94580d5225937914286478676fafee6
|
|
| BLAKE2b-256 |
1cdbed5e023d04f7ba5951429a75c8951210d8a9424ecdcdc040ec97bdc05f83
|
File details
Details for the file tartarus_console-0.2.1-py3-none-any.whl.
File metadata
- Download URL: tartarus_console-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1b8fa65caaa375731798efa5ba052ed3df9e4d2028e54a0b029384effa7530c
|
|
| MD5 |
4aa11a22d23e4ac6b6dd5b338005faec
|
|
| BLAKE2b-256 |
0873ba7eb63f5e007618bebcea9c1477f7f82d1f0e49e1f35cea62c29ae8ec1a
|