{"_id":"@anythinggraph/cli","_rev":"4-81eca2ecc19e7403214920e68324ae89","name":"@anythinggraph/cli","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"name":"@anythinggraph/cli","version":"0.1.0","keywords":["anythinggraph","mcp","ontology","cli"],"license":"MIT","_id":"@anythinggraph/cli@0.1.0","maintainers":[{"name":"anthinggraph","email":"anythinggraph@gmail.com"}],"homepage":"https://github.com/AnythingGraph/AnythingGraph#readme","bugs":{"url":"https://github.com/AnythingGraph/AnythingGraph/issues"},"bin":{"anythinggraph":"bin/anythinggraph.js"},"dist":{"shasum":"26e8bf7296c4cd3f6645866fdbbf02166aad952c","tarball":"https://registry.npmjs.org/@anythinggraph/cli/-/cli-0.1.0.tgz","fileCount":14,"integrity":"sha512-nShEUooMIj/jWHq4VzyG0meugSSyOJ/S2Z00rWmCOa3+nWyh0tja5uUuUegHBGaf3fRgbmVEckhM3zjAOtcBhw==","signatures":[{"sig":"MEQCIBg+K1oVgv+hHUECd6HtU9s5T2yKIgUOHubTb1abmKIFAiAjf4unp/+RH3ZkFG3ZFb2yMPrxo2o6K/CKf/8b9EJ0CQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44810},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"d239298e22f49b04b7a4673fed77c5d09c13215b","_npmUser":{"name":"anthinggraph","email":"anythinggraph@gmail.com"},"repository":{"url":"git+https://github.com/AnythingGraph/AnythingGraph.git","type":"git","directory":"cli"},"_npmVersion":"10.8.2","description":"AnythingGraph CLI — onboard, start the full stack, and install a background daemon","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1780961695002_0.06468043880495467","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@anythinggraph/cli","version":"0.1.1","keywords":["anythinggraph","mcp","ontology","cli"],"license":"MIT","_id":"@anythinggraph/cli@0.1.1","maintainers":[{"name":"anthinggraph","email":"anythinggraph@gmail.com"}],"homepage":"https://github.com/AnythingGraph/AnythingGraph#readme","bugs":{"url":"https://github.com/AnythingGraph/AnythingGraph/issues"},"bin":{"anythinggraph":"bin/anythinggraph.js"},"dist":{"shasum":"2f5c36d5e6e1f6851fd2d1befe8cd18f114ef941","tarball":"https://registry.npmjs.org/@anythinggraph/cli/-/cli-0.1.1.tgz","fileCount":15,"integrity":"sha512-BsHNCGdztkrs8Gy8vPoofjUrU+njoL/buA9X3nDvKmitMarUP2Tg8QeM4jgWUFh73S7jnLXZTuln3cSrHKKP3w==","signatures":[{"sig":"MEQCICAeyflquzxub5Di2fafSADeW3VGRJ5xePLE3pCrQlN9AiAXJk6F5GLR2RQLq259rzl3qV+cdK7bE/VaZs0DmtNsIw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54948},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"42dc604632ed8e1e2f3e983127d10546960214cb","_npmUser":{"name":"anthinggraph","email":"anythinggraph@gmail.com"},"repository":{"url":"git+https://github.com/AnythingGraph/AnythingGraph.git","type":"git","directory":"cli"},"_npmVersion":"10.8.2","description":"AnythingGraph CLI — onboard, start the full stack, and install a background daemon","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1781114406364_0.03381121422144795","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@anythinggraph/cli","version":"0.2.1","keywords":["anythinggraph","anything-cli","ag-cli","mcp","ontology","cli"],"license":"MIT","_id":"@anythinggraph/cli@0.2.1","maintainers":[{"name":"anthinggraph","email":"anythinggraph@gmail.com"}],"homepage":"https://github.com/AnythingGraph/anything-cli#readme","bugs":{"url":"https://github.com/AnythingGraph/anything-cli/issues"},"bin":{"anythinggraph":"bin/anythinggraph.js"},"dist":{"shasum":"f1debfc6b0dceea3b1e56776dd703104f7ae9007","tarball":"https://registry.npmjs.org/@anythinggraph/cli/-/cli-0.2.1.tgz","fileCount":16,"integrity":"sha512-qUPTuvEKF7BndxQfOKPVDWPL/tiNrJvjRgNsmV93w/rg3mQFw4chEE5WzdP/LFlzEQDTu9v+f8dG+f4YEZeJrw==","signatures":[{"sig":"MEQCIEW/o7R5GlS8cVewynqejJ5HM4fEpG5Ihyj8qKsrL3ggAiBxVSzoicfL7HswMxjTQmZGz74fba6lUphlY/iQPqACsw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49845},"type":"module","engines":{"node":">=20.0.0"},"gitHead":"d9a193a5aaa394e8107b4fa975d0f387ac26b0d4","_npmUser":{"name":"anthinggraph","email":"anythinggraph@gmail.com"},"repository":{"url":"git+https://github.com/AnythingGraph/anything-cli.git","type":"git","directory":"cli"},"_npmVersion":"10.8.2","description":"AnythingGraph CLI — onboard, start, and daemon-install the ag-cli reasoning layer","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli_0.2.1_1781843887825_0.5131750714373053","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@anythinggraph/cli","version":"0.2.5","description":"AnythingGraph CLI — onboard, start, and daemon-install the ag-cli reasoning layer","type":"module","bin":{"anythinggraph":"bin/anythinggraph.js"},"engines":{"node":">=20.0.0"},"keywords":["anythinggraph","anything-cli","ag-cli","mcp","ontology","cli"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AnythingGraph/anything-cli.git","directory":"cli"},"_id":"@anythinggraph/cli@0.2.5","gitHead":"d6245b6f0d2cb1831c18ef1e5ff34500b200214e","bugs":{"url":"https://github.com/AnythingGraph/anything-cli/issues"},"homepage":"https://github.com/AnythingGraph/anything-cli#readme","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-y+Oakhu2Lt8snGM8zGVS2xUSQxzmHWG+uHWIAGwalLxn0pOpDcBM+KEl8xXRsf4xNuAYurqecbX4TKf1AfWCOw==","shasum":"2c5985394226049d97062c017c0db0a3ff014676","tarball":"https://registry.npmjs.org/@anythinggraph/cli/-/cli-0.2.5.tgz","fileCount":24,"unpackedSize":86726,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCxWjuJN7az2sP8h6CWzCMVa7RMbGJ7ApNg01h8eHv/QAIgLv7h+mtmbcaVphQLAdJ/CLItioWUkiG8aydOKqKEDts="}]},"_npmUser":{"name":"anthinggraph","email":"anythinggraph@gmail.com"},"directories":{},"maintainers":[{"name":"anthinggraph","email":"anythinggraph@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.2.5_1782282899604_0.5203981647562241"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-08T23:34:54.813Z","modified":"2026-06-24T06:34:59.912Z","0.1.0":"2026-06-08T23:34:55.160Z","0.1.1":"2026-06-10T18:00:06.544Z","0.2.1":"2026-06-19T04:38:07.956Z","0.2.5":"2026-06-24T06:34:59.764Z"},"bugs":{"url":"https://github.com/AnythingGraph/anything-cli/issues"},"license":"MIT","homepage":"https://github.com/AnythingGraph/anything-cli#readme","keywords":["anythinggraph","anything-cli","ag-cli","mcp","ontology","cli"],"repository":{"type":"git","url":"git+https://github.com/AnythingGraph/anything-cli.git","directory":"cli"},"description":"AnythingGraph CLI — onboard, start, and daemon-install the ag-cli reasoning layer","maintainers":[{"name":"anthinggraph","email":"anythinggraph@gmail.com"}],"readme":"# AnythingGraph CLI\n\nOpenClaw-style installer and gateway for **Anything CLI (ag-cli)** — the thin reasoning layer between AI agents and your live data sources.\n\n## Quick start\n\n```bash\nnpm install -g @anythinggraph/cli@latest\nanythinggraph onboard --install-daemon\n```\n\nOr use the bootstrap script:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/AnythingGraph/anything-cli/main/cli/install.sh | bash\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `anythinggraph onboard` | Clone/update anything-cli from GitHub, build reasoning-service |\n| `anythinggraph onboard --install-daemon` | Onboard + macOS LaunchAgent / Linux systemd user service |\n| `anythinggraph start` | Start reasoning-service + MCP HTTP in the foreground (Ctrl+C to stop) |\n| `anythinggraph stop` | Stop supervised services |\n| `anythinggraph status` | Show health URLs |\n| `anythinggraph doctor` | Prerequisites + service health checks |\n| `anythinggraph source add` | Interactive wizard: pick adapter, name source, enter credentials, validate, save |\n| `anythinggraph source remove` | List sources with status, pick by number, remove from profile and `.env` |\n| `anythinggraph sources` | List configured sources from `profiles/local.yaml` and validate each connection |\n| `anythinggraph mcp print-config` | Cursor MCP JSON |\n| `anythinggraph mcp print-config --target claude` | Claude Desktop `mcp-remote` bridge JSON |\n\n## What gets installed\n\nOn `onboard`, the CLI **always** uses Git — no local path overrides:\n\n1. **Clone** https://github.com/AnythingGraph/anything-cli into `~/.anythinggraph/source` (first run)\n2. **`git pull --ff-only`** on that directory when you run onboard again\n\nIt writes `~/.anythinggraph/config.json` pointing at that checkout.\n\n`start` launches the same stack as `./start-all.sh`:\n\n- **Rust:** `reasoning-service` (built into `~/.anythinggraph/bin/`)\n- **Node:** ag-cli MCP HTTP (`mcp/` → port 3334)\n\nIt does **not** install or start the legacy AnythingGraph dashboard, `mcp-service`, or `core-services`.\n\n### Data sources\n\nWith the stack running (`anythinggraph start`), add a source interactively:\n\n```bash\nanythinggraph source add\n```\n\nThe wizard walks through four steps: choose adapter type, pick a `source_id`, enter connection details, then test the connection before writing `profiles/local.yaml` and `.env`.\n\nYou can still edit those files by hand — see [connect-data.html](https://www.anythinggraph.com/connect-data.html) on the website.\n\n`anythinggraph start` loads `.env` from the git checkout automatically.\n\nUse `anythinggraph start --rebuild-rust` after pulling Rust changes.\n\n## Environment\n\n| Variable | Purpose |\n|----------|---------|\n| `ANYTHINGGRAPH_HOME` | Override `~/.anythinggraph` (checkout still lives under `{home}/source`) |\n\n## Default ports\n\n| Service | URL |\n|---------|-----|\n| Reasoning API | `http://127.0.0.1:8787` |\n| MCP (Cursor / Claude) | `http://127.0.0.1:3334/mcp` |\n\n## Notes\n\n- **Rust (`cargo`)** and **git** are required on first onboard.\n- **Daemon** is supported on macOS (launchd) and Linux (systemd user). On Windows, use WSL2 or run `anythinggraph start` in a terminal.\n- Connect MCP in Cursor or Claude, then ask agents to use playbook tools (`query_graph`, `introspect_source`, etc.). See **AGENTS.md** in the anything-cli repo.\n","readmeFilename":"README.md"}