Skip to main content

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.

  1. Open https://dash.tartarusai.dev/account.

  2. Under CLI access, click Generate token, copy the value (you only see it once).

  3. In your terminal:

    tartarus auth set <PASTED_TOKEN>
    

    The CLI stores the token at ~/.tartarus/auth.json (mode 0600), 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 X is rejected — the CLI is locked to the TartarusAI backend (refusing this prevents inference traffic from leaking around the metering middleware).
  • -m MODEL only accepts tartarus-coder or tartarus-thinking — anything else would be 400'd at the backend anyway, and we surface it early.

Every turn:

  1. The console sends an OpenAI-spec request to https://api.tartarusai.dev/api/v1/chat/completions with your Sanctum CLI bearer.
  2. The Laravel backend runs auth:sanctum, throttle:60,1 (rate limit per user), and the quota middleware (weekly token cap).
  3. The backend forwards to the inference cluster, captures the usage block from the response, and writes a UsageEvent with source: cli.
  4. 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 CLItartarus logout revokes 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/, and hermes_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.md for 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tartarus_console-0.2.1.tar.gz (6.0 MB view details)

Uploaded Source

Built Distribution

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

tartarus_console-0.2.1-py3-none-any.whl (3.5 MB view details)

Uploaded Python 3

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

Hashes for tartarus_console-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5efa710503a3dceea4ebcb5e92d3eab50bc6a39d704e1ebab9411cd5a6940520
MD5 e94580d5225937914286478676fafee6
BLAKE2b-256 1cdbed5e023d04f7ba5951429a75c8951210d8a9424ecdcdc040ec97bdc05f83

See more details on using hashes here.

File details

Details for the file tartarus_console-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tartarus_console-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1b8fa65caaa375731798efa5ba052ed3df9e4d2028e54a0b029384effa7530c
MD5 4aa11a22d23e4ac6b6dd5b338005faec
BLAKE2b-256 0873ba7eb63f5e007618bebcea9c1477f7f82d1f0e49e1f35cea62c29ae8ec1a

See more details on using hashes here.

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