Skip to main content

Syke

PyPI Python 3.12+ CI License: AGPL-3.0-only

Syke is a local memory agent that works with your other AI agents.

Syke workflow — local synthesis cycle, ask / record interfaces, distribution to harnesses

It runs in the background as an ambient agent, keeps up with your work across supported local harnesses and concurrent sessions, and serves a coherent memory for other agents to rely on.

It reads your local agent activity and maintains a coherent timeline of objects, intent, and progress in prose. It serves a projection as MEMEX.md plus a CLI interface.

Your agents use syke ask, syke record, and syke memex in their workflow. As a self-maintaining memory agent, Syke adapts by revising its own durable memory state over time. It can also act as a sidekick for debugging, brainstorming, and research alongside your primary coding agents.

Syke is deliberately experimental and incomplete. It does not try to reproduce every feature in established memory products, and pre-1.0 releases may make intentional compatibility breaks. The runtime is exercised across multiple memory environments as ongoing research into self-learning systems.

Install

pipx install syke
syke setup

Alternative:

uv tool install syke
syke setup

syke setup is interactive. It inspects your machine for active harnesses and uses Pi agent core for auth and runtime.

Install with an agent

Give a terminal agent this repository URL and say:

Install or upgrade Syke from this repository with uv using Python 3.12+. Run syke setup --agent and follow its JSON status and next_steps. Setup is complete only after Syke's background service is running. If provider login is needed, present provider_choices and run the selected auth_options command; Pi opens the browser or shows a device code.

The installing agent does not need to be one of Syke's observed sources.

First Run

The normal flow is simple:

syke setup

Setup walks through:

  • provider/auth setup
  • local harness detection
  • source selection
  • workspace initialization at ~/.syke/
  • background service setup
  • macOS access checks for Desktop, Documents, and Downloads
  • first memory synthesis

On macOS, setup performs those three checks through the installed background Syke process. macOS may ask for access one folder at a time. Choose Allow for the folders you want Syke to observe. Other normal folders under your home directory do not need this step.

After setup, keep working. The first synthesis can take a few minutes depending on how much local history Syke finds. The timeline explains what is happening instead of leaving you with an empty screen.

Once memory starts landing:

syke memex
syke ask "what changed this week?"

Daily Use

syke memex
syke ask "what should I remember about this project?"
syke record "Decision: keep the onboarding flow interactive and local."
syke status
syke doctor

For long notes, pasted transcripts, or shell-sensitive content, prefer stdin so the shell does not reinterpret or retain the content:

printf '%s\n' 'Decision: keep $(literal) and `quoted` chars.' | syke record

The important split:

  • syke memex shows the current memory projection.
  • syke ask searches and reasons over the underlying timeline.
  • syke record admits an external record; the next synthesis decides whether it changes memory.
  • syke web --open shows the local visual timeline.

Local Timeline

Syke serves a private local timeline. It is for visualization only.

syke web --open

The timeline shows:

  • memory cycles
  • asks and traces
  • MEMEX content and diffs
  • linked memory cells
  • first-run/bootstrap state
  • daemon log tail

Supported Harnesses

Syke reads local artifacts from agent tools you already use. This list controls native history ingestion, not which terminal agents can install or use Syke:

  • Claude Code
  • Codex
  • Pi coding agent
  • OpenCode
  • Cursor
  • GitHub Copilot
  • Google Antigravity (2.0, CLI, and IDE surfaces)
  • Hermes

See PLATFORMS.md for exact artifact paths and current status.

How Agents Use Syke

Once setup is done, agents should usually use three commands:

syke memex
syke ask "what is the current context?"
syke record "Decision: ship the onboarding fix before changing the API."

For automation, syke setup --agent returns JSON with a status, exact next_steps, and setup diagnostics. Its output is the setup protocol for installers and non-interactive agents. Humans should start with plain syke setup.

More detail: Setup Guide.

What Syke Stores

Syke is local-machine first.

  • Installation root: ~/.syke/
  • Controller-writable workspace: ~/.syke/workspace/
  • Mutable graph: ~/.syke/workspace/syke.db
  • Current projection: ~/.syke/workspace/MEMEX.md
  • Installed self-model: packaged syke/runtime/syke_self.md (read-only)
  • Adapter guides: ~/.syke/workspace/adapters/{source}.md
  • Durable operational runtime: ~/.syke/control/runtime/
  • Host-managed Pi auth/provider state: ~/.syke/pi-agent/
  • Protected native Pi sessions: ~/.syke/control/sessions/
  • Protected final synthesis receipts: ~/.syke/control/receipts/
  • Protected raw records: ~/.syke/control/records/

On macOS, Pi writes its native sessions as trusted runtime state. The model's read, bash, edit, and write tools run behind a filesystem sandbox: the current user's $HOME is readable while ordinary computer files remain read-only. Only the Syke workspace and durable runtime are writable. Sessions, receipts, records, and recovery state remain explicitly non-writable. workspace/syke.db is Syke's only active semantic/control database; native tools may keep their own source stores. Linux does not yet provide the same OS-enforced model-tool boundary. Content returned by model tools can be processed by the configured provider and retained in protected native sessions.

Docs

Release files for syke 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for syke 0.6.1
File Size Uploaded
syke-0.6.1.tar.gz 233.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for syke 0.6.1
File Interpreter ABI Platform
syke-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 501.7 kB

Release files / syke-0.6.1.tar.gz

Download URL syke-0.6.1.tar.gz
Size 233.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2ad09b1b1c9da42d6a43ec5ba364bf3a2d87fa53420bab15ed5182cc32be4de0
BLAKE2b-256 checksum
How to use checksums
1b9626c625c597e1219e68370e6791b06e8ee7b21b86cc51cfa56f71def0f9be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / syke-0.6.1-py3-none-any.whl

Download URL syke-0.6.1-py3-none-any.whl
Size 268.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c66556b84c84f4c165d349a74a03cdf39e9eddc5cc008556e32e303001f685a9
BLAKE2b-256 checksum
How to use checksums
0aa809c38fc77e5f3a2de3116806db2b0e16747438f4f03807bd9ac274a2d542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page