Documentation
SecondShift runs AI agents on your repositories: on demand, on a schedule, or when an alert fires. You describe the work as a skill in Git. SecondShift runs it on your own server, in a sandbox without network access, and the agent can call only the tools a workspace owner approved. It is open source under Apache 2.0.
A CI check fails on two pull requests. The CI failure fixer from Explore traces both failures to one bug, opens a draft fix, and a second draft schedules it.
Where to start
Section titled “Where to start”
01Evaluate itLock-in, what data leaves your network, what an agent can touch, and what it can spend.
02Try it on your laptopRun a skill on a repository and read its report in a few minutes. Needs Docker, uv, and a model API key or a Claude Code or Codex subscription.
03Deploy for your teamRun the shared service on your own server with Docker Compose and gVisor.
Already running it?
- Run something once and read the report later: one-off tasks.
- Make it recurring: repository jobs.
- Give jobs access to Sentry, Linear, Grafana or your own API: connections.
- Decide who approves what, and cap each run: control.
How it fits together
Section titled “How it fits together”- A skill is a
SKILL.mdfile of plain instructions in a repository. Explore and the skill catalog have ready-made ones. - A job runs a skill when you choose: by hand, on a schedule or from a
webhook. It lives in the repository’s
.secondshift.yaml, so changes to it go through review. A task runs a skill or written instructions once, without any configuration. - A run is one execution. It gets a fresh sandbox with the repository at one commit, no network and no credentials. It stops at its limits on time, tokens, model calls and tool calls.
- A connection gives jobs tools from a service, such as Sentry or an MCP server. A job asks for it by a name, its binding. A workspace owner decides which tools each job gets. The agent never holds the credential.
- A model is an API key or a subscription that every job in the workspace runs on. See models.
- A workspace is one team’s setup: its repositories, jobs, connections, approvals and run history. Owners connect services and approve access, admins run jobs, members can view.
Comparing tools? See how SecondShift differs from the alternatives. Looking for a setting? The Reference section in the sidebar has every manifest field and environment variable.