Setting Up 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_…).
Run sectr auth login so all future commands need no flags. It opens app.sectr.dev in your browser: sign in with GitHub, Google, Vercel or an email code if asked, check that the code matches your terminal, and approve the request. The CLI finishes on its own.
sectr auth loginOn a remote machine (SSH, a container), add --no-browser: it prints the link for you to open on any device. In CI, set SECTR_PLATFORM_KEY to a platform key created in Settings → API keys, or pass one with --key.
Giving your coding agent the Sectr skill
Section titled “Giving your coding agent the Sectr skill”If you build with a coding agent (Claude Code, Codex, Cursor, and others), install the sectr agent skill: these docs, packaged so your agent can look up the CLI, SDK and API while it works on your Sectr project.
npx skills add sectr-dev/skillsThat installs it into the current project. Add -g to install it globally instead.