{"version":3,"file":"BlogPost.CFRIPZbX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/W5E2JszUUgE6gD3lXXnl/aVNqkZ5h0LYw8Yb2yQm3/BlogPost.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,useReducedMotion}from\"framer-motion\";const EASE=[.16,1,.3,1];const MONO='\"Geist Mono\", \"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace';const ARTICLES={\"tracing-10m-agent-runs\":{cat:\"Observability\",title:\"Tracing 10M agent runs without melting your warehouse\",date:\"May 2025\",read:\"8 min\",img:\"https://framerusercontent.com/images/E9ThpWaS0Hfc1HpOo35encGaQ.jpg\",lead:\"Agent traces are the highest-cardinality data most teams have ever stored. Here is how Capsule keeps full-fidelity replay fast and cheap.\",sections:[{h:\"The cardinality problem\",b:\"A single agent run can fan out into dozens of tool calls and sub-agent handoffs, each with its own inputs, outputs, and timing. Multiply by millions of runs and naive row-per-span storage falls over — both on cost and query latency.\"},{h:\"Columnar storage + smart sampling\",b:\"We store spans in a columnar format partitioned by agent and day, keep hot traces fully resolved, and tail-sample the long tail. Errors and budget breaches are always retained at full fidelity, because those are the runs you actually need to replay.\"},{h:\"Replaying a run\",b:\"Every trace is reconstructable end to end — inputs, each tool call, every handoff, and the final outcome — so debugging a production incident takes minutes instead of hours.\"}]},\"per-step-token-caps\":{cat:\"Cost\",title:\"Why per-step token caps beat per-call rate limits\",date:\"Apr 2025\",read:\"6 min\",img:\"https://framerusercontent.com/images/ax55bSeo8OtkEWlgLVb3eMF6Eew.jpg\",lead:\"Rate limits were designed for APIs, not autonomous agents. A looping agent can stay under every rate limit and still burn your budget by morning.\",sections:[{h:\"Rate limits don't stop loops\",b:\"An agent stuck in a reasoning loop makes perfectly well-behaved requests — just thousands of them. Per-call limits never trip; the invoice does.\"},{h:\"Budgets as a first-class primitive\",b:\"Capsule tracks spend per agent, team, and org in real time. You set a hard ceiling, and when it's reached the run pauses before the next model call — not after.\"},{h:\"Pausing safely\",b:\"A paused run keeps its full state, so you can inspect, raise the cap, and resume — or let it stay parked. No silent overruns, no surprise bills.\"}]},\"multi-region-routing\":{cat:\"Routing\",title:\"Multi-region model routing for data residency\",date:\"Apr 2025\",read:\"7 min\",img:\"https://framerusercontent.com/images/4totdARaIHVJ8rpyrwoPFrks44w.jpg\",lead:\"Shipping agents into regulated markets means proving where data goes. We made residency a property of the router, not a deployment headache.\",sections:[{h:\"Residency as routing\",b:\"Each step carries context about the user's region. Routing rules pick a model and provider that satisfy residency requirements automatically — EU data stays on EU infrastructure.\"},{h:\"Failover without leaks\",b:\"When a provider degrades, Capsule fails over only to endpoints that satisfy the same policy, so reliability never comes at the cost of compliance.\"},{h:\"Latency wins too\",b:\"Routing to the nearest compliant region usually means lower latency as a bonus — the right call is also the fast one.\"}]},\"policy-as-code\":{cat:\"Governance\",title:\"Designing policy-as-code for autonomous agents\",date:\"Mar 2025\",read:\"5 min\",img:\"https://framerusercontent.com/images/AJtomEBB4Qzy4U2pljQTRBrCe8.jpg\",lead:\"Governance only works if platform teams will actually maintain it. That meant making policy feel like code, not a compliance chore.\",sections:[{h:\"Why config files weren't enough\",b:\"Sprawling YAML drifts from reality fast. We wanted policies that are versioned, reviewable in a pull request, and type-checked before they ship.\"},{h:\"A typed policy layer\",b:\"Capsule policies are declared in code: cost ceilings, allowed and denied tools, approval thresholds, and routing rules — all validated at author time and enforced on every run.\"},{h:\"Enforced everywhere\",b:\"The same policy object governs local development, staging, and production, so what you reviewed is exactly what runs.\"}]}};/**\n * Blog post article template (content keyed by slug).\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function BlogPost(props){const{slug,backLink,style}=props;const reduce=useReducedMotion();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const still=isCanvas||reduce;const a=ARTICLES[slug]||ARTICLES[\"tracing-10m-agent-runs\"];return /*#__PURE__*/_jsx(\"article\",{style:{width:\"100%\",background:\"rgb(6,7,10)\",padding:\"72px 28px 110px\",display:\"flex\",justifyContent:\"center\",fontFamily:'\"Satoshi\", system-ui, sans-serif',...style},children:/*#__PURE__*/_jsxs(motion.div,{initial:still?false:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,ease:EASE},style:{width:\"100%\",maxWidth:720},children:[/*#__PURE__*/_jsx(\"a\",{href:backLink,style:{fontFamily:MONO,fontSize:13.5,color:\"rgb(0,229,255)\",textDecoration:\"none\"},children:\"← All field notes\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:12,margin:\"28px 0 18px\",fontFamily:MONO,fontSize:12.5,color:\"rgba(255,255,255,0.5)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:\"rgb(0,229,255)\",padding:\"4px 10px\",borderRadius:7,border:\"1px solid rgba(0,229,255,0.3)\"},children:a.cat}),/*#__PURE__*/_jsx(\"span\",{children:a.date}),/*#__PURE__*/_jsx(\"span\",{children:\"\\xb7\"}),/*#__PURE__*/_jsx(\"span\",{children:a.read})]}),/*#__PURE__*/_jsx(\"h1\",{style:{margin:\"0 0 28px\",fontFamily:'\"Switzer\", system-ui, sans-serif',fontWeight:700,fontSize:\"clamp(32px, 4.6vw, 52px)\",lineHeight:1.08,letterSpacing:\"-0.03em\",color:\"#fff\"},children:a.title}),/*#__PURE__*/_jsx(\"img\",{src:a.img,alt:a.title,style:{width:\"100%\",height:\"auto\",borderRadius:16,border:\"1px solid rgba(255,255,255,0.09)\",marginBottom:36,display:\"block\"}}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 32px\",fontSize:21,lineHeight:1.6,color:\"rgba(255,255,255,0.82)\",fontWeight:500},children:a.lead}),a.sections.map((s,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:32},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:\"0 0 12px\",fontFamily:'\"Switzer\", system-ui, sans-serif',fontWeight:600,fontSize:24,letterSpacing:\"-0.015em\",color:\"#fff\"},children:s.h}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:17,lineHeight:1.75,color:\"rgba(255,255,255,0.66)\"},children:s.b})]},i)),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:48,padding:\"28px 30px\",borderRadius:18,border:\"1px solid rgba(0,229,255,0.25)\",background:\"linear-gradient(160deg, rgba(0,229,255,0.08), rgba(124,58,237,0.06))\",display:\"flex\",flexWrap:\"wrap\",gap:16,alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:'\"Switzer\", system-ui, sans-serif',fontWeight:600,fontSize:19,color:\"#fff\"},children:\"Contain your agents with Capsule.\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/contact\",style:{padding:\"12px 22px\",borderRadius:10,fontWeight:600,fontSize:15,color:\"#06070A\",textDecoration:\"none\",background:\"rgb(0,229,255)\",whiteSpace:\"nowrap\"},children:\"Book a demo →\"})]})]})});}BlogPost.defaultProps={slug:\"tracing-10m-agent-runs\",backLink:\"/blog\"};addPropertyControls(BlogPost,{slug:{type:ControlType.Enum,title:\"Article\",options:[\"tracing-10m-agent-runs\",\"per-step-token-caps\",\"multi-region-routing\",\"policy-as-code\"],optionTitles:[\"Tracing 10M runs\",\"Per-step token caps\",\"Multi-region routing\",\"Policy as code\"]},backLink:{type:ControlType.Link,title:\"Back Link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogPost\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogPost.map"],"mappings":"kOAKG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,OAAK,WAAS,SAAO,EAAY,EAAO,GAAkB,CAA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