Skip to content

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.

Already running it?

A run goes from its trigger through six steps: freeze the plan, open a sandbox, run the agent, save outputs, publish and notify.

  • A skill is a SKILL.md file 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.