Skip to main content

keystone-cli

keystone is the command-line tool of the Keystone platform. Use it to build, test, deploy and operate pro-code agents. You can also manage knowledge bases, prompts, tool credentials and skills with it.

The CLI includes the Keystone agent SDK (keystone-agent-sdk). An agent project that you create with the CLI uses that SDK.

Install

The CLI needs Python 3.12 or later.

pip install keystone-cli
keystone --version

Get started

  1. Log in. The command opens your browser and keeps your session for later commands.

    keystone login
    
  2. Select the workspace that your commands use.

    keystone workspace use <name>
    
  3. Create an agent project from a template, then check it.

    keystone agent init my-agent --template llm
    keystone agent validate my-agent
    
  4. Run the unit tests of the agent on your computer.

    keystone agent test my-agent
    
  5. Deploy the agent, make the new version Live, and call it.

    keystone agent deploy my-agent --publish --wait
    keystone agent invoke my-agent --input '{"prompt": "hi"}'
    

To see the fields of agent.yaml, run keystone agent manifest. Every command has --help.

Commands

Command What it does
keystone login, keystone whoami Log in, and show your user.
keystone workspace List and select the workspace that your commands use.
keystone agent Develop and test an agent locally (init, validate, run, test, manifest), ship it (deploy, publish, status, retire, delete), and operate and debug it (invoke, logs, fetch, doctor, runs, hitl, traces, threads).
keystone dev Run the graph of the agent locally again each time you save a file.
keystone kb Create and manage knowledge bases.
keystone prompt Manage the prompts of a workspace.
keystone tool-credentials Manage the credentials that the catalogue tools of your agents use.
keystone skills Install Claude Code skills for work on agents.
keystone version Show the CLI version, the target environment and the version of the bundled agent SDK.

When a run fails

Start with this command. It shows the steps, the errors and the logs of one run.

keystone agent runs debug <agent> <run_id>

Metadata

Release files for keystone-cli 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keystone-cli 0.4.0
File Size Uploaded Provenance Actions
keystone_cli-0.4.0.tar.gz 298.5 kB Without provenance Details for keystone_cli-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for keystone-cli 0.4.0
File Interpreter ABI Platform Actions
keystone_cli-0.4.0-py3-none-any.whl Python 3 none any Details for keystone_cli-0.4.0-py3-none-any.whl

Total release size: 568.8 kB

Release files / keystone_cli-0.4.0.tar.gz

Download URL keystone_cli-0.4.0.tar.gz
Size 298.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a0392502662f3d66731ec42ef1958211fdeb505ab374596644154c143a2b6b53
BLAKE2b-256 checksum
How to use checksums
c8481fe082b78a737e971f60f2cc95421dd0f12baf2a5458f54ae5fbd0210830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / keystone_cli-0.4.0-py3-none-any.whl

Download URL keystone_cli-0.4.0-py3-none-any.whl
Size 270.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaa9644e2e4b57ed2c2ebf9b3b2074db8b3de11da83a62cb805d4d19adfa54e7
BLAKE2b-256 checksum
How to use checksums
bb2dd51e6a42c9e1d51f12d4cba7629071611116313c62b187bd9dccd0457474
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for keystone-cli 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page