Pick up AI coding work where the last agent left off.

dot-agents adds an AGENTS.md and a small .agents/ folder to your repo. When work needs review or another session, your agent keeps the why, the decisions, and the next step in one Markdown file the next agent resumes from.

Works with Amp, Codex, Claude Code, and any agent that reads AGENTS.md.

What lands in your repo

Plain files the next session can read.

A work item's index.md holds the current state: why, what is done and left, decisions, and the next step. log.md beside it keeps the history. Both live in git, so people review them like any other file.

your-project/installed
├── AGENTS.md       # project instructions
└── .agents/
    ├── work/       # work items
    ├── research/   # findings worth reusing
    ├── references/ # cloned repos (gitignored)
    ├── skills/     # adapt, agent-work, research
    └── scripts/    # sync updates
.agents/work/sync/retry-policy/index.md● saved
# Retry policy for sync workers

Status: blocked

## Why
Sync jobs fail on transient errors; the team
must agree on one retry policy.

## Summary
Done: proposal.md with backoff options.
Remaining: max attempts, then implement.
Branch retry-policy at 3f2a9c1; uncommitted: none.

## Decisions
- Accepted: retry only idempotent jobs
  (Dana, 2026-06-20, review call).
- Proposed: 5 attempts (Dana decides).

## Next Action
- Dana decides max attempts.

Get started

Three steps.

  1. Install from your repository root

    It creates AGENTS.md and .agents/. Running it again updates dot-agents and keeps your work.

    terminal — repo rootbash
     curl -fsSL https://raw.githubusercontent.com/colmarius/dot-agents/main/install.sh | bash

    Read it firstcurl -fsSL https://raw.githubusercontent.com/colmarius/dot-agents/main/install.sh | less

    Pin v0.6.0curl -fsSL https://raw.githubusercontent.com/colmarius/dot-agents/v0.6.0/install.sh | bash -s -- --ref v0.6.0

  2. Tell your agent Run adapt

    It fills AGENTS.md with your project's commands and conventions.

  3. Ask for a work item when you need one

    Create a work item for … starts one. In a later session, Continue the work item at … picks it up.

When to use a work item

Most work needs no files.

One conversation can finish it
Just ask. The agent does the work, checks it, and reports. Nothing is saved.
People must review it, or it continues later
Ask for a work item. It can hold research or a proposal for people to decide on, and a log any session can resume from. When you ask to close it, what should last moves into your code and docs, and the item is removed.
Read how it works

Want the practice behind it? With Agents is a field guide to briefing coding agents, checking their work, and keeping context.