Migrate from Sapient to Lightsage - Lightsage

Documentation Index

Fetch the complete documentation index at: /docs/llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content

Sapient is now Lightsage. Update integrations that reference previous commands, package names, or hosts. Your organizations, data, and existing API key values do not change.

Use the Lightsage command, package, host, and authentication names in all new configuration.

Use Lightsage CLI 0.6.4 or later, Lightsage MCP 0.1.7 or later, and Agent Tracker 0.1.14 or later when completing this migration.

​ Migration summary

Surface Previous value Lightsage value
CLI executable sapient lightsage
MCP endpoint https://mcp.usesapient.com/mcp https://mcp.lightsage.com/mcp
Public API base URL https://api-public.usesapient.com https://api.lightsage.com
Agent Tracker package @usesapient/agent-tracker @lightsage/agent-tracker
Docs Agent slash command /sapient ... /lightsage ...
Docs Agent documentation path /sapient-docs-agent/* /lightsage-docs-agent/*

Public API paths remain under /v1, and the MCP path remains /mcp. The rebrand does not change resource IDs, organization IDs, request bodies, or response bodies by itself.Use --lightsage-api-key-auth or LIGHTSAGE_API_KEY with the CLI, and X-Lightsage-Api-Key with hosted MCP and direct public API requests.

​ Migrate the CLI

1

Install the Lightsage CLI

brew uninstall sapient
brew install lightsagehq/tools/lightsage
lightsage version

Confirm the installed version is 0.6.4 or later.

2

Update commands and authentication

Replace the executable, auth flag, and environment variables in scripts:

export LIGHTSAGE_API_KEY="your_existing_api_key"
lightsage --lightsage-api-key-auth "$LIGHTSAGE_API_KEY" status auth-status-get

For CLI authentication through the environment, use LIGHTSAGE_API_KEY.

3

Verify the CLI

lightsage version
lightsage auth whoami --no-interactive
lightsage status auth-status-get --no-interactive

Lightsage CLI stores configuration under ~/.config/lightsage. Re-run lightsage auth login after installation to save your API key in the Lightsage keychain entry.

​ Migrate MCP clients

Update each MCP client configuration:

  1. Rename the local server entry from sapient to lightsage.
  2. Use https://mcp.lightsage.com/mcp for remote connections.
  3. Set the API-key header to X-Lightsage-Api-Key.
  4. Use @lightsage/mcp for local npx setups.
{
  "mcpServers": {
    "lightsage": {
      "type": "http",
      "url": "https://mcp.lightsage.com/mcp",
      "headers": {
        "X-Lightsage-Api-Key": "${LIGHTSAGE_API_KEY}"
      }
    }
  }
}

For local stdio configurations, update the package and flag together:

npx @lightsage/mcp start --lightsage-api-key-auth "$LIGHTSAGE_API_KEY"

Use @lightsage/mcp``0.1.7 or later so local and hosted clients use the canonical Lightsage authentication contract.If your client uses OAuth, disconnect the legacy connector and add Lightsage with the new endpoint. This ensures the OAuth resource identifier matches the canonical Lightsage MCP URL.

​ Migrate direct Public API integrations

Use the Lightsage base URL and API-key header. Keep the existing /v1 path and API key value.

curl https://api.lightsage.com/v1/auth/status \
  -H "X-Lightsage-Api-Key: $LIGHTSAGE_API_KEY"

​ Migrate Agent Tracker

Install Agent Tracker 0.1.14 or later before switching declarative browser markup to data-lightsage-*.

1

Replace the npm package

npm uninstall @usesapient/agent-tracker
npm install @lightsage/agent-tracker

2

Update framework imports

// Before
import { withAgentTracking } from '@usesapient/agent-tracker/next';

// After
import { withAgentTracking } from '@lightsage/agent-tracker/next';

3

Redeploy and verify events

Rebuild and redeploy your application. Open Agent Analytics and confirm that new visits arrive from the migrated deployment.

​ Migrate the Docs Agent

Replace Docs Agent commands in pull request templates, saved replies, and automation:

# Before
/sapient run evals

# After
/lightsage run evals

Use /lightsage status and /lightsage help for the other commands. Legacy /sapient commands remain available as a compatibility fallback.Update saved links from /sapient-docs-agent/* to /lightsage-docs-agent/*. The old documentation paths redirect permanently to their Lightsage equivalents.

​ Final verification

{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lightsage","colors":{"primary":"#0EA5E9","light":"#38BDF8","dark":"#0284C7"},"logo":{"light":"https://mintcdn.com/sapient-14d4e375/0RQiSxJPQv6MyuZt/images/lightsage-logo-with-text-light.svg?fit=max\\u0026auto=format\\u0026n=0RQiSxJPQv6MyuZt\\u0026q=85\\u0026s=843d0563baa54c778891f942711ab938","dark":"https://mintcdn.com/sapient-14d4e375/0RQiSxJPQv6MyuZt/images/lightsage-logo-with-text-dark.svg?fit=max\\u0026auto=format\\u0026n=0RQiSxJPQv6MyuZt\\u0026q=85\\u0026s=0ec933f6e5153f8392cb4c5f19b7017f"},"favicon":"https://mintcdn.com/sapient-14d4e375/lnqlKs8p\_hzadcGt/images/favicon.png?fit=max\\u0026auto=format\\u0026n=lnqlKs8p\_hzadcGt\\u0026q=85\\u0026s=358b3be56f25189cd6d5417fd300fefc","background":{"color":{"light":"#FFFFFF","dark":"#0D0C0C"}},"navbar":{"links":\[{"href":"https://lightsage.com","label":"Homepage"}\],"primary":{"type":"button","label":"Dashboard","href":"https://app.lightsage.com"}},"seo":{"indexing":"all"},"fonts":{"family":"Geist"},"integrations":{"ga4":{"measurementId":"G-417S0EJVMS"},"posthog":{"apiKey":"phc\_yrA1TjjqeYfsoJEofjxd0Bw7cTrxs8N402k3NwusII7"}},"contextual":{"options":\["copy","chatgpt","cursor","vscode"\],"display":"header"},"styling":{"latex":false},"navigation":{"pages":\[\]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sapient-14d4e375","hasAudioNarration":false,"actualSubdomain":"sapient-14d4e375","customDomains":\["lightsage.com"\],"gitSource":{"type":"github","owner":"lightsagehq","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae02893fa64afb3742fc617","collectionId":"5733d0e5-4574-4b13-bbeb-88d7bc3f6d01","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae02893fa64afb3742fc617"},"entitlements":{"AI\_CHAT":{"status":"DISABLED"}},"buildId":"6ae02c324c09e96410641fcb","clientVersion":"0.0.3971","searchFilterCounts":\[{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"CLI Reference","count":18},{"language":"default","tag":"Evals","count":14},{"language":"default","tag":"Documentation","count":13},{"language":"default","tag":"Prompts","count":13},{"language":"default","tag":"Visibility","count":12},{"language":"default","tag":"MCP Reference","count":10},{"language":"default","tag":"Clients","count":9},{"language":"default","tag":"Agent Preference","count":8},{"language":"default","tag":"Agent Analytics","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"migration-guide","slug":"/migration-guide","pageMetadata":{"title":"Migrate from Sapient to Lightsage","sidebarTitle":"Migrate from Sapient","description":"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.","icon":"arrows-rotate","href":"/migration-guide"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Step,Steps,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Sapient is now Lightsage. Update integrations that reference previous commands,\npackage names, or hosts. Your organizations, data, and existing API key values\ndo not change.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Use the Lightsage command, package, host, and authentication names in all new\nconfiguration.`})}),`\n`,_jsxs(_components.p,{children:[`Use Lightsage CLI `,_jsx(_components.code,{children:`0.6.4`}),` or later, Lightsage MCP `,_jsx(_components.code,{children:`0.1.7`}),` or later, and Agent\nTracker `,_jsx(_components.code,{children:`0.1.14`}),` or later when completing this migration.`]}),`\n`,_jsx(Heading,{level:`2`,id:`migration-summary`,children:`Migration summary`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Surface`}),_jsx(_components.th,{children:`Previous value`}),_jsx(_components.th,{children:`Lightsage value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`CLI executable`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sapient`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`lightsage`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MCP endpoint`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://mcp.usesapient.com/mcp\`})}),\_jsx(\_components.td,{children:\_jsx(\_components.code,{children:\`https://mcp.lightsage.com/mcp\`})})\]}),\_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Public API base URL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api-public.usesapient.com\`})}),\_jsx(\_components.td,{children:\_jsx(\_components.code,{children:\`https://api.lightsage.com\`})})\]}),\_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Agent Tracker package`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`@usesapient/agent-tracker`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`@lightsage/agent-tracker`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Docs Agent slash command`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/sapient ...`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/lightsage ...`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Docs Agent documentation path`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/sapient-docs-agent/*`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/lightsage-docs-agent/*`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Public API paths remain under `,_jsx(_components.code,{children:`/v1`}),`, and the MCP path remains `,_jsx(_components.code,{children:`/mcp`}),`. The\nrebrand does not change resource IDs, organization IDs, request bodies, or\nresponse bodies by itself.`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--lightsage-api-key-auth`}),` or `,_jsx(_components.code,{children:`LIGHTSAGE_API_KEY`}),` with the CLI,\nand `,_jsx(_components.code,{children:`X-Lightsage-Api-Key`}),` with hosted MCP and direct public API requests.`]}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-the-cli`,children:`Migrate the CLI`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Install the Lightsage CLI`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`brew`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uninstall`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sapient`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`brew`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` lightsagehq/tools/lightsage`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lightsage`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` version`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Confirm the installed version is `,_jsx(_components.code,{children:`0.6.4`}),` or later.`]})]}),_jsxs(Step,{title:`Update commands and authentication`,children:[_jsx(_components.p,{children:`Replace the executable, auth flag, and environment variables in scripts:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LIGHTSAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your_existing_api_key\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lightsage`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --lightsage-api-key-auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LIGHTSAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-status-get`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`For CLI authentication through the environment, use\n`,_jsx(_components.code,{children:`LIGHTSAGE_API_KEY`}),`.`]})]}),_jsx(Step,{title:`Verify the CLI`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lightsage`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` version`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lightsage`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` whoami`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-interactive`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`lightsage`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` auth-status-get`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-interactive`})]}),`\n`]})})})})]}),`\n`,_jsxs(_components.p,{children:[`Lightsage CLI stores configuration under `,_jsx(_components.code,{children:`~/.config/lightsage`}),`. Re-run\n`,_jsx(_components.code,{children:`lightsage auth login`}),` after installation to save your API key in the Lightsage\nkeychain entry.`]}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-mcp-clients`,children:`Migrate MCP clients`}),`\n`,_jsx(_components.p,{children:`Update each MCP client configuration:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Rename the local server entry from `,_jsx(_components.code,{children:`sapient`}),` to `,_jsx(_components.code,{children:`lightsage`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`https://mcp.lightsage.com/mcp\`}),\` for remote connections.`]}),`\n`,_jsxs(_components.li,{children:[`Set the API-key header to `,_jsx(_components.code,{children:`X-Lightsage-Api-Key`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`@lightsage/mcp`}),` for local `,_jsx(_components.code,{children:`npx`}),` setups.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lightsage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mcp.lightsage.com/mcp\\"\`}),\_jsx(\_components.span,{style:{color:\`#1F2328\`,\\"--shiki-dark\\":\`#D4D4D4\`},children:\`,\`})\]}),\`\\n\`,\_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"X-Lightsage-Api-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"${LIGHTSAGE_API_KEY}\"'})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For local stdio configurations, update the package and flag together:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @lightsage/mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` start`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --lightsage-api-key-auth`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LIGHTSAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`@lightsage/mcp`}),` `,_jsx(_components.code,{children:`0.1.7`}),` or later so local and hosted clients use the\ncanonical Lightsage authentication contract.`]}),`\n`,_jsx(_components.p,{children:`If your client uses OAuth, disconnect the legacy connector and add Lightsage\nwith the new endpoint. This ensures the OAuth resource identifier matches the\ncanonical Lightsage MCP URL.`}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-direct-public-api-integrations`,children:`Migrate direct Public API integrations`}),`\n`,_jsxs(_components.p,{children:[`Use the Lightsage base URL and API-key header. Keep the existing `,_jsx(_components.code,{children:`/v1`}),` path and\nAPI key value.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.lightsage.com/v1/auth/status\`}),\_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Lightsage-Api-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LIGHTSAGE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-agent-tracker`,children:`Migrate Agent Tracker`}),`\n`,_jsxs(_components.p,{children:[`Install Agent Tracker `,_jsx(_components.code,{children:`0.1.14`}),` or later before switching declarative browser\nmarkup to `,_jsx(_components.code,{children:`data-lightsage-*`}),`.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Replace the npm package`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uninstall`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @usesapient/agent-tracker`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @lightsage/agent-tracker`})]}),`\n`]})})})}),_jsx(Step,{title:`Update framework imports`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Before`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`withAgentTracking`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@usesapient/agent-tracker/next'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// After`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`withAgentTracking`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@lightsage/agent-tracker/next'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})})}),_jsx(Step,{title:`Redeploy and verify events`,children:_jsxs(_components.p,{children:[`Rebuild and redeploy your application. Open `,_jsx(_components.strong,{children:`Agent Analytics`}),` and confirm\nthat new visits arrive from the migrated deployment.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-the-docs-agent`,children:`Migrate the Docs Agent`}),`\n`,_jsx(_components.p,{children:`Replace Docs Agent commands in pull request templates, saved replies, and\nautomation:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Before`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/sapient run evals`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# After`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/lightsage run evals`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`/lightsage status`}),` and `,_jsx(_components.code,{children:`/lightsage help`}),` for the other commands. Legacy\n`,_jsx(_components.code,{children:`/sapient`}),` commands remain available as a compatibility fallback.`]}),`\n`,_jsxs(_components.p,{children:[`Update saved links from `,_jsx(_components.code,{children:`/sapient-docs-agent/*`}),` to\n`,_jsx(_components.code,{children:`/lightsage-docs-agent/*`}),`. The old documentation paths redirect permanently to\ntheir Lightsage equivalents.`]}),`\n`,_jsx(Heading,{level:`2`,id:`final-verification`,children:`Final verification`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`lightsage version`}),` reports `,_jsx(_components.code,{children:`0.6.4`}),` or later.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`lightsage status auth-status-get --no-interactive`}),` authenticates successfully.`]}),`\n`,_jsxs(_components.li,{children:[`MCP clients use `,_jsx(_components.code,{children:`https://mcp.lightsage.com/mcp\`}),\` or `,_jsx(_components.code,{children:`@lightsage/mcp`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Direct API requests use `,_jsx(_components.code,{children:`https://api.lightsage.com\`}),\` and `,_jsx(_components.code,{children:`X-Lightsage-Api-Key`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Application imports use `,_jsx(_components.code,{children:`@lightsage/agent-tracker`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Docs Agent automation and saved replies use `,_jsx(_components.code,{children:`/lightsage`}),` commands.`]}),`\n`,_jsx(_components.li,{children:`New Agent Tracker visits appear in the Lightsage dashboard after deployment.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Migrate from Sapient to Lightsage","sidebarTitle":"Migrate from Sapient","description":"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.","icon":"arrows-rotate","href":"/migration-guide"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Migration summary","slug":"migration-summary","depth":2,"children":[]},{"title":"Migrate the CLI","slug":"migrate-the-cli","depth":2,"children":[]},{"title":"Migrate MCP clients","slug":"migrate-mcp-clients","depth":2,"children":[]},{"title":"Migrate direct Public API integrations","slug":"migrate-direct-public-api-integrations","depth":2,"children":[]},{"title":"Migrate Agent Tracker","slug":"migrate-agent-tracker","depth":2,"children":[]},{"title":"Migrate the Docs Agent","slug":"migrate-the-docs-agent","depth":2,"children":[]},{"title":"Final verification","slug":"final-verification","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"sapient-14d4e375","siteName":"Lightsage","title":"Migrate from Sapient to Lightsage - Lightsage","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T10:06:16.921Z","originalFileLocation":"migration-guide.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lightsage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Migrate from Sapient to Lightsage - Lightsage\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lightsage\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://lightsage.com/docs/migration-guide\\">\\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sapient-14d4e375.mintlify.app/\_mintlify/api/og/v2?division=Quickstart\\u0026amp;title=Migrate+from+Sapient+to+Lightsage\\u0026amp;description=Update+Sapient+CLI%2C+MCP%2C+Public+API%2C+Agent+Tracker%2C+and+Docs+Agent+integrations+to+their+Lightsage+names.\\u0026amp;theme=dd8ce0054346ff07fc865000\\u0026amp;signature=e6648997a189ac97e286e75528426be790ee44c5c59ed9098cbe6a9e5e51cd15\\">\\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Migrate from Sapient to Lightsage - Lightsage\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sapient-14d4e375.mintlify.app/\_mintlify/api/og/v2?division=Quickstart\\u0026amp;title=Migrate+from+Sapient+to+Lightsage\\u0026amp;description=Update+Sapient+CLI%2C+MCP%2C+Public+API%2C+Agent+Tracker%2C+and+Docs+Agent+integrations+to+their+Lightsage+names.\\u0026amp;theme=dd8ce0054346ff07fc865000\\u0026amp;signature=e6648997a189ac97e286e75528426be790ee44c5c59ed9098cbe6a9e5e51cd15\\">\\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/sapient-14d4e375/dqjrUzdCO-t6TId6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lightsage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0EA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://lightsage.com/docs/migration-guide\\">\\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/migration-guide.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\\",\\"@graph\\":\[{\\"@type\\":\\"Organization\\",\\"@id\\":\\"https://lightsage.com/#organization\\",\\"name\\":\\"Lightsage\\",\\"url\\":\\"https://lightsage.com\\",\\"logo\\":{\\"@type\\":\\"ImageObject\\",\\"url\\":\\"https://mintcdn.com/sapient-14d4e375/0RQiSxJPQv6MyuZt/images/lightsage-logo-with-text-light.svg?fit=max\\u0026auto=format\\u0026n=0RQiSxJPQv6MyuZt\\u0026q=85\\u0026s=843d0563baa54c778891f942711ab938\\"}},{\\"@type\\":\\"WebSite\\",\\"@id\\":\\"https://lightsage.com/docs#website\\",\\"name\\":\\"Lightsage\\",\\"url\\":\\"https://lightsage.com/docs\\",\\"publisher\\":{\\"@id\\":\\"https://lightsage.com/#organization\\"}},{\\"@type\\":\\"WebPage\\",\\"@id\\":\\"https://lightsage.com/docs/migration-guide#webpage\\",\\"url\\":\\"https://lightsage.com/docs/migration-guide\\",\\"name\\":\\"Migrate from Sapient to Lightsage\",\"description\":\"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.\",\"dateModified\":\"2026-09-11T10:06:16.921Z\",\"isPartOf\":{\"@id\":\"https://lightsage.com/docs#website\\"},\\"breadcrumb\\":{\\"@id\\":\\"https://lightsage.com/docs/migration-guide#breadcrumb\\"}},{\\"@type\\":\\"BreadcrumbList\\",\\"@id\\":\\"https://lightsage.com/docs/migration-guide#breadcrumb\\",\\"itemListElement\\":\[{\\"@type\\":\\"ListItem\\",\\"position\\":1,\\"name\\":\\"Quickstart\\",\\"item\\":\\"https://lightsage.com/docs/index\\"},{\\"@type\\":\\"ListItem\\",\\"position\\":2,\\"name\\":\\"Migrate from Sapient to Lightsage\",\"item\":\"https://lightsage.com/docs/migration-guide\\"}\]},{\\"@type\\":\[\\"Article\\",\\"TechArticle\\"\],\\"@id\\":\\"https://lightsage.com/docs/migration-guide#article\\",\\"headline\\":\\"Migrate from Sapient to Lightsage\",\"name\":\"Migrate from Sapient to Lightsage\",\"description\":\"Update Sapient CLI, MCP, Public API, Agent Tracker, and Docs Agent integrations to their Lightsage names.\",\"url\":\"https://lightsage.com/docs/migration-guide\\",\\"mainEntityOfPage\\":{\\"@id\\":\\"https://lightsage.com/docs/migration-guide#webpage\\"},\\"dateModified\\":\\"2026-09-11T10:06:16.921Z\\",\\"publisher\\":{\\"@id\\":\\"https://lightsage.com/#organization\\"},\\"isPartOf\\":{\\"@id\\":\\"https://lightsage.com/docs#website\\"}}\]}\\u003c/script>\\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\\",\\"@type\\":\\"WebSite\\",\\"name\\":\\"Lightsage\\",\\"creator\\":{\\"@type\\":\\"Organization\\",\\"name\\":\\"Mintlify\\",\\"url\\":\\"https://mintlify.com\\"}}\\u003c/script>","siteName":"Lightsage","nav":{"global":null,"tabs":\[{"tab":"Documentation","pages":\[{"group":"Quickstart","pages":\[{"title":"Quickstart","description":"Set up Lightsage access, choose a client, and pull your first agent-ready work item.","sidebarTitle":"Quickstart","href":""},{"title":"Migrate from Sapient to Lightsage","sidebarTitle":"Migrate from Sapient","icon":"arrows-rotate","href":"/migration-guide"},{"group":"Onboard your AI agent","root":{"title":"Onboard your AI agent to Lightsage","sidebarTitle":"Onboard your AI agent","description":"Give your coding agent Lightsage skills, connected tools, workflows, and current documentation.","href":"/agent-onboarding"},"expanded":true,"pages":[{"title":"Agent Skills","href":"/agent-onboarding/agent-skills"},{"title":"Lightsage MCP","href":"/agent-onboarding/lightsage-mcp"},{"title":"Lightsage CLI","href":"/agent-onboarding/lightsage-cli"},{"title":"Workflows","href":"/agent-onboarding/workflows"},{"title":"Docs for agents","href":"/agent-onboarding/docs-for-agents"}]}]},{"group":"Guides","pages":[{"title":"Pull actionables into your agent","href":"/workflows/pull-actionables-into-your-agent"},{"title":"Running evals","href":"/guides/running-evals"}]},{"group":"Agent Analytics","pages":[{"title":"Measure agent-attributed growth","sidebarTitle":"Attributed growth","href":"/agent-analytics/attributed-growth"}]},{"group":"Integrations","pages":[{"title":"Google Cloud DNS integration","sidebarTitle":"Google Cloud DNS","href":"/agent-analytics/integrations/google-cloud-dns"}]},{"group":"Lightsage Docs Agent","pages":[{"title":"Lightsage Docs Agent","sidebarTitle":"Overview","href":"/lightsage-docs-agent/overview"},{"title":"Run docs evals from GitHub","sidebarTitle":"GitHub PR evals","href":"/lightsage-docs-agent/github-pr-evals"}]}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli-reference"}]},{"tab":"MCP Reference","pages":[{"title":"MCP Reference","href":"/mcp-reference"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Migrate from Sapient to Lightsage - Lightsage","buildId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","deploymentId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","dynamics":[],"chunks":[]}