> For the complete documentation index, see [llms.txt](https://docs-tokenshift.pointfive.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-tokenshift.pointfive.co/welcome.md). Agents can also search and read this documentation through its [MCP server](https://docs-tokenshift.pointfive.co/~gitbook/mcp).

# Welcome

The control plane for coding agents.

TokenShift makes the coding agents your teams already run visible and controllable, and reduces the tokens they burn.

It works with six coding agent harnesses: **Claude Code, Cursor, GitHub Copilot CLI, Codex, opencode and Devin CLI**. See [Harness coverage](https://docs-tokenshift.pointfive.co/connect/harness-coverage.md).

It installs as a single binary on each machine. The install script does everything in one step: it installs the binary, enrolls the machine, and hooks into each harness it finds. `tokenshift install` on its own wires the hooks and asks about telemetry; telemetry ships only once the machine is enrolled.

The binary is the whole client, and enrolling registers a small background service for the user. There is nothing separate to run, and no change to how anyone works.

## What it does

### Visibility

Every tool call becomes a row you can query. Cost and tokens, cut by user, team, workspace, repository, application, branch, harness, model, MCP server, skill and type of work. At Tiers 1 and 2, prompt text and file contents never leave the device, and telemetry is redacted on the device. Telemetry is always encrypted before it ships. See [Telemetry tiers](https://docs-tokenshift.pointfive.co/security-and-data/telemetry-tiers.md) for what each tier sends, and [Data contract](https://docs-tokenshift.pointfive.co/security-and-data/data-contract.md) for every field.

### Governance

Budgets set who may spend how much, at the organization, team or user level, and optionally per model or harness. Harness controls decide which harnesses, models, MCP servers and skills may be used. Both can warn or block, and what can actually be enforced depends on the surface. Each machine pulls the current controls and budgets and applies them locally.

### Optimization

{% hint style="info" %}
**Command compression is retired.** TokenShift no longer changes your agent's commands or their output. Commands run exactly as your agent sends them, so the allowlists and approval rules you set in tools like Cursor work as expected. TokenShift now saves tokens with the Smart Model Router, which picks the right model and effort for each turn.
{% endhint %}

The Smart Model Router is optional. Turn it on with `tokenshift router install`.

## Where to go next

| Section               | What is in it                                                             |
| --------------------- | ------------------------------------------------------------------------- |
| Get started           | Install TokenShift, confirm it is working, and the commands you will use. |
| Connect               | Which agents are supported, and how to deploy across an organization.     |
| Core Concepts         | How visibility, teams, budgets and controls work.                         |
| TokenShift MCP Server | Query your TokenShift data from an AI client over MCP.                    |
| Security & Data       | What leaves the machine, and what never does.                             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-tokenshift.pointfive.co/welcome.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
