Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Bitemporal memory for AI agents with point-in-time recall and tamper-evident audit history.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
LIANS_URL, LIANS_API_KEY, LIANS_AGENT_ID, LIANS_LOCAL_DB, LIANS_NAMESPACEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"lians": {
"command": "uvx",
"args": [
"lians-sdk"
],
"env": {
"LIANS_URL": "ใส่ค่าของคุณ",
"LIANS_API_KEY": "ใส่ค่าของคุณ",
"LIANS_AGENT_ID": "ใส่ค่าของคุณ",
"LIANS_LOCAL_DB": "ใส่ค่าของคุณ",
"LIANS_NAMESPACE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add lians --env LIANS_URL='ใส่ค่าของคุณ' --env LIANS_API_KEY='ใส่ค่าของคุณ' --env LIANS_AGENT_ID='ใส่ค่าของคุณ' --env LIANS_LOCAL_DB='ใส่ค่าของคุณ' --env LIANS_NAMESPACE='ใส่ค่าของคุณ' -- uvx lians-sdkเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"lians": {
"command": "uvx",
"args": [
"lians-sdk"
],
"env": {
"LIANS_URL": "ใส่ค่าของคุณ",
"LIANS_API_KEY": "ใส่ค่าของคุณ",
"LIANS_AGENT_ID": "ใส่ค่าของคุณ",
"LIANS_LOCAL_DB": "ใส่ค่าของคุณ",
"LIANS_NAMESPACE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"lians": {
"type": "stdio",
"command": "uvx",
"args": [
"lians-sdk"
],
"env": {
"LIANS_URL": "ใส่ค่าของคุณ",
"LIANS_API_KEY": "ใส่ค่าของคุณ",
"LIANS_AGENT_ID": "ใส่ค่าของคุณ",
"LIANS_LOCAL_DB": "ใส่ค่าของคุณ",
"LIANS_NAMESPACE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
LIANS_URL envLIANS_AGENT_ID envLIANS_LOCAL_DB envLIANS_NAMESPACE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ผู้ลงทะเบียน (ebeirne) ไม่ใช่เจ้าของ repo (Lians-ai) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: LIANS_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Recover the task. Reject stale state. Block unsupported done.
Quickstart · Why Lians · ContinuityBench · Install · Docs · Issues
The current-state and completion guard for AI coding agents.
Lians recovers interrupted agent work, rejects stale task state, and blocks done until the current task is ready for human review.
Your agent can forget the chat. It cannot forget what is finished, what
changed, or what still has to pass.
READY FOR HUMAN REVIEW is a handoff to a person, never a claim that the work is correct, approved, or safe to deploy.Lians works with your existing AI account and editor. It does not replace your model, Git, CI, repository instructions, or human review.
The open-source Lians Guard layer lives inside Codex through MCP, skills, hooks, and repository state. It remembers corrections and exposes evidence without taking over the model. The optional Lians Mission Control beta is the local control layer: give it one mission, let it choose a bounded Codex route, and require a real verifier before it returns PASS.
On supported Codex versions, one Mission Control mission now uses one Codex app-server thread instead of starting a new process and replaying a summary for every stage. Codex still owns authentication, tools, sandboxes, and execution; Lians owns the durable mission, usage policy, and receipt. App-server is currently experimental, so the one-shot adapter remains available.
Inspect the Mission Control source, read the bridge boundary, or follow the external proof-gate protocol.
RECOVERED
Task: Fix OAuth callback handling Next: Re-run the callback integration test
STALE Reason: The authentication requirement changed after this checkpoint
BLOCKED Missing: OAuth callback integration test Untrusted: "tests passed" was reported by the agent, not measured
READY FOR HUMAN REVIEW Measured locally: callback tests passed Measured by CI: required checks passed
The trust model is deliberately strict. measured_local, measured_ci, and human_confirmed evidence can satisfy a criterion. agent_attested and inferred_activity records remain useful context but cannot open the review gate. An agent cannot promote its own checkpoint into a trusted class. Trusted CI evidence requires an exact GitHub attestation and commit match plus an interactive check-to-criterion mapping; human evidence requires interactive confirmation. Read why Lians exists, the full Lians Guard product contract, and the current market pressure test.
Choose the AI tool you already use:
| Tool | Fastest setup |
|---|---|
| Codex app, CLI, or IDE | One command |
| Claude Code | Two plugin commands |
| Cursor | One-click MCP install |
| Other MCP clients | Minimal MCP setup |
For example, after installing uv, connect Codex with:
codex mcp add lians --env LIANS_MCP_ENABLED_TOOLS=remember,recall,list_memories,correct_memory,forget_memory -- uvx --from "lians-sdk[mcp]" lians-mcp
Restart Codex, then save one safe project fact and recover it in a fresh chat. Local memory is stored in ~/.lians/mcp.db by default. This is the available free recovery path; the full Guard workflow is currently a developer preview.
Follow the complete quickstart for setup, recovery, correction, deletion, and the Guard preview boundary.
Lians can generate a bounded project handoff instead of replaying a transcript:
Reported complete; verify:
Still open:
Decisions:
Changed:
Next:
The handoff is derived from current Lians state, not a manually maintained summary. Agent-reported work remains visible without being mislabeled as verified completion.
Native memories are convenient when work stays inside one product. General memory is no longer a scarce category. Lians uses local memory for recovery, then focuses on the expensive gap: current task state and evidence-backed readiness.
The current competitive landscape pressure tests this position against native Claude Code, Codex, Cursor, GitHub Copilot, Entire, Factory, and AI review workflows.
| Approach | Best fit | Boundary |
|---|---|---|
| Native tool memory | One AI tool, minimal setup | Usually stays inside that vendor |
AGENTS.md or CLAUDE.md | Stable repository instructions | Must be maintained manually |
| Transcript replay | Reconstructing one conversation | Large, noisy, and may revive stale decisions |
| Free Lians recovery | Resume current project context across supported tools | Requires a local connection to each tool |
| Lians Guard | Detect stale state and gate readiness with typed evidence | Team workflow is still in developer preview |
Lians is not claiming that every project needs a separate memory layer. See the honest comparison and decision guide.
Lians is under active development. Available recovery features and preview Guard features are separated here so the repository does not imply a production guarantee that does not exist yet.
| Capability | Status |
|---|---|
| Local memory through MCP and Python | Available |
| Codex, Claude Code, and Cursor local recovery setup | Available |
| Inspect, correct, and confirmed permanent deletion | Available |
| Bounded context and signed selection receipts | Available |
| Automatic Claude-to-Codex project handoff | Beta |
| Typed evidence and evidence-backed task gate | Developer preview |
| Local Git workspace fingerprint on checkpoints | Developer preview |
| Automatic stale evidence invalidation | In development |
| Attested GitHub Actions evidence intake | Developer preview |
| Local Guard reporting | Developer preview |
| Shared team queue | Planned |
| Cross-platform clean-install CI | Required by the new Guard workflow; first hosted run pending |
| Guided desktop installer and local control center | Release candidate |
| Mission Control Protect-versus-Maximum beta | Candidate; proof gate preregistered |
| Persistent one-mission/one-Codex-thread bridge | Beta; app-server is experimental |
The macOS and Windows desktop builds remain release candidates pending platform signing and notarization. See the desktop preview boundary.
The included Claude-to-Codex continuity fixture recovered 10/10 expected facts, exposed 0 stale facts as current, and produced a 231-token handoff. These are bounded beta results, not a promise that every live coding session extracts perfectly. Run the experiment.
The developing ContinuityBench v0.1 publishes the proposed cross-agent, freshness, correction, erasure, provenance, and boundedness test contract. Its current Lians fixture is evidence for that fixture only; it is not presented as a completed competitor leaderboard.
A separate live test saved a synthetic project fact through Cursor, recalled it in a new Cursor chat and a fresh Claude Code session, and confirmed it was gone after deletion. Read the test method.
The Guard correctness benchmark exercises missing evidence, unknown criteria, failed constraints, blockers, stale updates, and drift signals. It is a local, deterministic test of the configured policy, not proof of semantic correctness or a production outcome. Run packages/lians-easy/benchmarks/task_contract_correctness.py to inspect the cases.
Use the local Python SDK inside an application:
pip install "lians-sdk[local]"
from datetime import datetime, timezone
from lians import LocalLiansClient
memory = LocalLiansClient(db_path=".lians/memory.db") memory.add( agent_id="my-agent", content="The project uses Python 3.12 and pytest.", event_time=datetime.now(timezone.utc), )
result = memory.recall( agent_id="my-agent", query="Which Python version and test runner should I use?", )
See the install guide for TypeScript, Go, Java, C, framework integrations, and self-hosting.
Running a class, club, hackathon, or campus developer group? Use the student and community kit. Contributors and package integrators can start with Supported paths and repository status.
Advanced capabilities
Lians also includes tools for project-scoped agent handoffs, signed selection and review receipts, local research and browser briefs, temporal reconstruction, lineage, information barriers, confirmed erasure, and bounded formal checks. These capabilities are useful for advanced or governed deployments but are not required for the starter memory workflow.
git clone https://github.com/Lians-ai/Lians.git
cd Lians python -m pip install -e ".[dev]" python scripts/test_all.py
Read CONTRIBUTING.md before opening a pull request. Feature ideas, integration requests, and reproducible bugs are welcome in GitHub Issues.
If Lians helps your workflow, star the repository so o
ตัดมาแค่ช่วงต้น อ่านต่อใน repo