Agent quickstart

In five minutes Claude Code can see what you’re working on, log progress against it and ask you questions. Every change it makes shows up in your feed under its name.

1. Create a token

Every agent or device gets its own bearer token, so its changes show up under its own name. Open your account, name the token after the agent (“Claude Code @ desktop”), and copy it. Tokens start with thl_ and are shown once.

Pick the agent kind for Claude Code and scripts: they follow the agent rules and suggest changes to your dates, priorities and estimates. Pick device for your own desktop app or CLI: it acts as you.

2. Connect Claude Code

Thallus runs an MCP server over streamable HTTP at https://app.thallus.dev/mcp. Register it once:

claude mcp add --transport http thallus https://app.thallus.dev/mcp --header "Authorization: Bearer thl_..."

Run /mcp inside a Claude Code session to check the connection. Then ask it things like “what should I work on for the next hour?” or “log progress on the invoice task”.

Connect claude.ai (web, desktop & mobile)

Claude on the web, the desktop app and your phone can use Thallus as a custom connector. There’s no token to paste: Claude signs in to Thallus with OAuth and asks you to allow it. Free Claude plans can add one custom connector.

  1. In Claude, open Customize → Connectors and choose Add → Add custom connector. On Team or Enterprise, an Owner adds it under Organization settings → Connectors → Add → custom connector (type Web), and members click Connect in their own list.
  2. Enter the server URL, click Continue and name it Thallus:
    https://app.thallus.dev/mcp
  3. Keep OAuth / Sign in now. For the OAuth client, keep the detected Automatic registration (DCR). Leave client ID and secret empty, and don’t add an Authorization header.
  4. Click Add, then Connect. In the Thallus window, sign in if needed, check that it says you’ll be sent back to claude.ai, and click Allow.
  5. In a chat, turn Thallus on from the + menu → Connectors. The connection lives on Claude’s servers, so it works on web, desktop and mobile alike.

The connection shows up in Thallus under Settings → Agents & devices as a connected app called “Claude (claude.ai)”. It acts as an agent, so the agent rules apply and it counts toward the Free plan’s two tokens. Disconnect it there, or remove the connector in Claude. Claude can’t change a connector’s sign-in settings after it’s added: remove it and add it again.

Prefer a static token? Choose API key / No sign-in instead and add the request header authorization: Bearer thl_…. Claude Code can sign in the same way as claude.ai: run claude mcp add --transport http thallus https://app.thallus.dev/mcp without a header, then /mcp → Authenticate.

3. Add hooks (optional)

Hooks make it automatic. With the thl CLI installed and logged in, add this to .claude/settings.json in a repo (or ~/.claude/settings.json for every project):

{
  "hooks": {
    "SessionStart": [
      { "hooks": [{ "type": "command", "command": "thl hook claude-session-start" }] }
    ],
    "Stop": [
      { "hooks": [{ "type": "command", "command": "thl hook claude-stop" }] }
    ]
  }
}

On session start, thl prints the current task for this repo (matched through the project’s repo URL), and Claude Code adds it to the conversation as context. When a session stops, it logs a short summary as progress on that task.

MCP tools

ToolWhat it does
whats_nextRanked tasks that fit minutes_available, optionally by kind.
list_tasks, get_task, searchRead tasks by status, kind, project or full-text query.
create_taskCreate from a title or quick-add text. Pass request_id to make retries safe.
update_task, set_statusEdit a task or move it through todo, doing, blocked, done.
log_progressAdd a progress note with an optional percentage.
start_work, stop_workTrack time against a task; stopping takes a summary.
ask_humanAsk you a question on a task. It shows up in your feed.
get_load, list_projectsRead capacity for the coming days and your projects.

The thl CLI

For scripts, cron jobs, CI and any agent with a shell. Log in once; config lives in ~/.config/thallus/config.toml, or set THALLUS_URL and THALLUS_TOKEN.

thl login --url https://app.thallus.dev --token thl_...
CommandWhat it does
thl add "<text>"Quick-add, e.g. thl add "fix login bug 45m !2 #website fri"
thl next [--min 45]What to do now, optionally for a time budget
thl ls [--status doing]List tasks
thl show <id>Task details
thl start <id> / thl stop [summary]Start or stop the timer
thl log <id> "<note>" [--pct 50]Log progress
thl done <id>Mark done
thl block <id> "<question>"Mark blocked and ask you a question
thl loadYour load for the coming days
thl feedRecent activity
thl hook claude-session-start / claude-stopFor Claude Code hooks

IDs accept unique prefixes; the short ID shown everywhere is the last six characters. Every command takes --json.

What agents may do

Agents are collaborators, not owners. With an agent token they can create tasks (they land in your inbox unless a project is given), change status, log progress and time, comment, and edit tasks they own.

They can’t delete anything or touch contacts, and they can’t change the deadline, priority or estimate of a task you own. Those edits become a suggestion in your feed (HTTP 202) that you accept or reject. If you mark something done and an agent disagrees, done wins.

REST API

Everything the app does goes through a JSON API under /api/v1. Authenticate with Authorization: Bearer thl_.... Errors come back as {"error":{"code","message"}}; lists as {"items":[…]}.

EndpointPurpose
GET /tasks, POST /tasksFilter by status, kind, project, dates or q; create. Send an Idempotency-Key header to make creates safe to retry.
GET/PATCH/DELETE /tasks/:idRead, edit, soft-delete
POST /tasks/quick, POST /parseCreate from quick-add text, or just parse it
POST /tasks/:id/status, /progress, /commentsStatus changes, progress notes, comments
POST /tasks/:id/timer/start, /timer/stopTime tracking (one running timer per actor)
GET /now?minutes=Ranked what-to-do-now list, each with a reason
GET /load?days=14Capacity per day, overcommitted days, suggested moves
GET /eventsThe attributed activity feed
GET /projects, /areas, /contacts, /searchEverything else in your workspace
GET /export, POST /importYour whole workspace as JSON
GET /wsWebSocket stream of changes and events

Example:

curl https://app.thallus.dev/api/v1/tasks/quick \
  -H "Authorization: Bearer $THALLUS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"deploy invoice api fri 30m !2 #clientx"}'