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

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflect_mcp-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 154.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.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d4c7ae56971e5f25505dbfe78b459db34dde5730a22c16a20373b0d205de5b98
MD5 f0e0a576f8b1e3588e13674f5b371960
BLAKE2b-256 23652e9926d3c40137f165001fa5ac4db7e1389565f25cbf876238fd459bd56f

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