Skip to main content

User-facing PSI command line tools.

Project description

Psi CLI

psi is the user-facing command line for running PSI packages locally.

Install

python -m pip install prosi-psi-cli psihub lllm-core sssn

Launch A Package

Download a package folder, then launch its primary resource as a FastAPI service:

psi launch packages/analyst-tactics --port 8000

The launcher reads psi.toml and serves the package's primary resource:

  • tactics.* resources become LLLM FastAPI tactic services with /run;
  • services.* resources use their FastAPI entrypoint, or fall back to the service's declared tactic when present;
  • channels.* resources become SSSN store services with /channels, /events, /subscriptions, /artifacts, and /snapshots.

Inspect what will be served without starting the server:

psi inspect packages/analyst-tactics

Launch a specific resource when a package has several services:

psi launch packages/society-sentinel --resource services.sentinel_api --port 8130

Direct Python entrypoints work too:

psi launch my_package.service:create_app --port 8000

psi launch is intentionally a local server starter. PsiHub owns package validation, cards, downloads, and metadata; AAAX owns higher-level strategy composition.

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

prosi_psi_cli-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

prosi_psi_cli-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file prosi_psi_cli-0.1.0.tar.gz.

File metadata

  • Download URL: prosi_psi_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for prosi_psi_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 268a555004f6fdac06d96eabddeabf69884d129a96038387862a0138e75ed3bd
MD5 d7a10d06a8a235f9a55225b9840816b7
BLAKE2b-256 985470999891f58d4e6cf866240d66c160a8306b987184670069f3e693766fb6

See more details on using hashes here.

File details

Details for the file prosi_psi_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: prosi_psi_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for prosi_psi_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55e526c794a019c2cc130ceaef693ea40189aaafe23e4f742da7c818f90afaac
MD5 2ec2d69fd2bc8d329d6cf2b8939e6ac7
BLAKE2b-256 e10bb4728b2843dc5e85a90f534033ab1c57426cdc82c660bae22195ad5e85a5

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