🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
Local agent runtime and MCP gateway for builders
lnwjud runs locally and exposes a large tool catalog through MCP. It connects agents to your files, Git, processes, browser control, recovery, and host-specific features like Windows OCR or WSL when the platform supports them. It also discovers external MCP servers and keeps those separate from its own built-in tools.
Builders who want one local place for agent tools, MCP servers, and workspace automation.
You can give your agent local access to files, Git, processes, and other tools without wiring each integration by hand.
What it does
Local tool gateway
Exposes 233 first-party tools through one MCP runtime, including files, Git, processes, browser control, and recovery.
External MCP support
Discovers and calls external MCP servers, with live settings updates and version negotiation.
Cross-platform host support
Works on Windows, macOS, and Linux with native-capability gates for each platform.
Recovery and persistence
Keeps backup, checkpoint, restore, and durable-goal state for work that spans sessions.
Native Windows features
Includes Windows-specific providers such as WSL, Registry, Windows Sandbox, OCR, and Outlook/COM where supported.
Built-in workflows and recipes
Ships YAML recipes for bugfix, code review, frontend debug, and release check workflows.
README
lnwjud
Cross-platform local AI-agent runtime and MCP gateway
233 total tool definitions for local files, Git, processes, Windows automation, WSL, browser control, durable goal continuation, indexing, observability, and extensibility; 226 are advertised by default and all 233 when Codex delegation plus Agent Swarm is enabled.
อ่านที่เหลือใน Readme ได้เลยครับ ติดปัญหาทักมาได้ใน Line ได้ตลอดครับ / กำลังพัฒนาให้เรื่อยๆครับ ท่านที่ถามหาช่องสนับสนุนค่ากาแฟ แปะลิงก์ไว้ให้แล้วครับ ขอบคุณครับ — Donate
Current version: v4.60.0
v4.60.0 is the current source/release-candidate version. The latest public build is always available from GitHub Releases. Development artifacts from dev are for testing before the public release is published.
What's new in v4.60.0
- External MCP compatibility: child MCP servers auto-negotiate their protocol version, covering legacy/2025-era servers such as Serena as well as current MCP
2026-07-28, while lnwjud's own inbound MCP contract remains unchanged. External MCP definitions saved in Settings are applied live, so adding or changing Serena/custom servers does not require restarting lnwjud. - Cross-platform hardening: Windows, macOS, and Linux now use explicit host/architecture capability gates instead of Windows-shaped fallbacks. Unsupported OS/architecture combinations fail closed.
- Native Ponytail coding policy: optional
OFF / LITE / FULL / ULTRAmodes default to OFF, resolveCurrent Goal > Workspace > Global, and use exact bundled Ponytail skills rather than relying on discovery ranking. Active modes require the exact bundled primary skill before code mutation; FULL/ULTRA durable coding goals additionally require a fresh bundled Ponytail review before completion. Full Bypass does not bypass this correctness gate, while explicit session suppression remains available without changing persisted policy. - macOS package verification: release checks stage the app from the actual DMG, launch it through macOS LaunchServices, verify nested code signing, and distinguish Developer ID Team-ID requirements from development ad-hoc signing.
- Runtime dependencies: target-native assets are selected by exact
(platform, architecture)tuples. Current pins include OpenAItunnel-client 0.0.14,ripgrep 15.2.0, and Windows Poppler26.07.0-0, with checksum/provenance/version checks before packaging. - Remote MCP / ngrok: ngrok discovery now works across Windows, macOS, and Linux. Automatic installation is shown only when the host has a supported installer path; unsupported installer actions are hidden instead of pretending they work.
- PDF providers: PDF tooling can use a configured native
pdftotextwhere supported; the bundled Poppler auto-installer remains Windows x64-only and is hidden on unsupported hosts. - Recovery and persistence: MCP settings, backup/checkpoint/recovery paths, secret-storage boundaries, tunnel state, cross-host restore metadata, and data-root selection were audited for Windows/macOS/Linux semantics.
- Unified timestamps: Thai UI uses Bangkok time with 24-hour display; English uses the host timezone with AM/PM presentation, while machine timestamps remain absolute internally.
- Responsiveness: heavy ripgrep output and Live Log traffic are bounded/batched to reduce Electron
Not Respondinghangs and runaway memory churn. - Regression coverage: the v4.60.0 release candidate currently enforces 354 deterministic cross-platform scenarios in addition to the full workspace, packaging, release-gate, and native CI suites; the scenario floor remains 350 and may grow as new failure modes are found.
Public
v4.60.0should be tagged only after the native Windows/macOS/Linux release matrix and packaged-app smoke checks are green for the exact commit.
Install
Windows 10 / 11
- Open GitHub Releases.
- Download
lnwjud-Setup-<version>.exefor the normal installer, orlnwjud-Portable-<version>.exeif you prefer a portable executable. - Launch lnwjud, add the project/workspace you want to use, then configure the MCP connection method you need.
Community Windows artifacts may be unsigned when production code-signing credentials are not configured. Release verification still checks the declared signing mode, SHA-256 manifests, runtime provenance, and packaged-app smoke evidence; verify the release assets if Windows shows an unknown-publisher warning.
Windows-only features such as WSL, Registry, Windows Sandbox, Windows OCR and Outlook/COM remain available only where the Windows provider is supported.
macOS 13+
Download the artifact that matches the Mac architecture (arm64 for Apple silicon or x64 for Intel). Do not swap architectures just because both filenames contain the word “Mac”. Computers remain unusually literal about this.
See Install lnwjud on macOS for DMG/ZIP installation, permissions, MCP launcher paths, Gatekeeper/signing expectations, and troubleshooting.
Linux
Choose the release artifact that matches the Linux architecture and package type. Ubuntu 24.04 LTS x64 is the primary Linux release target; arm64 remains architecture-specific and evidence-gated.
See Install lnwjud on Linux for AppImage/DEB installation, Wayland/X11 behavior, secure storage, MCP, and platform limits.
Local data vs workspace metadata
Installed lnwjud keeps per-user runtime data outside your source repository: %APPDATA%\lnwjud on Windows, ~/Library/Application Support/lnwjud on macOS, and $XDG_DATA_HOME/lnwjud (or ~/.local/share/lnwjud) on Linux unless LNWJUD_DATA_PATH is explicitly set. A workspace may contain .lnwjud/project-profile.json for project-scoped policy such as Ponytail mode; .lnwjud/ is local metadata and is ignored by this repository.
What can lnwjud do?
lnwjud exposes 233 first-party tool definitions through one local runtime and MCP gateway. The default advertised set is 226; the remaining Codex delegation and Agent Swarm definitions are opt-in.
| Area | Examples |
|---|---|
| Workspace & files | read/search/edit files, paging, full scans, project indexing, recovery trash |
| Git | status, diff, history, blame, guarded Git mutations |
| Processes | shell, managed processes, durable background tasks, logs, cancellation |
| MCP | local HTTP/stdio MCP, External MCP discovery/describe/call, live tool availability |
| Development | test, lint, typecheck, build, affected-test context, Codex integration |
| Browser | managed Chrome/CDP, DOM inspection, Set-of-Marks, screenshots |
| Recovery | backups, checkpoints, restore, crash/session recovery, durable-goal state |
| Observability | Work Log, Live Logs, Doctor, incident reports, trace/audit metadata |
| Native capabilities | UI/input/media/Office/scheduler providers when the current OS supports them |
| Windows-specific | WSL, Registry, Windows Sandbox, Windows Event Log/OCR, Outlook/COM |
For the complete generated catalog, see MCP Tool Catalog. For the broader capability explanation, see lnwjud capabilities.
Platform compatibility
lnwjud composes providers for the detected host instead of instantiating a Windows provider everywhere and hoping for the best.
| Feature | Windows | macOS | Linux |
|---|---|---|---|
| Core MCP / files / Git / processes | ✅ | ✅ | ✅ |
| External MCP | ✅ | ✅ | ✅ |
| OpenAI Secure MCP Tunnel client | target-native | target-native | target-native |
| Remote MCP with ngrok | ✅ | ✅ | ✅ |
| Managed browser / CDP | dependency-gated | dependency-gated | dependency-gated |
| Native PDF text provider | dependency-gated | dependency-gated | dependency-gated |
| Automatic Poppler install | Windows x64 | hidden | hidden |
| WSL / Registry / Windows Sandbox | ✅ | unsupported | unsupported |
| Outlook COM | ✅ | unsupported | unsupported |
The authoritative matrix is Native platform support contract.
MCP connection choices
- Local MCP clients: use the packaged stdio launcher or Desktop loopback MCP endpoint.
- Remote MCP via ngrok + OAuth: useful for a remote ChatGPT/MCP client when you want lnwjud to run the protected OAuth gateway and ngrok runtime.
- OpenAI Secure MCP Tunnel: outbound-only OpenAI tunnel path using the verified target-native bundled
tunnel-client. - External MCP servers: lnwjud can discover supported Cursor/Claude Desktop/custom MCP definitions and keep child MCP servers separate from the first-party catalog.
See the Thai usage guide and full expanded README for the long-form setup and architecture notes.
Documentation
- Full expanded README / historical detail
- คู่มือใช้งานภาษาไทย
- macOS installation
- Linux installation
- Platform support matrix
- Complete capabilities
- MCP Tool Catalog
- Tool contract
- Release process
- Security
- Contributing
Security boundary
lnwjud is intentionally powerful because it operates on the local machine. Tool availability does not bypass Active Project scope, permission policy, mutation approval, recovery, host OS permissions, or platform capability gates. Unknown/unsupported platforms and missing native providers should fail closed rather than silently substituting a different OS implementation.
Community
ติดปัญหา อยากแชร์วิธีใช้ หรือเจอบัค สามารถเข้ากลุ่มพูดคุยได้ที่ Line.
License
Files in the repo
- .agents
- .codex
- .github
- apps
- assets
- docs
- native
- packages
- recipes
- scripts
- tests
- .env.example
- .gitattributes
- .gitignore
- .mailmap
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- eslint.config.mjs
- FULL_README.md
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- SECURITY.md
- tsconfig.base.json
- tsconfig.json
- V4_54_0_SCHEDULE_CLEANUP_AND_TOOL_AVAILABILITY_WAYFINDER_PLAN.md
- V4_55_0_COMPREHENSIVE_HARDENING_WAYFINDER_PLAN.md
- V4_60_0_PONYTAIL_AUTO_SKILL_WAYFINDER_PLAN.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More tools
The best-benchmarked open-source AI memory system. And it's free.
Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.