Use a Loop for work you want an agent to repeat: review security or documentation, investigate connected service signals, or follow a project-specific checklist. An admitted agent turn has its own session, so you can inspect what it did and reported. A run can fail before its session is created.
Loops follows the selected project. Use the project rail to switch projects without leaving the Loops workspace.
Create a Loop
- Select Loops in the project rail, then choose New Loop. The rail remains available; Close Loops or Home returns to your previous workspace.
- Write the instructions and give the Loop a name. Examples offers Security, Documentation, Sentry, Datadog, and Analytics starting points; edit them to name the project, scope, and evidence you need. Examples do not connect services or change permissions.
- Choose when it runs: every day, weekdays, custom days, an interval, manually, or for a submitted signal. Calendar schedules show their time zone and follow its daylight-saving rules. A signal trigger matches data already sent to endloop; it does not subscribe to an external service.
- Choose an outcome:
- Report findings reviews and reports without edits. - Create project work can create or reuse an initiative or story for an actionable condition. - Make changes can make changes in an isolated worktree for you to review.
- For work creation or changes, explicitly choose Supervised or Auto-edits. The selected session's authority and project policy remain ceilings; an agent cannot gain a permission it was denied. Agent and model choices are available under Agent & model.
- Save the Loop. It starts paused. Review its settings, then enable it or choose Run now.
Supervised actions require approval. Auto-edits allows permitted edits, but commands and connected-service reads can still require approval. A run waiting for approval cannot finish unattended. Fixes do not automatically merge code; review the session and Changes.
Create-work runs need a selected, authorized workflow project and a stable source identity to recognize recurring conditions. Datadog conditions are rechecked against a live observation; other source identities and evidence are reported by the agent and should be reviewed.
To request follow-through, select Request initiative workflow for a create-work Loop. This opts in to handing a newly created or matching initiative to the project's existing workflow owner; stories are not handed off. Creating the work uses the Loop's permission. The owner's current workflow permissions, reservations and approval gates govern the subsequent work. The owner may need a decision or may not start the workflow.
The handoff is independent once committed: pausing or stopping the Loop does not cancel the owner's workflow. The run shows whether the request is pending, blocked, delivered to the owner, or unknown. Owner notified confirms delivery of the request, not that the workflow started or completed. Open the initiative to inspect its actual state and decisions.
Run and review
Agent-task Loops appear first in the list; older rule-based entries are labeled Monitor. Select a Loop to see its latest run and result, with older runs below it. Verified links open work created or reused by the run; the agent's reported evidence still needs review. When a session was created, Open session shows the conversation, tool calls, approvals, and any changes or created work. Older runs whose session creation cannot be verified do not show the link. A completed session means the agent turn finished; inspect its response and evidence rather than assuming every requested source was checked or every finding verified.
Pause prevents future scheduled or signal-triggered runs; it does not stop a run already in progress. Use Stop run for that run. Stop requests cancellation and does not undo completed changes or guarantee that an external service has stopped its own work.
Scheduled Loops run only while the local endloop service is available. Wall-clock schedules use the selected time zone and its daylight-saving rules. The project Loop token budget accounts for Cortex provider usage; a single in-flight request can exceed the remaining allowance, and external service, MCP, or subprocess costs are outside that token budget. Unknown usage may keep budget capacity reserved until it can be reconciled.
Agent Loops do not currently dispatch child agents or run with custom configured plugin hooks. If a custom plugin is configured, the run is refused rather than silently skipping it.
Connect the data you want reviewed
Connect Sentry or Datadog before asking a Loop to review them, and specify the relevant organization or project. Datadog reviews can use active monitors; creating work from one requires a current authenticated monitor observation. A missing connection, denied approval, or failed read is not evidence that everything is healthy.
Product analytics require a connected, authorized MCP server that provides the relevant metrics. The Analytics starter does not connect one or invent data. Review the session to see the actual source and time window used.
Advanced monitors
Existing rule-based Loops and their history remain available. Use More → New advanced monitor to create one. Monitor history → Results shows its findings, opportunities, and informational results; Action runs shows monitor action history and controls. To act on multiple results, select them and choose Review selected. Review the listed results and choose whether to group compatible results or run them separately before confirming. These actions run in isolated worktrees; project policy and approvals still apply. If a selected result changes, review it again.
If a documentation finding needs your intent, open the finding and record your decision beside its evidence. Review a completed monitor action's result in its action-run details. These Loop results and reviews do not appear in Needs you; separate tool permissions and initiative workflow decisions can still require approval.
These action runs use the older monitor's bounded mission mechanism, which ordinary Loops and initiative workflows do not require. Some run details still use the term “mission.” A finding is not itself approval to start an action. Pausing a monitor does not stop an action already in progress.