Skip to main content
Version: 0.4.0

Command Reference

npm scripts

ScriptCommandDescription
npm run buildtscCompile TypeScript to dist/.
npm run watchtsc -wCompile in watch mode.
npm run linteslint 'src/**/*.ts'Lint the source tree.
npm run test:unitvitest run src/tests/unitRun unit tests.
npm run test:integrationvitest run src/tests/integrationRun integration tests.
npm run startnode dist/index.jsRaw ACP stdin/stdout server.
npm run clinode dist/cli.jsInteractive REPL CLI.
npm run servernode dist/server.jsExpress REST/SSE server.
npm run mcpnode dist/mcp.jsStdio MCP server.
npm run ingestnode dist/scripts/ingest.jsRebuild the local vector store.
npm run ingest:remotenode dist/scripts/ingest.js --remoteRebuild the vector store from a remote source.
npm run deploynode scripts/deploy.jsDocker build, ECR push, and Terraform deploy.
npm run report-infrascripts/report-infra.ps1PowerShell AWS infrastructure status audit. Prompts for which regions to scan. Read-only.
npm run create-infrascripts/create-infra.ps1Provisions the whole stack from nothing: SSM secrets, ECR, image build and push, Lightsail container service, CloudFront.
npm run create-infra:planscripts/create-infra.ps1 -PlanOnlyShows what create-infra would provision. Creates nothing.
npm run cleanup-infrascripts/cleanup-infra.ps1Plans the deletion of every AWS resource that is not part of this project. Dry run - deletes nothing.
npm run cleanup-infra:applyscripts/cleanup-infra.ps1 -ApplySame, but actually deletes, after you type DELETE to confirm.
npm run teardown-infrascripts/cleanup-infra.ps1 -IncludeProjectPlans a full account teardown, this project included. Dry run - deletes nothing.
npm run teardown-infra:applyscripts/cleanup-infra.ps1 -IncludeProject -ApplyDestroys the running service, after you type DELETE EVERYTHING to confirm.
npm run tail-logsnode scripts/tail-logs.jsStream cloud container logs.
npm run test-tracingnode scripts/test-tracing.jsVerify LangSmith tracing connectivity.
npm run ls-studionpx @langchain/langgraph-cli devRun LangGraph Studio locally against langgraph.json.
npm run docs:installnpm install --prefix docsInstall documentation site dependencies.
npm run docs:startnpm run start --prefix docsRun the documentation site locally.
npm run docs:buildnpm run build --prefix docsBuild the static documentation site.

REST API endpoints

See the full reference in Server Usage.

ACP JSON-RPC methods

See the full reference in ACP Protocol.