Metadata-Version: 2.5
Name: sase
Version: 0.18.1
Summary: Structured Agentic Software Engineering
Project-URL: Homepage, https://sase.sh/
Project-URL: Documentation, https://sase.sh/
Project-URL: Repository, https://github.com/sase-org/sase
Project-URL: Issues, https://github.com/sase-org/sase/issues
Author: Bryan Bugyi
Maintainer: Bryan Bugyi
License-Expression: MIT
License-File: LICENSE
Keywords: agentic software engineering,automation,coding agents,developer tools,workflow orchestration
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Version Control
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: jinja2
Requires-Dist: jsonschema
Requires-Dist: packaging
Requires-Dist: pillow
Requires-Dist: pluggy
Requires-Dist: pygments==2.19.2
Requires-Dist: pyinstrument
Requires-Dist: pyyaml
Requires-Dist: resvg-py==0.3.3
Requires-Dist: rich
Requires-Dist: ruamel-yaml<1.0,>=0.18
Requires-Dist: sase-core-rs==0.42.6
Requires-Dist: schedule
Requires-Dist: textual[syntax]>=0.45.0
Requires-Dist: wcmatch
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: hypothesis; extra == 'dev'
Requires-Dist: inline-snapshot; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest-mock; extra == 'dev'
Requires-Dist: pytest-xdist; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Requires-Dist: symvision<0.2.0,>=0.1.0; extra == 'dev'
Requires-Dist: toobig<0.2.0,>=0.1.0; extra == 'dev'
Requires-Dist: tox; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs-material<10,>=9.7; extra == 'docs'
Requires-Dist: mkdocs-redirects<2,>=1.2; extra == 'docs'
Requires-Dist: mkdocs-rss-plugin<2,>=1.18; extra == 'docs'
Provides-Extra: docs-pdf
Requires-Dist: mkdocs-exporter<7,>=6.2; extra == 'docs-pdf'
Requires-Dist: mkdocs-material<10,>=9.7; extra == 'docs-pdf'
Requires-Dist: mkdocs-redirects<2,>=1.2; extra == 'docs-pdf'
Requires-Dist: mkdocs-rss-plugin<2,>=1.18; extra == 'docs-pdf'
Requires-Dist: pillow; extra == 'docs-pdf'
Requires-Dist: pypdf<7,>=5; extra == 'docs-pdf'
Provides-Extra: terminal-smoke
Requires-Dist: pexpect<5,>=4.9; extra == 'terminal-smoke'
Requires-Dist: pyte<1,>=0.8; extra == 'terminal-smoke'
Provides-Extra: visual
Requires-Dist: emoji==2.15.0; extra == 'visual'
Requires-Dist: fonttools==4.60.1; extra == 'visual'
Requires-Dist: linkify-it-py==2.1.0; extra == 'visual'
Requires-Dist: markdown-it-py==4.0.0; extra == 'visual'
Requires-Dist: mdit-py-plugins==0.5.0; extra == 'visual'
Requires-Dist: pillow==12.2.0; extra == 'visual'
Requires-Dist: pygments==2.19.2; extra == 'visual'
Requires-Dist: resvg-py==0.3.3; extra == 'visual'
Requires-Dist: rich==14.3.3; extra == 'visual'
Requires-Dist: textual==8.0.1; extra == 'visual'
Requires-Dist: tree-sitter-bash==0.25.1; extra == 'visual'
Requires-Dist: tree-sitter-css==0.25.0; extra == 'visual'
Requires-Dist: tree-sitter-go==0.25.0; extra == 'visual'
Requires-Dist: tree-sitter-html==0.23.2; extra == 'visual'
Requires-Dist: tree-sitter-java==0.23.5; extra == 'visual'
Requires-Dist: tree-sitter-javascript==0.25.0; extra == 'visual'
Requires-Dist: tree-sitter-json==0.24.8; extra == 'visual'
Requires-Dist: tree-sitter-markdown==0.5.1; extra == 'visual'
Requires-Dist: tree-sitter-python==0.25.0; extra == 'visual'
Requires-Dist: tree-sitter-regex==0.25.0; extra == 'visual'
Requires-Dist: tree-sitter-rust==0.24.2; extra == 'visual'
Requires-Dist: tree-sitter-sql==0.3.11; extra == 'visual'
Requires-Dist: tree-sitter-toml==0.7.0; extra == 'visual'
Requires-Dist: tree-sitter-xml==0.7.0; extra == 'visual'
Requires-Dist: tree-sitter-yaml==0.7.2; extra == 'visual'
Requires-Dist: tree-sitter==0.25.2; extra == 'visual'
Description-Content-Type: text/markdown

<div align="center">

# sase

**One developer. A team of coding agents. Tracked, reviewable, repeatable work.**

[![Docs](https://img.shields.io/badge/docs-sase.sh-3b82f6?logo=readthedocs&logoColor=white)](https://sase.sh/)
[![CI](https://github.com/sase-org/sase/actions/workflows/ci.yml/badge.svg)](https://github.com/sase-org/sase/actions/workflows/ci.yml)
[![Master Gate](https://github.com/sase-org/sase/actions/workflows/master-gate.yml/badge.svg)](https://github.com/sase-org/sase/actions/workflows/master-gate.yml)
[![Full CI](https://github.com/sase-org/sase/actions/workflows/full.yml/badge.svg?branch=master)](https://github.com/sase-org/sase/actions/workflows/full.yml)
[![PyPI](https://img.shields.io/pypi/v/sase?logo=pypi&logoColor=white)](https://pypi.org/project/sase/)
[![Python versions](https://img.shields.io/pypi/pyversions/sase)](https://pypi.org/project/sase/)
[![License: MIT](https://img.shields.io/badge/license-MIT-22c55e)](https://github.com/sase-org/sase/blob/master/LICENSE)

<p><small>CI checks pull requests, Master Gate is the per-SHA master release gate, and Full CI runs the scheduled exhaustive lane.</small></p>

<img src="https://raw.githubusercontent.com/sase-org/sase/master/docs/images/sase_overview.png" alt="One developer using SASE to run parallel coding agents in isolated workspaces with tracked, reviewable results" width="830">

<p><em>One prompt fans out to parallel agents in isolated workspaces; sase's TUI supervises, AXE schedules, durable state tracks Patches, beads, and artifacts, and reviewed PRs are the output.</em></p>

</div>

**sase** (Structured Agentic Software Engineering, pronounced "sassy") turns Claude
Code, Codex, Antigravity, Qwen Code, OpenCode, Meta's Muse Code, and xAI's Grok Build
into a coordinated engineering team. One developer supervises parallel agents in
isolated workspaces, with every run tracked, reviewable, and repeatable.

**Status:** sase is alpha software, and its interfaces and workflows are still evolving.
It supports POSIX systems (Linux and macOS) only; Windows is not supported. sase assumes
you have at least one supported agent CLI installed and authenticated for production
work, and that you prefer opinionated git-based, workspace-per-agent workflows; if you
want a standalone agent instead of a coordination layer, use those CLIs directly.

## Why sase

- Launch, monitor, resume, and archive agent runs from one keyboard-driven TUI (**sase's
  TUI**).
- Run agents in parallel, each in an isolated numbered workspace clone.
- Keep prompts and multi-step workflows reusable (**Macros**) instead of trapped in
  shell history.
- Track every PR-sized unit of work with status, commits, comments, and review state
  (**Patches**).
- Keep person-owned outcomes and their status in durable **Goals**.
- Record project tool runs and ad-hoc commands, with their output and diagnostics, as
  **ToolRuns**.
- Schedule background and recurring agent work with the **scheduler** service proc.

sase does not replace coding agents; it makes agent-driven engineering dependable.

## See it in action

**One prompt, three live agents, three models.** A single GitHub prompt fans out to
Claude, Codex, and Antigravity, runs all three agents in isolated workspaces, and keeps
kill controls close at hand.

<img src="https://raw.githubusercontent.com/sase-org/sase/master/docs/images/blog/sase_ace_multi_model_fanout_still.png" alt="sase's TUI launching one GitHub prompt as three live Claude, Codex, and Antigravity agents, then killing them from the Agents tab" width="830">

**Supervise every run.** The Agents tab shows live status, retry chains, per-agent
diffs, chats, and artifact files from one control surface.

<a href="https://github.com/sase-org/sase/blob/master/demos/out/sase_ace_agents_observability.mp4"><img src="https://raw.githubusercontent.com/sase-org/sase/master/docs/images/blog/agents_observability_still.png" alt="sase's TUI Agents tab showing live runs, retry chains, diffs, chats, and artifact files" width="830"></a>

<em>Select the still to watch the 29-second demo.</em>

**Land tracked changes.** The Patches view follows the Patch lifecycle from WIP to
Submitted, with grouping, search, stitches, and diffs.

<a href="https://github.com/sase-org/sase/blob/master/demos/out/sase_ace_prs_pipeline.mp4"><img src="https://raw.githubusercontent.com/sase-org/sase/master/docs/images/blog/sase_ace_prs_pipeline_still.png" alt="sase's TUI Patches view showing work moving through the review and submission pipeline" width="830"></a>

<em>Select the still to watch the 26-second demo.</em>

## Quick start

Prerequisites: Linux or macOS (POSIX; Windows is not supported), Python 3.12+,
[uv](https://docs.astral.sh/uv/), `git`, a text editor (`$EDITOR`, falling back to
`nvim` then `vim`), and one authenticated agent CLI: Claude Code, Codex, Antigravity CLI
(`agy`), Qwen Code, OpenCode, Meta's Muse Code (`muse`), or xAI's Grok Build (`grok`).
SASE's default provider autodetection never selects Muse or Grok from `PATH`, because
those executable names are generic; select either explicitly with a provider/model
directive. Model-alias routing is a separate mechanism: whichever shipped size aliases
currently target Muse or Grok can select them (see the generated
[shipped size-alias defaults](https://sase.sh/reference/providers/models/#implicit-role-aliases)).
The `+home` examples below run in SASE's built-in `home` sandbox, not in your current
directory.

```bash
uv tool install "sase>=0.18"                   # add a plugin too: uv tool install "sase>=0.18" --with sase-github
sase doctor                                               # check install, config, and provider authentication
sase completion install                                   # optional: <TAB> completion for zsh, bash, or fish
sase run "+home summarize what this repository does; do not change files" # auto-detected providers
# Or, for Muse Code:
sase run "%model:muse/muse-spark-1.3 +home summarize what this repository does; do not change files"
# Or, for Grok Build:
sase run "%model:grok/grok-4.7 +home summarize what this repository does; do not change files"
sase tui                                                  # open the interactive control surface
```

For a first run, use the auto-detected-provider command, or one of the explicit
Muse/Grok examples for deterministic provider selection. The `+home`
[project tag](https://sase.sh/reference/macros/reference-syntax/#project-tags) targets
the built-in `home` project, which is bootstrapped automatically, so the first run needs
no project setup. It expands to the canonical `#git:home` workspace reference. After the
run completes, `sase tui` opens the TUI with the completed run visible on the Agents
tab.

If `sase doctor` reports a missing provider, install and authenticate it, then run the
check again; see
[Choose providers and models](https://sase.sh/guides/choose-providers-models/). For full
installation details use [INSTALL.md](https://github.com/sase-org/sase/blob/master/INSTALL.md), or follow
[Get started](https://sase.sh/start/) for the guided path.

## Works with your agents

| Agent                                                                           | Status        |
| ------------------------------------------------------------------------------- | ------------- |
| [Claude Code](https://docs.anthropic.com/en/docs/claude-code)                   | **Supported** |
| [Antigravity CLI (`agy`)](https://antigravity.google/)                          | **Supported** |
| [Codex](https://github.com/openai/codex)                                        | **Supported** |
| [Qwen Code](https://github.com/QwenLM/qwen-code)                                | **Supported** |
| [OpenCode](https://opencode.ai/)                                                | **Supported** |
| [Muse Code](https://developer.meta.com/ai/resources/blog/build-with-muse-code/) | **Supported** |
| [Grok Build](https://docs.x.ai/build/overview)                                  | **Supported** |

## Learn more

**The complete documentation lives at [sase.sh](https://sase.sh/).** New here? Start
with [Run your first agent](https://sase.sh/start/first-run/) (about 15 minutes), then
pick the door that matches your goal:

- [Learn — Get started](https://sase.sh/start/) — install SASE, run a first agent, and
  review a first change
- [Do — Guides](https://sase.sh/guides/) — goal-titled how-tos for setup, daily work,
  and fixing problems
- [Understand — Concepts](https://sase.sh/concepts/) — how agents, work units, and
  landing fit together
- [Look up — Reference](https://sase.sh/reference/) — CLI, configuration, keymaps, and
  glossary

A few guides worth bookmarking:

- [Add an existing repository](https://sase.sh/guides/add-existing-repository/) — work
  in a repository you already have
- [Choose providers and models](https://sase.sh/guides/choose-providers-models/) — ready
  one provider and pick the model agents use
- [Diagnose problems with sase doctor](https://sase.sh/guides/diagnose-with-doctor/) —
  run the read-only checks first
- [Recover an interrupted agent](https://sase.sh/guides/recover-interrupted-agent/) —
  restart, resume, or revive a broken run

- [Blog](https://sase.sh/blog/) — announcements and deep dives
- [The SASE Handbook (PDF)](https://sase.sh/downloads/sase-handbook.pdf) — the
  Guide-tier handbook and launch essay in one document
- [Support](https://github.com/sase-org/sase/issues) — report bugs and ask questions in
  GitHub Issues

## Development

Development requires [`just`](https://github.com/casey/just). Start with
[CONTRIBUTING.md](https://github.com/sase-org/sase/blob/master/CONTRIBUTING.md), then see
[Development](https://sase.sh/contribute/development/) for the full contributor guide.

```bash
git clone https://github.com/sase-org/sase
cd sase
just install-venv
sase core health
```

`just install-venv` sets up this checkout's `.venv` for tests and lint — it never
touches your global `sase` command. See
[Your `sase` versus this checkout's `.venv`](https://sase.sh/contribute/development/#your-sase-versus-this-checkouts-venv)
before reaching for `just install` or `just install-dev`.

Run `just check-full` before submitting changes. That exhaustive local lane updates TUI
screenshot goldens; CI checks them with `just fix-tui-screenshots --check`. SASE agents
use `just check` unless explicitly instructed to run `just check-full`, and run either
through `sase tool run` (`sase tool run check` or `sase tool run check-full`); the raw
`just` recipes refuse to run in a SASE agent process.

## Acknowledgements

sase builds on
[Boris Cherny's parallel-agents demonstration](https://x.com/bcherny/status/2007179832300581177),
[Steve Yegge's beads](https://github.com/steveyegge/beads),
[Agentic Software Engineering](https://arxiv.org/abs/2509.06216), and
[PDL](https://arxiv.org/abs/2410.19135). See the
[full acknowledgements](https://sase.sh/contribute/acknowledgements/).

## License

sase is licensed under the MIT License. See [LICENSE](https://github.com/sase-org/sase/blob/master/LICENSE).
