SenseLab CLI for managing AI agents
Project description
SenseLab CLI
SenseLab CLI helps you manage AI agents and run specialist workflows from your terminal.
With this CLI you can:
- authenticate with your SenseLab account
- list your projects, agents, and functions
- chat with orchestrator or specific agents
- execute agent functions/workflows
- discover and connect integrations
- apply agent configuration from YAML
- manage Rego policies for CI/CD enforcement
Install
Recommended (pipx)
pipx install senselab-cli
pip
pip install senselab-cli
Quick start
- Login:
sense-cli login --token "<YOUR_JWT_TOKEN>"
- Check configuration and auth:
sense-cli config list -o json
- List your project/agents/functions:
sense-cli projects
sense-cli agent list
sense-cli agent <agent_name_or_id> function --list
- Chat with an agent:
sense-cli agent <agent_name_or_id> --chat "Summarize current production incidents"
or run a specific function on an agent:
sense-cli agent <agent_name_or_id> --run <function_name_or_id>
Main commands
sense-cli login- authenticate and save tokensense-cli logout- clear local auth/session datasense-cli config list- show current CLI config + auth statussense-cli projects- list available project IDssense-cli agent list- list available agentssense-cli agent <agent> function --list- list functions/workflows for a specific agentsense-cli agent <agent> function- same as above (default list behavior)sense-cli agent <agent> --chat "<prompt>"- chat with a specific agentsense-cli agent <agent> --run <function>- execute a function/workflow on a specific agentsense-cli connectors list- list available connector typessense-cli connectors describe <connector>- show connector setup requirementssense-cli connectors add <type>- open connector auth/config flowsense-cli apply -f agent.yaml- declaratively create/update agent setupsense-cli policy test --repo <repo> --branch <branch> --commit <sha>- parse local.regofiles without uploadingsense-cli policy sync --repo <repo> --branch <branch> --commit <sha>- sync local.regofiles to backendsense-cli policy list- list project policiessense-cli telemetry on|off- enable/disable anonymous CLI telemetrysense-cli completion auto --install- auto-install shell completion
Configuration
Environment variables:
SENSELAB_API_URL- override API base URLSENSELAB_TOKEN- override auth tokenSENSELAB_CONFIG_PATH- custom config file pathBACKEND_URL- backend base URL for policy sync (basic-auth parity)TOKEN_NAME- CI token name for policy sync/auto-assignmentTOKEN_SECRET- CI token secret for policy sync/auto-assignment
Default config path:
~/.sense-cli/config.json
Help
sense-cli --help
sense-cli <command> --help
CI/CD example (policy sync)
export BACKEND_URL="https://dev-backend-api.app.raia.live"
export TOKEN_NAME="<ci_token_name>"
export TOKEN_SECRET="<ci_token_secret>"
sense-cli policy test --repo "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" --branch "$GITHUB_REF_NAME" --commit "$GITHUB_SHA" --path ./raia/policies -o table
sense-cli policy sync --repo "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" --branch "$GITHUB_REF_NAME" --commit "$GITHUB_SHA" --path ./raia/policies --auto-assignment -o json
sense-cli policy list -o table
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
senselab_cli-0.1.21.tar.gz
(37.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file senselab_cli-0.1.21.tar.gz.
File metadata
- Download URL: senselab_cli-0.1.21.tar.gz
- Upload date:
- Size: 37.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2ba6b912eddb385cde40fc6ff4af39cf06ffb49a80e4b7590a3d2f5fcf3c3bb
|
|
| MD5 |
95aca297ce101111f3836e26b514c288
|
|
| BLAKE2b-256 |
c39f67cc38e7c3976fda442116e31d81f1b221f711c5e24823a495739864a414
|
File details
Details for the file senselab_cli-0.1.21-py3-none-any.whl.
File metadata
- Download URL: senselab_cli-0.1.21-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e321dddcf1791d98584b5b31d65d0fb147d19eed65f78c74a9fb3ee1accfec42
|
|
| MD5 |
451ba009178a149c3027158d53a31ae4
|
|
| BLAKE2b-256 |
4d0b2aba5f0fa948249405b02855fea4a4ea87c5758e417d68d6124e25e28e2c
|