2:I[7382,["8905","static/chunks/8905-f6f9469353911fb0.js","7648","static/chunks/7648-34771bb3fdb1b05c.js","7504","static/chunks/app/(marketing)/docs/quickstart/page-ef8360ad1e6965d2.js"],"CodeBlock"]
3:I[7382,["8905","static/chunks/8905-f6f9469353911fb0.js","7648","static/chunks/7648-34771bb3fdb1b05c.js","7504","static/chunks/app/(marketing)/docs/quickstart/page-ef8360ad1e6965d2.js"],"ButtonLink"]
4:I[2228,["8905","static/chunks/8905-f6f9469353911fb0.js","7648","static/chunks/7648-34771bb3fdb1b05c.js","7504","static/chunks/app/(marketing)/docs/quickstart/page-ef8360ad1e6965d2.js"],"default"]
5:I[4707,[],""]
6:I[6423,[],""]
7:I[6943,["8905","static/chunks/8905-f6f9469353911fb0.js","3143","static/chunks/3143-242beb2943338ff8.js","7864","static/chunks/7864-df8ea73c5cbe0896.js","7648","static/chunks/7648-34771bb3fdb1b05c.js","4873","static/chunks/4873-d3832094381cdad1.js","2567","static/chunks/2567-5a770fb5c2fddd8c.js","2979","static/chunks/app/(marketing)/docs/layout-da136169b2ec1d20.js"],"default",1]
8:I[4873,["8905","static/chunks/8905-f6f9469353911fb0.js","3143","static/chunks/3143-242beb2943338ff8.js","7864","static/chunks/7864-df8ea73c5cbe0896.js","1713","static/chunks/1713-a64ba0d5e6aae143.js","7648","static/chunks/7648-34771bb3fdb1b05c.js","3975","static/chunks/3975-52ed6f58eef56249.js","4873","static/chunks/4873-d3832094381cdad1.js","3185","static/chunks/app/layout-d075ade29984b3e7.js"],"Providers"]
9:I[6151,["8905","static/chunks/8905-f6f9469353911fb0.js","3143","static/chunks/3143-242beb2943338ff8.js","7864","static/chunks/7864-df8ea73c5cbe0896.js","1713","static/chunks/1713-a64ba0d5e6aae143.js","7648","static/chunks/7648-34771bb3fdb1b05c.js","3975","static/chunks/3975-52ed6f58eef56249.js","4873","static/chunks/4873-d3832094381cdad1.js","3185","static/chunks/app/layout-d075ade29984b3e7.js"],"Shell"]
a:{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"}
b:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
c:{"display":"inline-block"}
d:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
0:["Xmbpq0qUMSQW_nb5lu3Pi",[[["",{"children":["(marketing)",{"children":["docs",{"children":["quickstart",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(marketing)",{"children":["docs",{"children":["quickstart",{"children":["__PAGE__",{},[["$L1",["$","article",null,{"className":"max-w-read","children":[["$","div",null,{"className":"tech-label mb-3","children":"Quickstart"}],["$","h1",null,{"className":"display text-2xl","children":"Your first memory in five minutes"}],["$","p",null,{"className":"lede mt-4","children":"Store a belief, query it, and see why it’s believed. Every snippet below is real and runs against the same API the dashboard uses."}],["$","ol",null,{"className":"mt-12 space-y-12","children":[["$","li","0",{"className":"grid gap-x-5 gap-y-3 sm:grid-cols-[28px_minmax(0,1fr)]","children":[["$","div",null,{"className":"flex items-center gap-3 sm:block","children":[["$","span",null,{"aria-hidden":"true","className":"mono grid h-7 w-7 shrink-0 place-items-center rounded-full border text-2xs font-semibold","children":1}],["$","h2",null,{"className":"text-lede font-semibold sm:hidden","children":"Install and start the server"}]]}],["$","div",null,{"className":"min-w-0","children":[["$","h2",null,{"className":"hidden text-lede font-semibold sm:block","children":[["$","span",null,{"className":"sr-only","children":["Step ",1,": "]}],"Install and start the server"]}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":"One package, no dependencies. Or run it straight from a clone — same server, same port, same first-run key. From source the dashboard needs building once (cd web && OMEM_STATIC=1 npm run build); in the wheel it is already bundled."}],["$","div",null,{"className":"mt-4","children":["$","$L2",null,{"tabs":[{"label":"From PyPI","code":"pip install omem-infrastructure\nomem-server            # or: omem-server 9000"},{"label":"From source","code":"cd server\npython api.py          # or: python api.py 9000"}],"label":"Install and start the server"}]}]]}]]}],["$","li","1",{"className":"grid gap-x-5 gap-y-3 sm:grid-cols-[28px_minmax(0,1fr)]","children":[["$","div",null,{"className":"flex items-center gap-3 sm:block","children":[["$","span",null,{"aria-hidden":"true","className":"mono grid h-7 w-7 shrink-0 place-items-center rounded-full border text-2xs font-semibold","children":2}],["$","h2",null,{"className":"text-lede font-semibold sm:hidden","children":"Create a client"}]]}],["$","div",null,{"className":"min-w-0","children":[["$","h2",null,{"className":"hidden text-lede font-semibold sm:block","children":[["$","span",null,{"className":"sr-only","children":["Step ",2,": "]}],"Create a client"]}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":"The first run prints a project id and an API key. There is no signup call and nothing to configure — paste them straight in."}],["$","div",null,{"className":"mt-4","children":["$","$L2",null,{"tabs":[{"label":"Python","code":"from omem import Memory\n\nmem = Memory(api_key=\"omem_sk_...\",\n             base_url=\"http://127.0.0.1:8787\",\n             project=\"proj_...\")"}],"label":"Create a client"}]}]]}]]}],["$","li","2",{"className":"grid gap-x-5 gap-y-3 sm:grid-cols-[28px_minmax(0,1fr)]","children":[["$","div",null,{"className":"flex items-center gap-3 sm:block","children":[["$","span",null,{"aria-hidden":"true","className":"mono grid h-7 w-7 shrink-0 place-items-center rounded-full border text-2xs font-semibold","children":3}],["$","h2",null,{"className":"text-lede font-semibold sm:hidden","children":"Remember a belief"}]]}],["$","div",null,{"className":"min-w-0","children":[["$","h2",null,{"className":"hidden text-lede font-semibold sm:block","children":[["$","span",null,{"className":"sr-only","children":["Step ",3,": "]}],"Remember a belief"]}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":"`about` is any entity id you choose. `claim` is a token, not a sentence — OMEM normalises spelling, so three spellings of one claim stay one claim."}],["$","div",null,{"className":"mt-4","children":["$","$L2",null,{"tabs":[{"label":"Python","code":"mem.remember(agent=\"support-bot\",\n             about=\"customer:alice\",\n             claim=\"prefers_annual_billing\")"}],"label":"Remember a belief"}]}]]}]]}],["$","li","3",{"className":"grid gap-x-5 gap-y-3 sm:grid-cols-[28px_minmax(0,1fr)]","children":[["$","div",null,{"className":"flex items-center gap-3 sm:block","children":[["$","span",null,{"aria-hidden":"true","className":"mono grid h-7 w-7 shrink-0 place-items-center rounded-full border text-2xs font-semibold","children":4}],["$","h2",null,{"className":"text-lede font-semibold sm:hidden","children":"Query what it believes"}]]}],["$","div",null,{"className":"min-w-0","children":[["$","h2",null,{"className":"hidden text-lede font-semibold sm:block","children":[["$","span",null,{"className":"sr-only","children":["Step ",4,": "]}],"Query what it believes"]}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":"Returns a four-valued state: BELIEVED_TRUE, BELIEVED_FALSE, CONTRADICTED, or UNKNOWN."}],["$","div",null,{"className":"mt-4","children":["$","$L2",null,{"tabs":[{"label":"Python","code":"mem.believes(about=\"customer:alice\",\n             claim=\"prefers_annual_billing\")\n# -> 'BELIEVED_TRUE'"}],"label":"Query what it believes"}]}]]}]]}],["$","li","4",{"className":"grid gap-x-5 gap-y-3 sm:grid-cols-[28px_minmax(0,1fr)]","children":[["$","div",null,{"className":"flex items-center gap-3 sm:block","children":[["$","span",null,{"aria-hidden":"true","className":"mono grid h-7 w-7 shrink-0 place-items-center rounded-full border text-2xs font-semibold","children":5}],["$","h2",null,{"className":"text-lede font-semibold sm:hidden","children":"Contradict yourself"}]]}],["$","div",null,{"className":"min-w-0","children":[["$","h2",null,{"className":"hidden text-lede font-semibold sm:block","children":[["$","span",null,{"className":"sr-only","children":["Step ",5,": "]}],"Contradict yourself"]}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":"The part a vector store cannot do. Tell OMEM two claims disagree, then assert the second one. Nothing is overwritten and nothing is lost."}],["$","div",null,{"className":"mt-4","children":["$","$L2",null,{"tabs":[{"label":"Python","code":"mem.contradict(\"prefers_annual_billing\",\n               \"prefers_monthly_billing\")\n\nmem.remember(agent=\"sales\", about=\"customer:alice\",\n             claim=\"prefers_monthly_billing\")\n\nmem.believes(about=\"customer:alice\",\n             claim=\"prefers_annual_billing\")\n# -> 'CONTRADICTED'"}],"label":"Contradict yourself"}]}]]}]]}],["$","li","5",{"className":"grid gap-x-5 gap-y-3 sm:grid-cols-[28px_minmax(0,1fr)]","children":[["$","div",null,{"className":"flex items-center gap-3 sm:block","children":[["$","span",null,{"aria-hidden":"true","className":"mono grid h-7 w-7 shrink-0 place-items-center rounded-full border text-2xs font-semibold","children":6}],["$","h2",null,{"className":"text-lede font-semibold sm:hidden","children":"Ask why"}]]}],["$","div",null,{"className":"min-w-0","children":[["$","h2",null,{"className":"hidden text-lede font-semibold sm:block","children":[["$","span",null,{"className":"sr-only","children":["Step ",6,": "]}],"Ask why"]}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":"Both claims are still on record. Pass an assertion id to get the chain that led there — which agent said it, when, and on what basis."}],["$","div",null,{"className":"mt-4","children":["$","$L2",null,{"tabs":[{"label":"Python","code":"beliefs = mem.about(\"customer:alice\")\n\nmem.why(beliefs[0][\"id\"])\n# -> {'state': ..., 'provenance': [...]}"}],"label":"Ask why"}]}]]}]]}]]}],["$","div",null,{"className":"mt-16 border-t pt-8","children":[["$","h2",null,{"className":"text-lede font-semibold","children":"See it in the dashboard"}],["$","p",null,{"className":"mt-2 max-w-read text-note text-muted","children":["Your belief appears live in the memory explorer. Open the “why” view to trace its provenance and scrub through time. Both need",["$","span",null,{"className":"mono","children":" omem-server"}]," running locally."]}],["$","div",null,{"className":"mt-5 flex flex-wrap gap-3","children":[["$","$L3",null,{"href":"/overview","children":["Open dashboard ",["$","$L4",null,{"iconNode":[["path",{"d":"M5 12h14","key":"1ays0h"}],["path",{"d":"m12 5 7 7-7 7","key":"xquz4c"}]],"className":"lucide-arrow-right h-4 w-4","aria-hidden":"true"}]]}],["$","$L3",null,{"href":"/playground","variant":"secondary","children":"Playground"}]]}]]}]]}],null],null],null]},[null,["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","(marketing)","children","docs","children","quickstart","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L7",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","(marketing)","children","docs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}],"params":{}}]],null],null]},[null,["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","(marketing)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/76ac85dcdfd12e8b.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_f367f3 __variable_a3c0d3 __variable_3c557b","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{\nvar s=localStorage.getItem(\"omem-theme\");\nvar d=s?s===\"dark\":window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\nif(d)document.documentElement.classList.add(\"dark\");\ndocument.documentElement.style.colorScheme=d?\"dark\":\"light\";\n}catch(e){}})();"}}]}],["$","body",null,{"children":[["$","a",null,{"href":"#main","className":"skip-link","children":"Skip to content"}],["$","$L8",null,{"children":["$","$L9",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$a","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$b","children":"404"}],["$","div",null,{"style":"$c","children":["$","h2",null,{"style":"$d","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]]}]]}]],null],null],["$Le",null]]]]
e:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1, viewport-fit=cover"}],["$","meta","1",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"#faf9f6"}],["$","meta","2",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"#171614"}],["$","meta","3",{"charSet":"utf-8"}],["$","title","4",{"children":"Quickstart / OMEM"}],["$","meta","5",{"name":"description","content":"Store a belief, query it, and see why it is believed. Five minutes."}],["$","meta","6",{"name":"application-name","content":"OMEM"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"next-size-adjust"}]]
1:null
