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.3.6-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflect_mcp-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 151.7 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.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dd7aba7437b6e24a8ff23c6d6e893af64ff3e9d6910127ebf667845a3219c556
MD5 fe91ee7fd7070ea64f33528765d0e5d8
BLAKE2b-256 55797300ebef0b86e08614a7ee104f0a67cb16843b04a6af95f2d85fbbb8d479

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