Skip to main content

Prism — code-intelligence CLI for AI coding agents

Project description

swisper-prism-cli

prism — code-intelligence CLI for AI coding agents. Search, navigate, and reason about your codebase from the shell, with overlay-γ awareness for unpushed local edits.

Install

pip install --user swisper-prism-cli

Or with pipx (recommended on systems where pip --user is restricted):

pipx install swisper-prism-cli

Requires Python ≥ 3.11.

Auth

Generate a developer token at https://prism-console-swisper.web.app/settings, then either:

export PRISM_TOKEN="prism_<your-token>"

…or rely on ~/.claude.json:mcpServers.prism-hosted.headers.Authorization if you already have the Prism MCP server configured (the CLI piggybacks on that config).

Verify

prism ping

Expected: {"status": "ok", ...} plus a freshness timestamp.

Common commands

prism search "rate limit retry"
prism find-refs "User.save" --pretty
prism def "MyClass.handler"
prism prepare-edit "MyClass.handler"
prism module-map
prism --help

The --auto-overlay flag (default ON for editing-relevant subcommands) handles freshness for unpushed local edits — your dirty-file content flows into the query without a reindex.

Surfaces

Tool When
prism CLI (this package) Coding agents — anything with shell access (Cursor, Claude Code, Windsurf, Codex, Devin, Antigravity)
MCP server (prism-hosted in ~/.claude.json) Non-editing agents (chatbots like Claude Desktop)

Both surfaces talk to the same gateway and use the same token.

Contributing (developers)

git clone https://github.com/Fintama/swisper_prism
cd swisper_prism/apps/prism-cli
uv pip install -e .
uv run python -m pytest tests/ -v

See CHANGELOG.md for release history.

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

swisper_prism_cli-0.16.0rc1.tar.gz (436.6 kB view details)

Uploaded Source

Built Distribution

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

swisper_prism_cli-0.16.0rc1-py3-none-any.whl (343.4 kB view details)

Uploaded Python 3

File details

Details for the file swisper_prism_cli-0.16.0rc1.tar.gz.

File metadata

  • Download URL: swisper_prism_cli-0.16.0rc1.tar.gz
  • Upload date:
  • Size: 436.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for swisper_prism_cli-0.16.0rc1.tar.gz
Algorithm Hash digest
SHA256 1a09190ddb8020367d9a17d19e21d558a72cb29cf40955418846686e44fc0e04
MD5 c2195a133defee5b668e17e1b300713f
BLAKE2b-256 fb4f4e466b9e4981f3818a9b19e9e934cd923c6332ad9bd71cb474c960165499

See more details on using hashes here.

File details

Details for the file swisper_prism_cli-0.16.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for swisper_prism_cli-0.16.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d84335ee96f1e2ea7dc4e8bd94042e58d4a0c6ba5974432b7ab1a9d08605f0
MD5 c292059b31e7026ceda6a61e2b72967e
BLAKE2b-256 2fbe3b4fd0a09a6d14ba8be5dcf815e002e446672cdf62ad159a396fa0467206

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