Try ai-knot without installing Python, Node, or local dependencies first.
Open the repo in GitHub Codespaces:
The repo already ships .devcontainer/devcontainer.json, which installs:
- Python dev deps plus
mcp,postgres, andserverextras - the npm workspace dependencies in
npm/
Wait for the post-create step to finish, then run one of these proofs.
ai-knot demoWhat you see:
- the installed product-level
add/search/list/get/deleteloop - temporary local storage, so you can prove the behavior without cleanup
- the shortest path from "repo opened" to "memory works"
For the raw Python API:
python examples/quickstart.pyWhat you see:
- direct
add/search/recallon a local store - deterministic retrieval with no LLM call
- the shape of the core Python API in under a minute
python examples/http_sidecar_surface_demo.pyWhat you see:
- the HTTP sidecar JSON routes exercised without binding a real port
/health,POST /v1/facts,POST /v1/search,GET /v1/facts,GET /v1/facts/{fact_id}, and delete- the same surface
ai-knot serveexposes to polyglot runtimes
python examples/browser_inspector_demo.pyWhat you see:
- the HTTP sidecar starts locally
- sample facts are seeded automatically
- you can open
/inspectfrom the forwarded port and inspect the memory store in a browser
npx ai-knot-demo
cd npm
npm run example:basic-memory-loopWhat you see:
- the packaged npm bridge can route into the built-in proof command
- the repo-native Node example shows the same
add/search/list/deleteloop from TypeScript
For the Vercel AI SDK surface specifically:
cd npm
npm run example:vercel-ai-sdk-surfaceWhat you see:
- the exact
system/messagessurface built byAiKnotAISDKMemory - no Python-side MCP process required
- no model call required
If the real npm client path fails, run:
cd npm
npm run doctorai-knot add assistant "User prefers Python and deploys with Docker"
ai-knot search assistant "what stack does the user use?"
ai-knot list assistantWhat you see:
- the market-standard memory loop from the terminal
- the same CRUD/search language shown in the README
Start with:
ai-knot doctor --jsonThen check:
- MCP / Claude / OpenClaw: deployment.md#4-run-the-mcp-server
- CrewAI: ../examples/crewai_surface_demo.py
- PydanticAI: ../examples/pydanticai_surface_demo.py
- Vercel AI SDK: ../npm/README.md