AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证The first-ever self-improving memory protocol for agents and apps.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The first-ever self-improving memory protocol for agents and apps.
Memory that stays current, respects permissions and fits the context window. Built by agents, and better every week. Website: smartware.software
Memory and context for AI agents and SaaS platforms, shipped as a kit: a protocol, a production engine, one server binary, typed clients, adapters for the memory APIs projects already call, connectors that carry source permissions into memory, and the tools to prove all of it on your own data.
Smartware 2.0 is a rebuild from scratch. The earlier code (v0.8.1 and before) lives on at technodotventures/smartware-legacy.
What makes it different, in one line each:
as_of and
known_at answer "what was true then" and "what did we know then". Newer facts supersede older ones explicitly.why for every item.smartware doctor checks any endpoint against the spec by MUST id; smartware eval re-measures
recall on your data with your reader.| Rung | Time | What you do | Level |
|---|---|---|---|
| 1. Plug in | 5 minutes | Add smartware serve to your MCP client; paste the memory policy | L1 |
| 2. Wire in | 1 hour | Use @technodotventures/smartware-client or smartware_client, or an adapter; map your auth to principals | L2 |
| 3. Govern | 1 day | Turn on connectors so source permissions flow into readers; multi-tenant; audit; smartware doctor --principals | L3 |
| 4. Adapt | 1 week | Reflect jobs, feedback, profile budgets, scheduled bundle exports | L4 |
Install a pinned version and check it (never a bare npx; nothing runs at install time):
npm install --global --ignore-scripts [email protected] # in a project: npm install --save-exact --ignore-scripts ...
npm view [email protected] dist.integrity # must equal the line for smartware-2.0.0.tgz in the release's INTEGRITY file
npm audit signatures # registry signatures and provenance: built by this repo's release workflow
Each release publishes INTEGRITY (the sha512 of every package tarball, as npm records it), SHA256SUMS of every
published file and a CycloneDX SBOM. The packages have no third-party runtime dependencies.
MCP (Claude, Cursor, Hermes, OpenClaw, any MCP client), local:
{ "mcpServers": { "memory": { "command": "smartware", "args": ["serve", "--store", "/Users/you/.smartware/smartware.db"],
"env": { "SMARTWARE_PRINCIPAL": "you", "SMARTWARE_TENANT": "personal" } } } }
A server for an app or a team (HTTP binding and MCP Streamable HTTP on one port):
smartware keys add --keys keys.json --id alice --tenant acme --groups sales # prints a token once; only its hash is kept
smartware serve --http 8787 --keys keys.json --store /var/lib/smartware/smartware.db # or --oidc-issuer https://idp... for OAuth
From code:
import { SmartwareClient } from "@technodotventures/smartware-client";
const memory = new SmartwareClient({ url: "http://127.0.0.1:8787", getToken: () => process.env.SMARTWARE_TOKEN! });
await memory.remember("Alice prefers oat-milk flat whites", { kind: "preference" }); // private to the writer by default
const pack = await memory.recall("What coffee does Alice like?", { budgetTokens: 1500 });
Already on another memory API? Keep your code: the MCP memory server tools (--tools mcp-memory),
a mem0-compatible REST API at /mem0, the mem0 Python class, a LangGraph
store (JS and Python), Vercel AI SDK middleware, Mastra tools and processors, and a Letta .af importer.
Moving in: smartware import-from mcp-memory|mem0|letta <file> --tenant <t> --as <user> reads the other project's file as
data. Moving out: smartware export --tenant <t> --out acme.smartware writes a lossless bundle any Smartware engine can import.
| Part | Where | What it is |
|---|---|---|
| Spec | spec/Smartware-0.1.md, spec/MUSTS.md | The protocol; every MUST has a stable id |
| Schema pack | schema/ | JSON Schemas, OpenAPI 3.1 and MCP tool schemas, generated from one source and drift-tested |
| Engine | packages/core | TypeScript product engine on Node's built-in SQLite. Zero runtime dependencies |
| Server | packages/server | smartware: serve, doctor, eval, keys, backup, export, import, import-from |
| Clients | packages/client, clients/python | Typed clients; identity is never an argument |
| Adapters | packages/adapters | tools, mastra, langgraph, ai-sdk; Python: LangGraph, mem0, Letta |
| Connectors | packages/connectors | SDK, Markdown vault, Slack, ACL replay test kit |
| Policy pack | policy/ |
smartware doctor --self reaches L4 (29 wire-level checks). It is engine-agnostic (the Python oracle also
reaches L4) and catches deliberate violations (global statistics, ignored parameters).npm run build # TypeScript (needs typescript and @types/node: npm install --ignore-scripts)
npm test # 100+ TypeScript tests
npm run test:py # oracle suite, oracle suite against the TS engine, Python client
node tools/release-check.mjs # the release gate
git config core.hooksPath tools/hooks
Licence: Apache-2.0 (see LICENSE and NOTICE). Status against the implementation design doc: docs/STATUS.md.
The website lives in docs/ (index.html, served by GitHub Pages); the guides beside it are plain Markdown.
Built by Techno Ventures.
Memory instructions for agents, also served as the MCP prompt memory_policy |
| Oracle | smartware/ | The Python reference engine: the specification the product engine is tested against |
| Benchmark | bench/, baselines/, results/ | Smartware Bench and LLM-free re-implementations of 15 memory systems |