Skip to content

Setting Sectr for Development

Developing agents requires the sectr CLI to be installed on your dev machine, to be able to run agents locally and deploy them to Sectr Cloud. Your agent itself only needs to depend on and import the sectr Python SDK.

One command, no runtime dependencies:

Terminal window
curl -fsSL https://sectr.dev/install.sh | sh

Verify it with sectr --version.

All cloud commands (sectr deploy, sectr secrets, etc.) authenticate with a platform API key (skp_…, created at first signup and in Settings → API keys). Authenticate the CLI using sectr auth login so all future commands need no flags, entering your platform key when prompted:

Terminal window
sectr auth login

The SDK ships from PyPI as sectr. Projects scaffolded with sectr init already declare it — if you’re starting from an existing codebase, add it:

Terminal window
uv add sectr