Local-first agentic memory for AI tools, powered by the Pi runtime.
Project description
Syke
Syke is local-first memory for AI tools.
It watches the agent harnesses you already use, keeps durable memory in a local
SQLite store, and exposes the current map through syke memex, syke ask, and
agent capability registration.
The current release is built around one simple promise:
Your AI tools should remember your work without sending your whole life to a new hosted memory service.
What Syke Does
- Reads local agent activity from supported harnesses such as Claude Code, Codex, OpenCode, Cursor, GitHub Copilot, Antigravity, Hermes, and Gemini CLI.
- Synthesizes durable memory into
~/.syke/syke.db. - Projects the current working map into
~/.syke/MEMEX.md. - Lets you ask deeper questions with
syke ask. - Lets you save explicit notes with
syke record. - Runs a background daemon so memory can stay fresh without manual exporting.
- Installs Syke capability surfaces into detected agent environments.
What Changed In 0.5.2
This is the release where Syke becomes a cleaner local runtime instead of a pile of research-era plumbing.
- The old copy pipeline is gone. Syke no longer stages harness activity through a second event database.
- The memory store is one file:
~/.syke/syke.db. - Harness data stays where each tool wrote it. Syke installs adapter markdowns that teach the runtime how to read those artifacts directly.
- Pi is the canonical runtime for ask and synthesis.
- Provider state lives under
~/.syke/pi-agent/, not in scattered shell state. - Setup is inspect-then-apply, with JSON agent mode for automation.
- Source selection is persisted and reused by setup, sync, and daemon flows.
- The daemon reports process, registration, IPC, and warm runtime state instead of pretending everything is fine.
- Replay and benchmark tooling have moved out of this repo into a sibling lab.
Quickstart
pipx install syke
syke setup
syke doctor
syke memex
syke ask "What changed this week?"
Alternative install:
uv tool install syke
syke setup
Agent/non-interactive setup:
syke setup --agent
syke setup --agent returns JSON with a status field:
needs_runtime- install Node.js 18+ and rerun setupneeds_provider- configure provider auth and rerun setupcomplete- setup finishedfailed- inspect the returned error
Daily Commands
syke memex
syke ask "what should I remember about this project?"
syke record "The release blocker is daemon setup on macOS."
syke status
syke doctor
Background sync:
syke daemon start
syke daemon status
syke daemon logs
syke daemon stop
Where This Is Heading
The hard question for personal memory isn't whether a model can recall things. It's what memory even means for someone who spends most of their life on computers. Markdown and a filesystem is good enough for a single agent at smaller scales. Cross-harness work is chaotic in many many different ways, and the interesting part is what happens when memory has to fit one specific person, span every tool they use, and keep evolving with them.
Syke's stance is n = 1. Every memory architecture has to be personalized to its user and keep adapting as they change. There is no universal answer — only the next iteration of yours.
While I work on the benchmarking side, the version that exists today is good enough to use across your tools and play with. This is not the intended use — the intended use is the right synthesis prompt paired with measurables, and that comes later. In the meantime:
- The synthesis prompt is yours. Open
~/.syke/PSYCHE.mdand the synthesis skill atsyke/llm/backends/skills/pi_synthesis.md. Edit them. Watch the memex change with you. The prompt is the experiment. - Make your own observations. Run a few cycles, see what the memex looks like against your real work, then open an issue with what surprised you, what was useful, what felt off.
- Bring the inspiration. A lot of recent work points at how memory could behave inside agents. Pick the ideas that fit your life and try them. Syke is meant to be the substrate, not the answer.
Fun tip: edit the synthesis prompt to have the agent read its own rollout traces and propose changes to its own memory. You've quietly built a hyperagent meta-harness aimed at the memory problem itself. In practice it tends toward self-absorbed behavior — balancing that against measurable usefulness is exactly the kind of question good benchmarking primitives would let us actually answer.
What I'm focused on next is the harder side: how do we even measure memory. The goal is a practical benchmark — one that works on your data, your workflow, your sense of what counts as remembering well. If the primitives hold up, we'll be able to say which architectures are better or worse at which kinds of memory problems, instead of arguing about it. Without that, iteration is guesswork.
Issues, pull requests, and forks all welcome.
Trust Model
Syke is intentionally local-first.
- Primary workspace:
~/.syke/ - Mutable memory store:
~/.syke/syke.db - Current memex projection:
~/.syke/MEMEX.md - Identity/runtime prompt context:
~/.syke/PSYCHE.md - Adapter guides:
~/.syke/adapters/{source}.md - Pi provider/runtime state:
~/.syke/pi-agent/
Ask and synthesis run through Pi inside Syke's workspace contract. On macOS, Syke launches Pi with an OS sandbox that denies broad filesystem reads and only allows catalog-scoped harness paths, Syke workspace writes, temp writes, and network needed for provider calls.
macOS Permissions And Sandbox
Syke has two macOS safety layers:
- Runtime sandbox: ask and synthesis run Pi under
sandbox-execwhen available. The sandbox is deny-default for broad file reads, grants read-only access to selected harness roots, and grants write access to Syke's workspace, the active Pi state directory, and temp directories. - Launchd-safe daemon path: background sync should not run directly from a
source checkout under
~/Documents,~/Desktop, or~/Downloads, because macOS TCC can block launchd from reading those paths. Syke uses a stable launcher under~/.syke/bin/syke; source checkouts may needsyke install-currentbefore background sync is enabled.
The sandbox is a filesystem boundary, not a network isolation system. Outbound network is allowed so provider calls can work. Linux sandboxing with bubblewrap is not claimed in this release.
Setup And Source Selection
syke setup is inspect-then-apply. It reports detected providers, sources, and
planned writes before applying changes.
Source selection is a real persisted contract:
- Interactive setup lets you select detected sources.
- Automation can pass repeated
--sourcevalues tosyke setuporsyke sync. - Selected sources are saved at
~/.syke/source_selection.json. - Daemon and synthesis flows read the persisted selection.
- The runtime sandbox uses selected sources to narrow which harness roots Pi can read.
- Invalid persisted selections fail closed instead of silently broadening scope.
Providers
Syke uses Pi's provider catalog. Common flows:
syke auth set openai --api-key <KEY> --model gpt-5.4 --use
syke auth login openai-codex --use
syke auth set openrouter --api-key <KEY> --model openai/gpt-5.1-codex --use
syke auth status
Provider resolution order:
--providerSYKE_PROVIDER~/.syke/pi-agent/settings.json
Use syke auth status and syke doctor when behavior does not match what you
expected.
Supported Harnesses
Active local harnesses currently include Claude Code, Codex, OpenCode, Cursor, GitHub Copilot, Antigravity, Hermes, and Gemini CLI.
See PLATFORMS.md for exact artifact paths and status.
Runtime And Replay Boundary
This repository is the product/runtime surface.
Replay, evaluation, benchmark orchestration, and research assets live in a separate sibling repo:
../syke-replay-lab
See docs/RUNTIME_AND_REPLAY.md for the cross-repo contract.
Release Confidence
The release gate covers:
- full Python test suite
- ruff lint and format checks
- wheel build
- isolated wheel install smoke
- isolated
uv tool installsmoke - daemon foreground smoke
- package surface checks so docs, scripts, research, and replay-lab internals do not ship inside the wheel
See docs/RELEASE_READINESS.md for the current maintainer checklist.
Docs
Getting started
Runtime
The story
- Memex Evolution — first chapter, how the memex routing pattern emerged (Feb 2026)
- Memex Update 2 — second chapter, the 0.5.2 cleanup (Apr 2026)
Docs Index for the full listing with reading paths.
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 syke-0.5.3.tar.gz.
File metadata
- Download URL: syke-0.5.3.tar.gz
- Upload date:
- Size: 173.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f741ebc2a84a28a6d9d617ad308acf3e148474f220aae988533429c3c01e1cde
|
|
| MD5 |
72920d743e0dbc469a2df598568fe09c
|
|
| BLAKE2b-256 |
4ad161cf1c5490cf78e4253d90b87757a361ec042a884c11879ba2e55e1eca4d
|
Provenance
The following attestation bundles were made for syke-0.5.3.tar.gz:
Publisher:
publish.yml on saxenauts/syke
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
syke-0.5.3.tar.gz -
Subject digest:
f741ebc2a84a28a6d9d617ad308acf3e148474f220aae988533429c3c01e1cde - Sigstore transparency entry: 1413597408
- Sigstore integration time:
-
Permalink:
saxenauts/syke@1744697c95b1a8f3e8402566fb8611c56d2cc076 -
Branch / Tag:
refs/tags/v0.5.3 - Owner: https://github.com/saxenauts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1744697c95b1a8f3e8402566fb8611c56d2cc076 -
Trigger Event:
push
-
Statement type:
File details
Details for the file syke-0.5.3-py3-none-any.whl.
File metadata
- Download URL: syke-0.5.3-py3-none-any.whl
- Upload date:
- Size: 200.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c33c616278b5ef087ef534cfbaa2baf9e4529a3f10363285aab3d802b05fa31
|
|
| MD5 |
cc56a1a315b0d495d914eb20a79a988a
|
|
| BLAKE2b-256 |
08926d133b9d7f835036bd1a8a04800bb3da98d7b3071991a46c8ef33c058ce5
|
Provenance
The following attestation bundles were made for syke-0.5.3-py3-none-any.whl:
Publisher:
publish.yml on saxenauts/syke
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
syke-0.5.3-py3-none-any.whl -
Subject digest:
1c33c616278b5ef087ef534cfbaa2baf9e4529a3f10363285aab3d802b05fa31 - Sigstore transparency entry: 1413597487
- Sigstore integration time:
-
Permalink:
saxenauts/syke@1744697c95b1a8f3e8402566fb8611c56d2cc076 -
Branch / Tag:
refs/tags/v0.5.3 - Owner: https://github.com/saxenauts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1744697c95b1a8f3e8402566fb8611c56d2cc076 -
Trigger Event:
push
-
Statement type: