What the agent is doing, and what it has understood about the visitor.
import { SpacefrontPresence } from '@40rty/ams-ui/presence';import '@40rty/ams-ui/presence.css';
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AMS","colors":{"primary":"#0F172A","light":"#F8F9FB","dark":"#0F172A"},"logo":{"light":"/logo/40rty-logo-black.png","dark":"/logo/40rty-logo-black.png"},"favicon":"/logo/40rty-logo-black.png","navbar":{"primary":{"type":"button","label":"Console","href":"https://app.40rty.ai"}},"integrations":{"telemetry":{"enabled":false}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4203"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[],"page":{"pagePath":"ams-ui/shell/presence","slug":"/ams-ui/shell/presence","pageMetadata":{"title":"Presence","description":"What the agent is doing, and what it has understood about the visitor.","href":"/ams-ui/shell/presence"},"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: \"What the agent is doing, and what it has understood about the visitor.\"\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`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,OptimizedFrame}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);return _jsxs(_Fragment,{children:[_jsx(OptimizedFrame,{src:`https://40rty-ui-preview.vercel.app/presence?embed=1`,title:`Live preview, with a desktop and phone switch`,loading:`lazy`,style:{width:`100%`,height:640,border:`1px solid #e5e7eb`,borderRadius:12}}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`tsx`,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:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`2`,children:[_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:`SpacefrontPresence`}),_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:` '@40rty/ams-ui/presence'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@40rty/ams-ui/presence.css'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\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":"Presence","description":"What the agent is doing, and what it has understood about the visitor.","href":"/ams-ui/shell/presence"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/localhost/29947afe2f501821/autoplay-in-view.js"],"subdomain":"localhost","siteName":"AMS","title":"Presence - AMS","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"ams-ui/shell/presence.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=\"What the agent is doing, and what it has understood about the visitor.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AMS\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Presence - AMS\">\u003cmeta data-mint-head property=\"og:description\" content=\"What the agent is doing, and what it has understood about the visitor.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AMS\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./ams-ui/shell/presence\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Presence - AMS\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"What the agent is doing, and what it has understood about the visitor.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AMS\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F172A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./ams-ui/shell/presence\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ams-ui/shell/presence.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AMS\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AMS\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ams-ui/shell/presence.md","siteName":"AMS","nav":{"tabs":[{"tab":"AMS","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Architecture","href":"/architecture"}]},{"group":"Guides","pages":[{"title":"Self-hosted","href":"/guides/self-hosted"},{"title":"Managed","href":"/guides/managed"},{"group":"E-commerce","pages":[{"title":"Shopify","href":"/guides/ecommerce/shopify"}]}]},{"group":"UI Components","pages":[{"title":"Overview","href":"/ams-ui/overview"},{"group":"Shell","pages":[{"title":"Composer","href":"/ams-ui/shell/composer"},{"title":"Conversation panel","description":"The full conversation with its own input, docked beside the canvas.","href":"/ams-ui/shell/conversation-panel"},{"title":"Presence","href":"/ams-ui/shell/presence"}]},{"group":"Commerce","pages":[{"title":"Product grid","description":"A grid of products, with an optional heading and action.","href":"/ams-ui/commerce/product-grid"},{"title":"Product detail","href":"/ams-ui/commerce/product-detail"},{"title":"Comparison table","href":"/ams-ui/commerce/comparison-table"},{"title":"Collection list","href":"/ams-ui/commerce/collection-list"}]},{"group":"Content","pages":[{"title":"Hero","href":"/ams-ui/content/hero"},{"title":"Brand story","href":"/ams-ui/content/brand-story"},{"title":"Info cards","href":"/ams-ui/content/info-cards"},{"title":"FAQ","href":"/ams-ui/content/faq"},{"title":"Blog posts","href":"/ams-ui/content/blog-posts"},{"title":"Article","href":"/ams-ui/content/article-detail"},{"title":"Page","href":"/ams-ui/content/page-detail"},{"title":"Policy","href":"/ams-ui/content/policy-detail"}]},{"group":"Social","pages":[{"title":"Reviews","href":"/ams-ui/social/reviews"},{"title":"Testimonials","href":"/ams-ui/social/testimonials"},{"title":"Customer photos","href":"/ams-ui/social/ugc"}]},{"group":"Shared","pages":[{"title":"Agent text","href":"/ams-ui/shared/agent-text"},{"title":"Turn","href":"/ams-ui/shared/turn"},{"title":"Backdrop","href":"/ams-ui/shared/backdrop"}]},{"title":"Component explorer","href":"/ams-ui/explorer"}]},{"group":"Reference","pages":[{"title":"SDK","href":"/reference/sdk"},{"title":"CLI","href":"/reference/cli"},{"title":"forty.config.json","href":"/reference/config"}]}]},{"tab":"AgentIQ","pages":[{"title":"AgentIQ","href":"/agentiq/overview"}]}]},"basePath":"","title":"Presence - AMS","buildId":"c7fb3ee5f094","dynamics":[],"chunks":[]}