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.
Installing the sectr CLI
Section titled “Installing the sectr CLI”One command, no runtime dependencies:
curl -fsSL https://sectr.dev/install.sh | shVerify it with sectr --version.
Authenticating the sectr CLI
Section titled “Authenticating the sectr CLI”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:
sectr auth loginThe Sectr SDK
Section titled “The Sectr SDK”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:
uv add sectr