Pithio documentation

Set up Pithio for a coding agent, shorten tool output from a shell, or add compression and recovery to your own app.

Install the CLI

To use Pithio in your terminal, with a coding agent, or as an MCP gateway, install the pithio command. For app code that imports Pithio, see the Python or Node SDK instead.

One-line installers

Run the command for your system. It downloads a prebuilt CLI from GitHub Releases.

macOS and Linux · Intel and Apple Silicon Macs, x64 and ARM64 Linux with glibc. The default destination is ~/.local/bin.

curl -fsSL https://raw.githubusercontent.com/allenjoseph05/pithio/main/install.sh | sh

Windows (PowerShell) · x64. The installer adds the binary’s folder to your user PATH.

irm https://raw.githubusercontent.com/allenjoseph05/pithio/main/install.ps1 | iex

Verify your install

Check that Pithio is available in your terminal. If needed, follow the installer’s PATH instructions and open a new terminal.

pithio --version

At the time of writing, GitHub Releases provides CLI v0.1.1. The CLI packages on PyPI and npm are 0.1.0. Use the GitHub installer to get the newest binary if the package registries are behind.

Install with a package manager

PyPI CLI · Python 3.8+. Install into your active environment. Keep it active when you run Pithio, or point the agent at an installation that stays available outside the environment.

python -m pip install pithio

npm CLI · Node.js 18+. The launcher uses an optional platform package containing the binary. Let npm install optional dependencies.

npm install --global pithio

Upgrade a package-managed install with python -m pip install --upgrade pithio or npm install --global pithio@latest. If you installed with a script, rerun it to upgrade. Check the version after upgrading.

Download and verify a release archive

Choose the archive for your operating system and CPU from GitHub Releases. Download SHA256SUMS from the same release. Compare the archive’s SHA-256 with its entry using Get-FileHash FILE -Algorithm SHA256 in PowerShell, shasum -a 256 FILE on macOS, or sha256sum FILE on Linux. Extract the archive and put the directory containing pithio or pithio.exe on your PATH.

To pin the scripts to a release, set PITHIO_VERSION to a tag such as v0.1.1 before running the installer. Both scripts accept PITHIO_INSTALL_DIR for a custom destination.

Build from source

With Rust and Cargo and Git installed, run this command in your terminal.

cargo install --git https://github.com/allenjoseph05/pithio pithio
Next, connect your agent

Connect a coding agent

Choose your agent below, preview its configuration, and apply it with --write. Run project-scoped commands from your project root, or replace . with the project path. Start a new agent session after setup.

Hook across projects. Supports shell and eligible read, search, web and MCP results.

pithio init --agent claude-code

Apply and check the setup after reviewing the preview.

pithio init --agent claude-code --write
pithio doctor
Ask your agent to set up pithio

Copy this prompt into your coding agent. It checks your setup and asks before changing it.

Help me set up pithio for Claude Code. Check my OS and run pithio --version. If pithio is missing, check https://github.com/allenjoseph05/pithio for an official release for my platform and verify the SHA-256 checksum. If there is no release, offer the source install command: cargo install --git https://github.com/allenjoseph05/pithio pithio. Ask before installing anything.

Run pithio init --agent claude-code without --write to preview the changes. Explain the scope and ask before applying changes. Preserve existing settings and hooks. After approval, run pithio init --agent claude-code --write and pithio doctor. Explain any restart or hook review I need to do, and show me how to check savings with pithio gain.

How each integration runs

Claude Code
A post-tool hook can shorten eligible shell, read, search, web and MCP text. It uses user settings by default. Add --project DIR for project-local settings.
Codex CLI, Cursor, Copilot CLI and Gemini CLI
Project hooks intercept supported shell calls. Copilot also handles supported read-tool results. In Codex, review the hook before using it. In clients that ask you to trust a workspace, do so for a project you recognize.
Factory Droid, Devin and Mistral Vibe
Project hooks wrap supported read-only shell commands. Use droid, devin and vibe as CLI names.
OpenCode, Pi, Oh My Pi and Hermes
User-level plugins or extensions receive eligible tool output. OpenCode requires 1.18.29 or newer. OpenCode, Pi and Oh My Pi accept project-local installs with --project DIR. Enable Pithio in Hermes with hermes plugins enable pithio and restart.
Windsurf, Cline, Roo Code, Kilo Code, Antigravity, Kimi, Continue, Aider, Goose and AGENTS.md clients
Project rules ask the agent to use pithio run on supported commands. This works when the agent follows the rules. Check the preview for the exact rules file. Use pithio rules to print the instructions for a manual setup.

Check, pause or remove setup

pithio doctor --project . checks the CLI, store and hook registration and runs a local recovery self-test. Ask your agent to run a long command in a fresh session, then check pithio status or pithio dashboard for a recorded result.

Preview removal with pithio uninstall --agent NAME, using the same scope as installation. Add --write to remove Pithio’s entry. The CLI stays installed. Use off and on for a temporary pause.

Shorten shell output

Use pithio run -- COMMAND from any terminal. Everything after -- is the executable and its arguments. Pithio processes standard output, leaves standard error on the terminal, and returns the command’s exit code. The optional --focus gives eligible formats a hint about the detail you need.

pithio run -- git log -100 --oneline
pithio run --focus "failing test names" -- npm test

Use an executable after --. For a shell built-in, alias, or compound command, run it through the appropriate shell or pipe the text to pithio filter. The optional --tool and --command tell the filter where the output came from.

git log -100 --oneline | pithio filter --tool Bash --command "git log -100 --oneline"

SDKs

The SDKs compress in your application process. Use direct compression on one piece of text, or wrap a supported provider client to shorten tool results before requests go out. Return recovery responses with the original tool call ID so your model can use them.

Python SDK

Install pithio-sdk on Python 3.10 or later and import it as pithio. This library is separate from the PyPI CLI package. The current PyPI SDK version is 0.1.0. Wheels are available for CPython on Windows x64, macOS Intel and Apple Silicon, and glibc Linux x64 and ARM64. Building from a source distribution requires Rust.

python -m pip install pithio-sdk

Compress a JSON result locally

import json
import pithio

body = json.dumps([
    {"id": i, "status": 500 if i % 10 == 0 else 200}
    for i in range(500)
])
result = pithio.compress(body, "count status = 500")
print(result.tokens_in, result.tokens_out, result.method)

if result.handle:
    print(pithio.handle_tool_call(
        "pithio_more", {"handle": result.handle, "sql": "count status = 500"}
    ))

Use mode="auto" (the default) for structured data, logs and other detected formats. Use mode="text" with a question for document passages. keep defaults to 0.5 on question-aware methods. min_tokens defaults to 300. store=False disables recovery storage for that call. Pass store_dir to use a separate store, and pass the same directory to recovery.

Wrap Anthropic or OpenAI

Install the provider’s Python SDK separately. Use the same client interface after wrapping. The wrapper covers messages.create, chat.completions.create, and responses.create, including Python async clients. Use the create methods for supported streaming calls. The separate .stream() helper methods fall outside the wrapper.

import anthropic
import pithio

client = pithio.wrap(anthropic.Anthropic())

def handle_tool(name, arguments, run_your_tool):
    recovery = pithio.handle_tool_call(name, arguments)
    if recovery is not None:
        return recovery
    return run_your_tool(name, arguments)

Use pithio.wrap(openai.OpenAI()) for OpenAI. When a request already has tools, wrap can add pithio_more. Dispatch it before your own tools. Return the string as an Anthropic tool_result, an OpenAI Chat Completions tool message, or a Responses function_call_output as appropriate.

Direct API
compress returns text, token counts, ratio, method, and an optional handle. compress_many takes several texts and optional corresponding queries. more pages an original, grep finds matching lines, item reads a one-based list entry, and original loads the entire stored text.
Custom tool loop
compress_messages returns the rewritten Anthropic or OpenAI chat messages and the results it changed. compress_input handles a Responses input list. recovery_tool builds the schema for anthropic, openai, or openai-responses. handle_tool_call accepts a dictionary or JSON string, including a sql field for exact queries.
Wrapper switches
shorten=False measures without rewriting. record=False disables call logging. add_recovery_tool=False leaves tool registration to your app. log_path overrides the usage log destination.

Python framework integrations

  • python -m pip install "pithio-sdk[langchain]" adds the dependencies for pithio.integrations.langchain.PithioCompressor. Use the compressor after retrieval to shorten documents against the user’s question.
  • python -m pip install "pithio-sdk[llamaindex]" adds the dependencies for pithio.integrations.llamaindex.PithioNodePostprocessor. Add it to the query engine’s node_postprocessors.
  • python -m pip install "pithio-sdk[litellm]" adds the dependencies for pithio.integrations.litellm.PithioGuardrail. Register it in the LiteLLM proxy’s guardrails with mode: pre_call to shorten tool results before a request.
Framework setup examples

LangChain · Given retrieved documents and the user’s question, compress the retrieved passages. The returned documents include a pithio metadata entry with any recovery handle.

from pithio.integrations.langchain import PithioCompressor

shortened = PithioCompressor(keep=0.5).compress_documents(documents, question)

LlamaIndex · Attach the postprocessor to an existing index. Shortened nodes get a pithio_handle and a compression ratio in metadata.

from pithio.integrations.llamaindex import PithioNodePostprocessor

engine = index.as_query_engine(node_postprocessors=[PithioNodePostprocessor(keep=0.5)])

LiteLLM · Add the guardrail before starting your proxy. It adds compression counts to the request metadata when it changes any results.

guardrails:
  - guardrail_name: pithio
    litellm_params:
      guardrail: pithio.integrations.litellm.PithioGuardrail
      mode: pre_call
      default_on: true

Node SDK

The Node.js 20+ SDK is in the public v0.1.1 source. Its npm package name is @pithio/node. The npm registry did not yet serve it when this guide was checked. The unscoped pithio package installs the CLI. Use the source build below for the Node API until @pithio/node is listed by npm.

Build the Node SDK from source

From a checkout of the public v0.1.1 release, build the native module with Rust and your platform’s build tools. Use the library path for your operating system and save it as crates/pithio-node/pithio.node.

cargo build --release -p pithio-node

# Linux
cp target/release/libpithio_node.so crates/pithio-node/pithio.node
# macOS
cp target/release/libpithio_node.dylib crates/pithio-node/pithio.node
# Windows PowerShell
Copy-Item target/release/pithio_node.dll crates/pithio-node/pithio.node

From your app, require the built crates/pithio-node folder directly. In the example below, replace require("@pithio/node") with require("PATH_TO_CHECKOUT/crates/pithio-node") until you use the registry package. The release workflow targets Windows x64, macOS Apple Silicon and Intel, and Linux x64 and ARM64 with glibc.

Compress and query locally

const pithio = require("@pithio/node");

const body = JSON.stringify(Array.from({ length: 500 }, (_, id) => ({
  id, status: id % 10 === 0 ? 500 : 200,
})));
const result = pithio.compress(body, { query: "count status = 500" });
console.log(result.tokensIn, result.tokensOut, result.method);
if (result.handle) console.log(pithio.query(result.handle, "count status = 500"));

Call compressMany for a batch, more for pages, grep for matching lines, item for a one-based JSON list entry, and original for the full text. Set store: false to bypass recovery storage. minTokens, storeDir, mode and keep follow the Python options above.

Wrap Anthropic, OpenAI or the Vercel AI SDK

const Anthropic = require("@anthropic-ai/sdk");
const client = pithio.wrap(new Anthropic());

function handleTool(name, input, runYourTool) {
  const recovery = pithio.handleToolCall(name, input);
  return recovery === null ? runYourTool(name, input) : recovery;
}

With the openai package, wrap new OpenAI() for Chat Completions or Responses. For custom request pipelines use compressMessages, compressInput, recoveryTool, and handleToolCall. Wrapper switches include shorten, record, addRecoveryTool and logPath.

const { wrapLanguageModel, tool, jsonSchema } = require("ai");

const model = wrapLanguageModel({
  model: yourModel,
  middleware: pithio.aiSdkMiddleware(),
});
const tools = { pithio_more: pithio.aiSdkRecoveryTool({ tool, jsonSchema }) };

Use AI SDK 7 with a compatible v4 language model. Pass model and tools to your generation call along with your usual tools. Middleware handles the tool-result text before generation and can record usage after regular or streaming calls.

MCP gateway

Run Pithio between your MCP client and the servers whose text results you want to shorten. The client starts Pithio as a stdio server. Pithio can connect to local stdio servers and remote Streamable HTTP servers.

Create the gateway config

pithio init --config pithio-mcp.json

The starter config uses a fetch connector launched with uvx. Install uv if you keep that connector, or replace it with a server you already use. Copy each connector into servers. For a local process use command, args, and optional env. For a remote server use its MCP endpoint in url and optional headers. Save credentials only in your local config and keep it out of version control.

{
  "store_dir": "~/.pithio",
  "tool_descriptions": "full",
  "settings": { "min_tokens": 300 },
  "servers": {
    "fetch": { "command": "uvx", "args": ["mcp-server-fetch"] }
  }
}
Remote Streamable HTTP example

Add the entry under servers and replace the example URL with your connector’s MCP endpoint. If the connector requires authentication, fill in its headers locally.

{
  "servers": {
    "issues": {
      "url": "https://connector.example/mcp",
      "headers": { "Authorization": "Bearer YOUR_CONNECTOR_TOKEN" }
    }
  }
}

Register the gateway in your client

pithio init prints the full command and a client configuration example. In clients that use an mcpServers object, add an entry like the one below. Use an absolute config path because the client may launch from a different directory. For Claude Code, use the claude mcp add command printed by init.

{
  "mcpServers": {
    "pithio": {
      "command": "pithio",
      "args": ["serve", "--config", "ABSOLUTE_PATH_TO_PITHIO_CONFIG"]
    }
  }
}

Move the old direct registrations out of the client config to avoid duplicate tools. Restart the client and look for the connector tools under names such as fetch__fetch. Call one through the client, then run pithio stats --config pithio-mcp.json to see the gateway’s meter.

Tool results, arguments and descriptions

Results your agent reads
Pithio shortens eligible text from configured MCP tools, including issue lists, search matches, JSON records, database tables, web text, and logs. It can also shorten a schema-declared content field when it mirrors the tool’s single text result. Your agent can call pithio_more to read or query supported stored results.
Arguments your agent sends
The gateway forwards the tool’s own arguments, such as search terms, issue IDs, and filters. A Pithio-added focus hint guides shortening locally.
Tool definitions your agent sees
full shows the full description and schema. compact uses a short description and a stripped-down schema. lazy starts with a short description and a generic object schema. Both compact modes provide pithio_describe with a tool argument to fetch the full definition.
Recovery
pithio_more takes a handle and supports line paging (start_line, max_lines), text matching (query), record or item selection (record, item, path), and exact data queries (sql). An empty sql lists available tables and columns.

Keep the default store_dir to use the same handles from the CLI. For a separate gateway store, use its recovery tool. stats, show, audit, and dashboard accept the gateway’s --config file.

Anthropic API proxy

Run the local proxy to measure Anthropic API usage. It listens on 127.0.0.1:8788 by default and forwards to https://api.anthropic.com. Your Anthropic client keeps its usual API credentials.

pithio proxy --port 8788

In another terminal, set the base URL for your Anthropic client. Use export ANTHROPIC_BASE_URL=http://127.0.0.1:8788 in Bash or Zsh, or $env:ANTHROPIC_BASE_URL = "http://127.0.0.1:8788" in PowerShell. Launch the client from that terminal. You can also set base_url directly in the Anthropic Python SDK.

The default mode forwards requests unchanged and records usage counts. Add --shrink to shorten eligible complete or repeats-only text tool results in the newest turn. Use --upstream URL to set a different Anthropic-compatible upstream, and --port N to change the local port.

Read the usage with pithio diagnose --source api or from the dashboard’s Usage page. Stop the proxy with Ctrl+C and remove the base URL override when you want the client to connect directly again.

Inspect and recover output

Pithio chooses a view for the kind of input it sees. It can group a search by file, compact JSON and tables, fold repeated log lines, or build a document outline with line references. Eligible shell reruns with identical output can point to the earlier view.

Copy the handle from the Pithio note or find it in pithio show. A handle identifies the original in the store that created the view. Replace HANDLE in these examples with the one from your output.

Level 1 · Lossless
Original values stay in order. A shorter view may change formatting where its note declares it.
Level 2 · Repeats only
The view shows each distinct kind and counts repeats.
Level 3 · Focused
The note describes what was left out and how to get it back.

Read the original or select a part

pithio show HANDLE
pithio show HANDLE --original
pithio more HANDLE --start 201 --lines 50
pithio more HANDLE --grep "timeout"
pithio more HANDLE --record id 42 --field status
pithio more HANDLE --item 3 --path '$.items'
pithio grep HANDLE "timeout"

show HANDLE displays the recorded shortened view and what changed. show HANDLE --original prints the full stored original. more defaults to the first page, starting at line 1 with up to 200 lines. Follow the continuation it prints for large results. For record or item recovery, repeat --field for nested keys and use --path to select a nested list. --item is one-based. Without a handle, pithio grep TEXT searches the newest stored output.

Compute an answer over the original

pithio q HANDLE
pithio q HANDLE "count status = 500"
pithio q HANDLE "find id = 42"
pithio q HANDLE "SELECT status, COUNT(*) GROUP BY status"
pithio q --file report.csv

Start without a query to see which tables and columns are available for this input. The examples with status and id apply when those columns exist. Use count, find, grep, or read-only SQL over the parsed original. --file PATH lets you inspect or query a local file directly. SQL can omit FROM when Pithio can select the table from the available columns.

Dashboard, savings and usage

Open the dashboard in your browser. The service listens only on this computer and prints its access URL in the terminal. Use Ctrl+C to stop it.

pithio dashboard
Overview
Compare original tokens with tokens read by agents. Filter by period and source.
Activity
Browse recent output and compare the stored original with the shortened view.
Usage
Review provider token counters and cost estimates. Use Analyze spend for a deeper review of local usage.
Setup and Settings
Copy agent setup commands, pause shortening, choose a retention period, and delete stored outputs.
pithio gain
pithio stats
pithio audit --last 20
pithio diagnose --days 7 --project .
pithio diagnose --source api --days 0 --json

gain shows measured tool-result tokens saved today, this week and all time in UTC, plus a price-based dollar estimate. stats summarizes the meter. audit checks stored outputs and their stated compression contract. diagnose defaults to Claude Code session data for the last 30 days. Use --project to scope session analysis, --source api for proxy and SDK call records, --days 0 for all history, or --json for machine-readable output. Cost estimates use list pricing and may differ from your bill.

Privacy and storage

Pithio compresses locally. Agents and configured connectors still communicate with their own providers. Eligible originals and shortened views are kept in the local store. Pithio can skip storage or omit flagged lines from the stored copy when it detects likely secrets.

The default store is ~/.pithio, or %USERPROFILE%\.pithio on Windows. Set PITHIO_HOME to select a different local store for the CLI. For MCP, set store_dir in the gateway configuration. For SDKs, use store_dir or storeDir consistently with recovery calls.

The default retention is one day. The dashboard’s Settings tab lets you select 1, 7 or 30 days for newly stored output. Change it in the local store’s config.json with settings.retention_days. The expiry of an existing stored result is set when that result is saved.

Use pithio forget or the dashboard’s delete control to delete stored originals and their associated shortened views. The CLI clears the default store and the gateway store in the default or specified config. Meter and API usage records are separate. SDK and proxy call records in calls.jsonl contain usage counters and operational metadata, with no prompt, tool result, or model response text.

See the Privacy Policy for how the website, app, and integrations handle data.

CLI command reference

Square brackets mark optional arguments. Uppercase names stand for values you supply. Where a command accepts --config FILE, use the same gateway config file you created with pithio init.

Install, configure and control

pithio --help
Prints the short CLI usage. Also accepts -h or help.
pithio --version
Prints the version of the binary you are running. Also accepts -V.
pithio init --agent NAME [--project DIR] [--write]
Previews the agent hook, plugin or rules file. Add --write to apply the change. See the agent guide for names and scope.
pithio uninstall --agent NAME [--project DIR] [--write]
Previews removal of Pithio’s integration. Add --write to apply it. Use the same scope as init.
pithio doctor [--project DIR]
Checks binary resolution, the store, and agent setup. Defaults to the current project for project checks and returns a nonzero exit code for failed checks.
pithio rules
Prints instructions for an agent that uses a project rules file. Add the instructions to the file your agent reads.
pithio status
Prints pause flags and the last 24 hours of shortened-output totals.
pithio off [--agent NAME]
Pauses shortening globally in supported local integrations, or only for the named source. Examples include codex, gemini-cli, mcp, and shell. Gemini setup uses gemini as its installer name.
pithio on [--agent NAME]
Clears the global pause or the selected source pause. A source pause persists until cleared. A global pause overrides per-source settings.

Process and recover

pithio run [--agent NAME] [--focus TEXT] -- COMMAND [ARG ...]
Runs the command with its arguments and shortens eligible stdout. Set --focus before the separator and --agent first if you need to label the source. Agent hooks also use the internal --shell KIND --hex COMMAND form to transport shell commands.
pithio filter [--agent NAME] [--tool NAME] [--command TEXT]
Reads tool output from standard input. Plugins use it to identify the source when sending eligible text. The default source is shell.
pithio show [HANDLE [--original]] [--config FILE]
Lists recent output, inspects a saved view, or prints its original.
pithio more HANDLE [OPTIONS]
Reads a page, a set of matching lines, an item, or one uniquely matching record. See the recovery guide for the flag combinations.
pithio q HANDLE [QUERY]
pithio q --file PATH [QUERY]
Lists the tables or queries the original with a shortcut or read-only SQL. File mode reads a local file without first creating a handle.
pithio grep [HANDLE] TEXT
Searches a stored original for text. Defaults to the newest stored output if you omit the handle.
pithio forget [--config FILE]
Deletes originals and stored views from the local store and the gateway store selected by the config. Run it when you no longer need existing handles.

MCP, proxy and reporting

pithio init [--config FILE]
Creates an MCP starter config and prints how to connect an MCP client. An existing config stays as it is. The default file is ~/.pithio/config.json unless PITHIO_HOME changes the CLI store.
pithio serve [--config FILE]
Runs the MCP gateway over stdin and stdout until the client disconnects.
pithio proxy [--shrink] [--port N] [--upstream URL]
Starts the local Anthropic API proxy. Port 8788 and the Anthropic API are the defaults. --shrink opts in to tool-result shortening.
pithio dashboard [--port N] [--no-open] [--config FILE]
Starts the local dashboard on a free port by default. Use --port for a fixed port or --no-open to print the URL without opening the browser.
pithio stats [--config FILE]
Summarizes local meter records. Use the config option to read a gateway’s separate store.
pithio gain
Shows saved tool-result tokens by period and estimated dollars at a reference fresh-input price.
pithio audit [--last N] [--config FILE]
Checks shortened outputs against their compression contract. Omit --last to review the available store, or use a positive number to check the latest entries.
pithio diagnose [--days N] [--project DIR] [--source sessions|api] [--json]
Examines usage and likely causes of spend. sessions reads local Claude Code records. api reads SDK and proxy records, and proxy is an alias for api. Use the usage guide to interpret the reports.

Commands run by agent integrations

These commands accept hook events from the agent. Use pithio init --agent NAME to generate their registrations.

hook and session-hook
Handle Claude Code’s post-tool result and session-start events.
codex-hook, cursor-hook, copilot-hook, gemini-hook
Match and route supported shell commands for those clients.
copilot-post-hook, gemini-post-hook
Handle post-tool results from Copilot CLI and Gemini CLI.
droid-hook, devin-hook, vibe-hook
Handle pre-tool events for supported shell commands in Factory Droid, Devin and Mistral Vibe.

Configuration keys

Use the top-level settings object in config.json for CLI processing settings, or in your gateway config for MCP. store_dir, servers and tool_descriptions belong at the top level of the gateway config.

min_tokens and full_view_tokens
Set the minimum size considered for shortening and the budget used by format-aware views. Defaults are 300 and 6,000.
max_items, max_rows, preview_chars
Control caps and previews in routes that use them. The starter config uses 30 items, 50 rows and 800 preview characters.
shape and html_links
Enable format-aware shaping and control whether extracted HTML keeps link destinations. Defaults are true and false.
prose, prose_keep, prose_min_tokens
Control the optional prose pass, its target share, and its minimum input size. Defaults are false, 0.5, and 1500.
retention_days
In the config beside the store, set this to 1, 7, or 30 to keep new originals for that many days.

Troubleshooting

My terminal can’t find Pithio
Reopen your terminal after a PATH change or activate the environment where you installed it. Use Get-Command pithio -All in PowerShell or command -v pithio in a POSIX shell to find the executable.
My agent shows no shortened results
Run pithio doctor --project . and pithio status. Confirm that the agent opened the configured project and that you started a new session. Try a long supported output. Short outputs and editable local source files can pass through whole.
My MCP tools are missing
Confirm the client’s absolute config path, the connector’s executable and arguments, and its credentials. Check the client’s MCP server log for startup errors. Verify the tool list before removing a working direct registration.
Recovery can’t find a handle
Check the store and integration that produced the handle. Confirm the original was kept and is within its retention period. Run the original tool again if its saved output has expired.
How do I remove Pithio?
Remove each agent integration first. Then uninstall the CLI using python -m pip uninstall pithio, npm uninstall --global pithio, or cargo uninstall pithio for the package manager you used. For a script or archive install, remove the binary from its installation folder and remove that folder from PATH if it was dedicated to Pithio. Use pithio forget before removal if you also want to delete stored originals.

For more help, check the public source and issue tracker. Include the CLI or SDK version and the command or integration involved. Remove credentials, private paths and tool output from anything you share.