Skip to main content

Reflection's autonomous runtime — wake, read prior state, do useful work, write back, sleep.

Project description

reflect

Autonomous agent runtime. Wake, read prior state, do useful work, write back, sleep.

Reflect runs on the Claude Agent SDK and is designed to operate continuously in the background — scheduling itself, reading inbox messages, executing work across independent tracks, and persisting state between sessions.

Install

uv tool install reflect-mcp
# or
pip install reflect-mcp

Quick start

reflect init my-project
cd my-project
reflect wake start main

Wiring into Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "reflect": {
      "command": "reflect-manage"
    }
  }
}

Then restart Claude Code. The reflect MCP tools (track, track_admin, project, wake, inbox, doctor, cost) will be available.

Note: reflect-manage is the MCP server binary. reflect-serve is unrelated (FastAPI landing page).

Project root resolution: reflect-mcp walks up from your shell's cwd looking for a directory containing agent/runtime/tracks/. Launch Claude Code from your project directory and reflect will route there automatically. To force a specific project regardless of cwd, set REFLECT_PROJECT in the MCP server's env:

"reflect": {
  "command": "reflect-manage",
  "env": { "REFLECT_PROJECT": "/absolute/path/to/your/project" }
}

What's in the box

  • reflect — CLI: init, wake, track, project, inbox, and more
  • reflect-wake — wake loop runner (invoked by cron or reflect wake start)
  • reflect-manage — MCP server for IDE integration (see above)
  • reflect-dispatch — cron dispatcher (per-track scheduling)

Status

v0.3 is alpha. APIs and config formats will change.

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reflect_mcp-0.4.1-py3-none-any.whl (158.3 kB view details)

Uploaded Python 3

File details

Details for the file reflect_mcp-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: reflect_mcp-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 158.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.10","id":"oracular","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for reflect_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8de5cd0b8e22d0d6ff447a6db8107a96c975d15e74286f8961a1edce8d7c749
MD5 62197f1472c57e5a68c995e3451c9ca0
BLAKE2b-256 1799e8450ca80d37f9b0a5ca16be096cbdc8d2a994f8a5e24f1e71f77fef51a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page