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 morereflect-wake— wake loop runner (invoked by cron orreflect 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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reflect_mcp-0.3.4.tar.gz.
File metadata
- Download URL: reflect_mcp-0.3.4.tar.gz
- Upload date:
- Size: 126.2 kB
- Tags: Source
- 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
868f475cf4ffad5b57279a9d60bb2ac864d5f83345dafb9ab023a8f1ad8d0035
|
|
| MD5 |
d489d4fa05c6479a6b9c6231f00e50d5
|
|
| BLAKE2b-256 |
5e1decfa30e9555e177cf8c1608dc0c03c2c0d7884d0beb9f901f72f84078a04
|
File details
Details for the file reflect_mcp-0.3.4-py3-none-any.whl.
File metadata
- Download URL: reflect_mcp-0.3.4-py3-none-any.whl
- Upload date:
- Size: 150.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffe97f571b1c94d9f991ea59e837bc603902e3e8d0ddc1a7c5ec22556fe90d67
|
|
| MD5 |
263c8536f6910df0ea10413f9ec2766a
|
|
| BLAKE2b-256 |
0f38162cc5453736a69e339d07aa15d98fbe44edbb28fbedb5b7dc371369bb19
|