@b3os/cli 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/README.md +87 -7
  2. package/assets/b3os-run.py +137 -0
  3. package/assets/skill/b3os/SKILL.md +111 -0
  4. package/dist/commands/_agents.d.ts +14 -0
  5. package/dist/commands/_agents.js +33 -0
  6. package/dist/commands/_agents.js.map +1 -0
  7. package/dist/commands/_common.js +6 -2
  8. package/dist/commands/_common.js.map +1 -1
  9. package/dist/commands/_context.d.ts +49 -0
  10. package/dist/commands/_context.js +260 -0
  11. package/dist/commands/_context.js.map +1 -0
  12. package/dist/commands/_next.d.ts +39 -0
  13. package/dist/commands/_next.js +77 -0
  14. package/dist/commands/_next.js.map +1 -0
  15. package/dist/commands/agent.d.ts +42 -0
  16. package/dist/commands/agent.js +218 -0
  17. package/dist/commands/agent.js.map +1 -0
  18. package/dist/commands/app.d.ts +2 -0
  19. package/dist/commands/app.js +559 -54
  20. package/dist/commands/app.js.map +1 -1
  21. package/dist/commands/auth.d.ts +88 -2
  22. package/dist/commands/auth.js +354 -44
  23. package/dist/commands/auth.js.map +1 -1
  24. package/dist/commands/docs.d.ts +54 -0
  25. package/dist/commands/docs.js +202 -0
  26. package/dist/commands/docs.js.map +1 -0
  27. package/dist/commands/doctor.d.ts +23 -0
  28. package/dist/commands/doctor.js +313 -0
  29. package/dist/commands/doctor.js.map +1 -0
  30. package/dist/commands/init.d.ts +38 -1
  31. package/dist/commands/init.js +259 -60
  32. package/dist/commands/init.js.map +1 -1
  33. package/dist/commands/listen.d.ts +30 -0
  34. package/dist/commands/listen.js +194 -0
  35. package/dist/commands/listen.js.map +1 -0
  36. package/dist/commands/manifest.d.ts +13 -1
  37. package/dist/commands/manifest.js +81 -18
  38. package/dist/commands/manifest.js.map +1 -1
  39. package/dist/commands/mcp.d.ts +25 -2
  40. package/dist/commands/mcp.js +120 -11
  41. package/dist/commands/mcp.js.map +1 -1
  42. package/dist/commands/sandbox.d.ts +35 -6
  43. package/dist/commands/sandbox.js +208 -9
  44. package/dist/commands/sandbox.js.map +1 -1
  45. package/dist/commands/setup.d.ts +39 -0
  46. package/dist/commands/setup.js +203 -0
  47. package/dist/commands/setup.js.map +1 -0
  48. package/dist/commands/tool.d.ts +154 -0
  49. package/dist/commands/tool.js +785 -0
  50. package/dist/commands/tool.js.map +1 -0
  51. package/dist/config.d.ts +30 -6
  52. package/dist/config.js +39 -8
  53. package/dist/config.js.map +1 -1
  54. package/dist/ctx.d.ts +5 -45
  55. package/dist/ctx.js +25 -160
  56. package/dist/ctx.js.map +1 -1
  57. package/dist/docs/index.json +1 -0
  58. package/dist/docs/pages/actions/call.md +300 -0
  59. package/dist/docs/pages/actions/catalog/airtable.md +737 -0
  60. package/dist/docs/pages/actions/catalog/arxiv.md +166 -0
  61. package/dist/docs/pages/actions/catalog/chainalysis-sanctions.md +125 -0
  62. package/dist/docs/pages/actions/catalog/coingecko.md +1558 -0
  63. package/dist/docs/pages/actions/catalog/deps-dev.md +465 -0
  64. package/dist/docs/pages/actions/catalog/dexscreener.md +568 -0
  65. package/dist/docs/pages/actions/catalog/discord.md +784 -0
  66. package/dist/docs/pages/actions/catalog/finnhub.md +776 -0
  67. package/dist/docs/pages/actions/catalog/frankfurter.md +438 -0
  68. package/dist/docs/pages/actions/catalog/github.md +1853 -0
  69. package/dist/docs/pages/actions/catalog/gmail.md +575 -0
  70. package/dist/docs/pages/actions/catalog/google-calendar.md +654 -0
  71. package/dist/docs/pages/actions/catalog/google-drive.md +502 -0
  72. package/dist/docs/pages/actions/catalog/google-sheets.md +700 -0
  73. package/dist/docs/pages/actions/catalog/hacker-news.md +542 -0
  74. package/dist/docs/pages/actions/catalog/http.md +824 -0
  75. package/dist/docs/pages/actions/catalog/hyperliquid.md +942 -0
  76. package/dist/docs/pages/actions/catalog/jira.md +920 -0
  77. package/dist/docs/pages/actions/catalog/kalshi.md +917 -0
  78. package/dist/docs/pages/actions/catalog/linear.md +1030 -0
  79. package/dist/docs/pages/actions/catalog/markets.md +21 -0
  80. package/dist/docs/pages/actions/catalog/morpho.md +247 -0
  81. package/dist/docs/pages/actions/catalog/notion.md +1077 -0
  82. package/dist/docs/pages/actions/catalog/nws.md +485 -0
  83. package/dist/docs/pages/actions/catalog/open-meteo.md +559 -0
  84. package/dist/docs/pages/actions/catalog/polymarket.md +1523 -0
  85. package/dist/docs/pages/actions/catalog/pushbullet.md +220 -0
  86. package/dist/docs/pages/actions/catalog/resend.md +307 -0
  87. package/dist/docs/pages/actions/catalog/s3.md +513 -0
  88. package/dist/docs/pages/actions/catalog/sec-edgar.md +487 -0
  89. package/dist/docs/pages/actions/catalog/slack.md +2629 -0
  90. package/dist/docs/pages/actions/catalog/stripe.md +1405 -0
  91. package/dist/docs/pages/actions/catalog/wikipedia.md +379 -0
  92. package/dist/docs/pages/actions/catalog.md +46 -0
  93. package/dist/docs/pages/actions/limits.md +50 -0
  94. package/dist/docs/pages/actions/model-tools.md +225 -0
  95. package/dist/docs/pages/actions/packs.md +148 -0
  96. package/dist/docs/pages/actions/settings.md +69 -0
  97. package/dist/docs/pages/actions/tools.md +244 -0
  98. package/dist/docs/pages/actions/triggers.md +149 -0
  99. package/dist/docs/pages/actions.md +88 -0
  100. package/dist/docs/pages/compat/anthropic.md +168 -0
  101. package/dist/docs/pages/compat/e2b.md +194 -0
  102. package/dist/docs/pages/compat/firecrawl.md +138 -0
  103. package/dist/docs/pages/compat/openai.md +168 -0
  104. package/dist/docs/pages/concepts/auth.md +151 -0
  105. package/dist/docs/pages/concepts/beta.md +55 -0
  106. package/dist/docs/pages/concepts/glossary.md +71 -0
  107. package/dist/docs/pages/concepts/ids.md +98 -0
  108. package/dist/docs/pages/concepts/jobs.md +229 -0
  109. package/dist/docs/pages/concepts/latency.md +138 -0
  110. package/dist/docs/pages/concepts/limits.md +191 -0
  111. package/dist/docs/pages/concepts/stack.md +59 -0
  112. package/dist/docs/pages/concepts/timing.md +86 -0
  113. package/dist/docs/pages/concepts/usage.md +110 -0
  114. package/dist/docs/pages/design/b3os-yaml.md +370 -0
  115. package/dist/docs/pages/design/deploy-from-github.md +122 -0
  116. package/dist/docs/pages/design/observability.md +134 -0
  117. package/dist/docs/pages/errors.md +1824 -0
  118. package/dist/docs/pages/infer/chat.md +570 -0
  119. package/dist/docs/pages/infer/limits.md +55 -0
  120. package/dist/docs/pages/infer/messages.md +185 -0
  121. package/dist/docs/pages/infer/responses.md +173 -0
  122. package/dist/docs/pages/infer/settings.md +154 -0
  123. package/dist/docs/pages/infer/speech.md +323 -0
  124. package/dist/docs/pages/infer.md +154 -0
  125. package/dist/docs/pages/introduction.md +162 -0
  126. package/dist/docs/pages/platform/addresses.md +174 -0
  127. package/dist/docs/pages/platform/call-log.md +99 -0
  128. package/dist/docs/pages/platform/custom-domains.md +104 -0
  129. package/dist/docs/pages/platform/keys.md +79 -0
  130. package/dist/docs/pages/platform/limits.md +57 -0
  131. package/dist/docs/pages/platform/members.md +101 -0
  132. package/dist/docs/pages/platform/requests.md +116 -0
  133. package/dist/docs/pages/platform/settings.md +129 -0
  134. package/dist/docs/pages/platform/webhooks.md +68 -0
  135. package/dist/docs/pages/platform.md +67 -0
  136. package/dist/docs/pages/quickstart/mcp.md +94 -0
  137. package/dist/docs/pages/quickstart/sandbox-agent.md +205 -0
  138. package/dist/docs/pages/quickstart/scrape.md +134 -0
  139. package/dist/docs/pages/quickstart.md +45 -0
  140. package/dist/docs/pages/render/inspections.md +162 -0
  141. package/dist/docs/pages/render/limits.md +72 -0
  142. package/dist/docs/pages/render/screenshots.md +179 -0
  143. package/dist/docs/pages/render/settings.md +431 -0
  144. package/dist/docs/pages/render/styles.md +342 -0
  145. package/dist/docs/pages/render/videos.md +272 -0
  146. package/dist/docs/pages/render.md +118 -0
  147. package/dist/docs/pages/routines/callables.md +174 -0
  148. package/dist/docs/pages/routines/definitions.md +361 -0
  149. package/dist/docs/pages/routines/limits.md +117 -0
  150. package/dist/docs/pages/routines/runs.md +328 -0
  151. package/dist/docs/pages/routines/settings.md +104 -0
  152. package/dist/docs/pages/routines/triggers.md +339 -0
  153. package/dist/docs/pages/routines.md +216 -0
  154. package/dist/docs/pages/sandboxes/agents.md +217 -0
  155. package/dist/docs/pages/sandboxes/commands.md +272 -0
  156. package/dist/docs/pages/sandboxes/images.md +166 -0
  157. package/dist/docs/pages/sandboxes/limits.md +143 -0
  158. package/dist/docs/pages/sandboxes/ports.md +260 -0
  159. package/dist/docs/pages/sandboxes/settings.md +358 -0
  160. package/dist/docs/pages/sandboxes/snapshots.md +423 -0
  161. package/dist/docs/pages/sandboxes/swarms.md +146 -0
  162. package/dist/docs/pages/sandboxes/volumes.md +131 -0
  163. package/dist/docs/pages/sandboxes.md +231 -0
  164. package/dist/docs/pages/sdks/cli.md +121 -0
  165. package/dist/docs/pages/sdks/mcp.md +169 -0
  166. package/dist/docs/pages/sdks/python.md +146 -0
  167. package/dist/docs/pages/sdks/typescript.md +202 -0
  168. package/dist/docs/pages/sdks.md +282 -0
  169. package/dist/docs/pages/settings.md +33 -0
  170. package/dist/docs/pages/vault/limits.md +46 -0
  171. package/dist/docs/pages/vault.md +133 -0
  172. package/dist/docs/pages/vision/agent-browser.md +115 -0
  173. package/dist/docs/pages/vision/crawl.md +333 -0
  174. package/dist/docs/pages/vision/extract.md +152 -0
  175. package/dist/docs/pages/vision/fetcher.md +15 -0
  176. package/dist/docs/pages/vision/limits.md +79 -0
  177. package/dist/docs/pages/vision/profiles.md +111 -0
  178. package/dist/docs/pages/vision/proxy.md +131 -0
  179. package/dist/docs/pages/vision/scrape.md +356 -0
  180. package/dist/docs/pages/vision/sessions.md +311 -0
  181. package/dist/docs/pages/vision/settings.md +656 -0
  182. package/dist/docs/pages/vision.md +175 -0
  183. package/dist/errors.d.ts +129 -0
  184. package/dist/errors.js +326 -0
  185. package/dist/errors.js.map +1 -0
  186. package/dist/main.d.ts +1 -1
  187. package/dist/main.js +26 -13
  188. package/dist/main.js.map +1 -1
  189. package/dist/manifest/apply.d.ts +4 -0
  190. package/dist/manifest/apply.js +2 -0
  191. package/dist/manifest/apply.js.map +1 -1
  192. package/dist/manifest/domains.d.ts +50 -0
  193. package/dist/manifest/domains.js +159 -0
  194. package/dist/manifest/domains.js.map +1 -0
  195. package/dist/manifest/link.d.ts +20 -0
  196. package/dist/manifest/link.js +24 -0
  197. package/dist/manifest/link.js.map +1 -0
  198. package/dist/manifest/record.d.ts +1 -1
  199. package/dist/tool/archive.d.ts +33 -0
  200. package/dist/tool/archive.js +174 -0
  201. package/dist/tool/archive.js.map +1 -0
  202. package/dist/tool/calls.d.ts +46 -0
  203. package/dist/tool/calls.js +274 -0
  204. package/dist/tool/calls.js.map +1 -0
  205. package/dist/tool/checks.d.ts +21 -0
  206. package/dist/tool/checks.js +145 -0
  207. package/dist/tool/checks.js.map +1 -0
  208. package/dist/tool/elf.d.ts +19 -0
  209. package/dist/tool/elf.js +107 -0
  210. package/dist/tool/elf.js.map +1 -0
  211. package/dist/tool/predict.d.ts +8 -0
  212. package/dist/tool/predict.js +38 -0
  213. package/dist/tool/predict.js.map +1 -0
  214. package/dist/tool/ustar.d.ts +5 -0
  215. package/dist/tool/ustar.js +220 -0
  216. package/dist/tool/ustar.js.map +1 -0
  217. package/package.json +6 -5
@@ -0,0 +1 @@
1
+ {"version":"0.2.2","source":"https://docs.beta.b3os.org","areas":[{"id":"start","title":"Start: introduction, quickstarts and concepts","pages":["introduction","quickstart","concepts/stack","concepts/latency","concepts/beta","concepts/glossary","settings","design/b3os-yaml","design/deploy-from-github","design/observability"]},{"id":"vision","title":"Vision: scrape, crawl, sessions and profiles","pages":["quickstart/scrape","compat/firecrawl","vision","vision/scrape","vision/proxy","vision/fetcher","vision/crawl","vision/extract","vision/sessions","vision/agent-browser","vision/profiles","vision/settings","vision/limits"]},{"id":"render","title":"Render: screenshots and videos","pages":["render","render/screenshots","render/videos","render/inspections","render/settings","render/styles","render/limits"]},{"id":"sandboxes","title":"Sandboxes: microVMs for code","pages":["quickstart/sandbox-agent","compat/e2b","sandboxes","sandboxes/commands","sandboxes/ports","sandboxes/snapshots","sandboxes/swarms","sandboxes/volumes","sandboxes/images","sandboxes/agents","sandboxes/settings","sandboxes/limits"]},{"id":"routines","title":"Routines: durable workflows","pages":["routines","routines/definitions","routines/runs","routines/triggers","routines/callables","routines/settings","routines/limits"]},{"id":"actions","title":"Actions and triggers: third-party APIs","pages":["actions","actions/call","actions/model-tools","actions/triggers","actions/packs","actions/tools","actions/catalog","actions/catalog/markets","actions/catalog/airtable","actions/catalog/arxiv","actions/catalog/chainalysis-sanctions","actions/catalog/coingecko","actions/catalog/dexscreener","actions/catalog/discord","actions/catalog/finnhub","actions/catalog/frankfurter","actions/catalog/github","actions/catalog/gmail","actions/catalog/google-calendar","actions/catalog/google-drive","actions/catalog/google-sheets","actions/catalog/hacker-news","actions/catalog/http","actions/catalog/hyperliquid","actions/catalog/jira","actions/catalog/kalshi","actions/catalog/linear","actions/catalog/morpho","actions/catalog/nws","actions/catalog/notion","actions/catalog/deps-dev","actions/catalog/open-meteo","actions/catalog/polymarket","actions/catalog/pushbullet","actions/catalog/resend","actions/catalog/s3","actions/catalog/sec-edgar","actions/catalog/slack","actions/catalog/stripe","actions/catalog/wikipedia","actions/settings","actions/limits"]},{"id":"infer","title":"Infer: the node's models","pages":["compat/openai","compat/anthropic","infer","infer/chat","infer/responses","infer/messages","infer/speech","infer/settings","infer/limits"]},{"id":"vault","title":"Vault: stored connections","pages":["vault","vault/limits"]},{"id":"platform","title":"Platform: keys, webhooks, requests, limits and errors","pages":["quickstart/mcp","concepts/auth","concepts/ids","errors","concepts/jobs","concepts/timing","concepts/limits","concepts/usage","platform","platform/members","platform/keys","platform/webhooks","platform/requests","platform/call-log","platform/addresses","platform/custom-domains","platform/settings","platform/limits"]},{"id":"sdks","title":"SDKs: TypeScript, Python, CLI and MCP","pages":["sdks","sdks/typescript","sdks/python","sdks/cli","sdks/mcp"]}],"pages":[{"slug":"introduction","area":"start","title":"Introduction","description":"B3OS beta runs browsers, sandboxes and other agent tools on the node that serves its model. Agents in a sandbox there keep the whole loop on one machine.","headings":["What runs where","Products","Platform","One key, one SDK, one CLI, one MCP server","Numbers on this site","Start here"],"bytes":10899},{"slug":"quickstart","area":"start","title":"Quickstart","description":"Get a B3OS beta key, then scrape a page with curl, connect the MCP server, or run an agent in a sandbox next to the model.","headings":["Get a key","Pick a path"],"bytes":2234},{"slug":"concepts/stack","area":"start","title":"The stack","description":"How B3OS sits on B3IQ, which hosts serve what, and the paths a request takes from your agent to the node and back.","headings":["Hosts","Three ways in","Inside the node","Next"],"bytes":4363},{"slug":"concepts/latency","area":"start","title":"Same-host latency","description":"A whole agent loop measured on one B3OS node, where a turn's time goes, and which setups keep the model, the tools and the agent on one machine.","headings":["The whole loop, measured","Where the loop runs","What a local call costs","What B3OS commits to","Measured on the node","See it in your own requests"],"bytes":22165},{"slug":"concepts/beta","area":"start","title":"Beta contract","description":"What B3OS beta promises and what it does not, from availability and durability to data retention, isolation and how changes are announced.","headings":["Availability","Durability","Changes","Retention","Isolation","Acceptable use"],"bytes":5805},{"slug":"concepts/glossary","area":"start","title":"Glossary","description":"The terms these docs use for B3OS objects, identities and measurements, with the two kinds of action always told apart.","headings":[],"bytes":6045},{"slug":"settings","area":"start","title":"Settings","description":"Each product's settings: the default, the values, what it changes and an example. Set per request today; some behaviour is fixed in the beta.","headings":["Where you set them","Out of range","Vault"],"bytes":5162},{"slug":"design/b3os-yaml","area":"start","title":"b3os.yaml","description":"Declare the models, packs, sandboxes, browsers, routines, services and resources a repository's agents use. Version 0 plans; version 1 deploys with b3os apply.","headings":["What the file declares","An example","Check the file","Print the plan","Version 1 (draft): deploy with b3os apply","Volumes","System packages","Size","Slow responses","Head and hands: where model-written code runs","Settings, evals and alerts (version 1)","What version 0 leaves out"],"bytes":43256},{"slug":"design/deploy-from-github","area":"start","title":"Deploy an agent from GitHub","description":"Install the B3OS Deploy app and each push deploys the repository's b3os.yaml. Or run b3os apply from a GitHub Actions workflow.","headings":["With the B3OS Deploy app","With a GitHub Actions workflow","What the agent does","Before you start","Deploy it","Check the plan before you push","How the harness stays up","What the template leaves out"],"bytes":12974},{"slug":"design/observability","area":"start","title":"Traces, evals and alerts (design preview)","description":"Group an agent's calls into turns and read each back with its usage, check pull requests against eval cases, and get deploy alerts. Not released yet.","headings":["One trace per turn","Read a turn back","What the first version cannot do","Evals on every pull request","Alerts","Errors"],"bytes":12103},{"slug":"quickstart/scrape","area":"vision","title":"Scrape a page with curl","description":"Turn a URL into clean Markdown with one request to B3OS vision, then read the Server-Timing header to see where the time went.","headings":["Next"],"bytes":5441},{"slug":"compat/firecrawl","area":"vision","title":"Firecrawl compatibility","description":"Point a Firecrawl SDK, the Firecrawl MCP server or LangChain's loader at B3OS by changing the base URL and key; which endpoints work and which do not.","headings":["Clients","Endpoints","Wire format","Credits"],"bytes":15395},{"slug":"vision","area":"vision","title":"Vision","description":"Turn web pages into Markdown, map and crawl sites, and drive dedicated browsers over CDP, from browser pools that are already running on the node.","headings":["What to call","Settings","How a scrape is served","The cache","Browsers","Rules vision follows","Scopes","Third-party notices","Guides"],"bytes":15226},{"slug":"vision/scrape","area":"vision","title":"Scrape a page","description":"Fetch one URL as Markdown, HTML, text, links, metadata or a screenshot, with main-content extraction, browser actions, profiles and caching.","headings":["Scrape one page","Formats","What comes back","Main content only","Choose the engine","Act before you capture","Use a profile","The cache","Cache only","Page state","Walls are free","Prepare a scrape","Read a PDF","1 Introduction","Structured data","One-line reads","When it fails"],"bytes":28229},{"slug":"vision/proxy","area":"vision","title":"Proxies","description":"Send a scrape through your own HTTP proxy, or let vision ask once more from a residential address when the node's address gets a wall.","headings":["Your own proxy","Residential reads","What the result says","Errors","Billing and the monthly limit","Site owners"],"bytes":13550},{"slug":"vision/fetcher","area":"vision","title":"The B3OS fetcher","description":"What the B3OS-Vision user agent is, when it visits a site, what it sends, and how a site operator reaches us.","headings":[],"bytes":1441},{"slug":"vision/crawl","area":"vision","title":"Search, map, batch and crawl","description":"Search the web, list a site's URLs, scrape up to 1,000 known URLs, or crawl a site by following its links, as jobs you can wait on, stream or get a webhook for.","headings":["Search the web","Get the pages too","Options","What the provider sees","Billing and limits","Errors","Map a site","Scrape a list of URLs","Crawl a site","Follow, wait or cancel"],"bytes":16751},{"slug":"vision/extract","area":"vision","title":"Extract structured data","description":"Fill a JSON Schema from up to 10 pages or PDFs with the node's model, as a job, validated against your schema, with the pages each field came from.","headings":["Run an extract","What comes back","How the model reads the pages","When it fails","Billing and limits","From Firecrawl and routines"],"bytes":9577},{"slug":"vision/sessions","area":"vision","title":"Browser sessions","description":"Claim a dedicated browser for your agent, drive it with batched browser actions in one round trip, or connect Playwright and Puppeteer over CDP.","headings":["Create a session","Drive it with batched actions","Browser actions","Wait for the page after an action","Timeline","Connect over CDP","Close the session"],"bytes":22468},{"slug":"vision/agent-browser","area":"vision","title":"agent-browser with B3OS","description":"Drive a B3OS browser session with agent-browser, the browser CLI for AI agents by Vercel Labs, over CDP; the setup, what works, and what does not yet and why.","headings":["Set up","MCP","What works","What does not work yet, and why","Credits and license"],"bytes":8084},{"slug":"vision/profiles","area":"vision","title":"Profiles","description":"Save browser cookies and storage as an encrypted profile, load it into scrapes, sessions and screenshots, and keep it current without losing newer logins.","headings":["Create one from Playwright","Use a profile","Save from a session","Revisions and conflicts","Change, export or delete","What the export rules cover"],"bytes":8054},{"slug":"vision/settings","area":"vision","title":"Vision settings","description":"Every setting for scrapes, batches, crawls, maps and browser sessions, with its default, values and an example, and what is fixed in the beta.","headings":["How the page is read","Engine","Browser","Formats","Main content only","Wait after load","Scrape timeout","Walls","Robots.txt","How the browser presents itself","Locale","Timezone","Viewport","Phone","Ad blocking","Resources not loaded","Screenshot","PDFs","PDF reading","PDF page cap","PDF page markers","PDF pages apart","The cache","Cache age","Store in the cache","Cache only","Where the request leaves from","Proxy","Proxy country","Crawls, batches and maps","Page limit","Depth","Sitemaps","Whole domain","Subdomains","Other sites","Query strings","Spacing","Pages at once","Invalid URLs","Browser sessions","Session lifetime","Save the profile","Timeline thumbnails","Fixed in the beta","TLS verification","PDF files","Challenge pages","Walled pages in full Chrome","Model for structured data","Spacing between job pages","Proxy on other surfaces"],"bytes":30631},{"slug":"vision/limits","area":"vision","title":"Vision limits and FAQ","description":"Rate, concurrency and size limits for scrapes, crawls and browser sessions in the beta, and answers to common questions about vision.","headings":["Limits","Retention","Fixed in the beta","FAQ"],"bytes":8260},{"slug":"render","area":"render","title":"Render","description":"Screenshots, scripted product videos and frame-by-frame inspections rendered on the node, with narration, captions and restyling, served from signed URLs.","headings":["What to call","Settings","How a video is made","Artifacts","Scopes","Guides"],"bytes":7660},{"slug":"render/screenshots","area":"render","title":"Screenshots","description":"Capture a page, the full page or one element from a warm browser and compose it with a background and window frame, as JSON with signed URLs or as image bytes.","headings":["Take a styled screenshot","Get the image bytes instead","Capture one element","Capture a signed-in page","Options","When the page is ready","Consent walls, pop-ups and ads","Keep, fetch and delete"],"bytes":18202},{"slug":"render/videos","area":"render","title":"Videos","description":"Record a scripted, narrated product demo as MP4, GIF, poster and captions, follow it as a job, and restyle it later without recording again.","headings":["Record a video","The script","Plan from a goal","Follow the job","Restyle a video","Share a video","Keep a demo current with an alias","Embed it","Delete","In the dashboard","Voices"],"bytes":51832},{"slug":"render/inspections","area":"render","title":"Inspections","description":"Record a short window of a page or a video frame by frame and get back what moved, flashed or changed, as plain lines, JSON and one contact sheet.","headings":["Inspect a click","What the answer holds","The contact sheet","Inspect a video","Options","How changes are detected","Billing and scopes","Errors"],"bytes":13240},{"slug":"render/settings","area":"render","title":"Render settings","description":"Every setting for screenshots and videos, with its default, values and an example, and how render encodes and captures in the beta.","headings":["Screenshots","Screenshot format and quality","Pixel ratio","Screenshot viewport","Full page","When the page is ready","Settle","Screenshot timeout","Color scheme","Overlays","Screenshot auto background","Screenshot ad blocking","Videos","Video formats","Output size and frame rate","Narration speed","Captions","Camera zoom","Background under the camera","Typing shot","Camera framing","Scrolling to a step","Cursor motion","Auto background","Reuse a recording","Video viewport","Start time","Fixed in the beta","Video encoding","Video capture scale","Video background","Render egress","Signed-in captures","Signed URL lifetime and retention"],"bytes":23464},{"slug":"render/styles","area":"render","title":"Styles and captions","description":"The style presets and overrides that frame screenshots and videos, the colors they take, and how render times and draws word-level captions.","headings":["Presets","Backgrounds","Frames","Cursors","Captions","Click effects","The auto background","Overrides","Shadows","Library backgrounds","Text on a screenshot","Hero layout","Camera and depth of field","Captions","Voices"],"bytes":52471},{"slug":"render/limits","area":"render","title":"Render limits and FAQ","description":"Concurrency and size limits for screenshots and videos in the beta, retention of artifacts, and answers to common questions about render.","headings":["Limits","Retention","Fixed in the beta","FAQ"],"bytes":8284},{"slug":"quickstart/sandbox-agent","area":"sandboxes","title":"Run an agent in a sandbox next to the model","description":"Start a sandbox on the node, give it a scoped grant, and run a small tool-calling agent whose calls to the model and to B3OS never leave the machine.","headings":["The same loop from code","What the grant allowed","Next"],"bytes":9033},{"slug":"compat/e2b","area":"sandboxes","title":"E2B compatibility","description":"Run code written for the e2b SDKs on B3OS microVMs by changing three environment variables; what works, what is refused, and how the envd access token is kept.","headings":["Clients","Frameworks","What works","What is refused","The envd access token"],"bytes":12708},{"slug":"sandboxes","area":"sandboxes","title":"Sandboxes","description":"Firecracker microVMs claimed from warm pools on the B3OS node, with commands, files, a terminal, ports, snapshots and a scoped API grant.","headings":["Create a sandbox","Sizes","If the connection drops","Templates","Lifecycle","What it uses now","Networking","What egress does not close","Secrets","Inside the sandbox","Billing and scopes","Guides"],"bytes":22493},{"slug":"sandboxes/commands","area":"sandboxes","title":"Commands, code and files","description":"Run commands in a sandbox buffered, streamed or in the background, run code in a Jupyter kernel, move files in and out, and open a terminal.","headings":["Run a command","Stream the output","Run in the background","Restart a server when it exits","Retry a command without running it twice","Run code in a kernel","Files","Open a terminal","Keep a terminal across reloads"],"bytes":17060},{"slug":"sandboxes/ports","area":"sandboxes","title":"Ports and previews","description":"Reach a server in a sandbox through the port's own host on b3os.io, where it runs at the root and keeps its cookies, or through a signed preview URL.","headings":["Declare ports","A port's own host","Private ports","Public ports","What your server sees","Slow responses","Base paths","When it fails"],"bytes":15853},{"slug":"sandboxes/snapshots","area":"sandboxes","title":"Snapshots, pausing and forks","description":"Pause and resume a sandbox in place, save its memory and disk as a snapshot, start new sandboxes from it, and fork a running sandbox into copies.","headings":["Pause and resume","Save a snapshot","Start from a snapshot","Random state on restore and fork","Templates are snapshots too","Fork","What a restore or fork keeps"],"bytes":25540},{"slug":"sandboxes/swarms","area":"sandboxes","title":"Swarms","description":"Fork one checkpoint into up to 32 children, run a command in each, and get every child's exit code, output and timing back from one call.","headings":["Start a swarm","What comes back","Stop at the first success","Keep the children","Watch it run","From a snapshot or a paused sandbox","Limits","Said plainly"],"bytes":6774},{"slug":"sandboxes/volumes","area":"sandboxes","title":"Volumes","description":"Data that outlives the sandboxes that mount it. A deployed service keeps its files across deploys, rollbacks and restarts.","headings":["Said plainly","Create one and mount it","Grow, delete, restore, purge","Limits and price","In b3os.yaml","Errors"],"bytes":8454},{"slug":"sandboxes/images","area":"sandboxes","title":"Start sandboxes from an image","description":"Import a public container image once, from Docker Hub, GHCR or any OCI registry, then start sandboxes from it as you do from a template.","headings":["Availability","Import an image","Statuses","Start a sandbox from an image","What runs in the sandbox","Warm-up","Size","Limits, eviction and deletion","Random state","Updates to the node","Not in this version"],"bytes":11449},{"slug":"sandboxes/agents","area":"sandboxes","title":"Agents in sandboxes","description":"Run an agent inside a sandbox with a scoped grant to B3OS, call the model and tools without a key, inject vault credentials and start nested sandboxes safely.","headings":["Grant access","Call B3OS from inside","Give the sandbox a credential","Sandboxes that create sandboxes","Limit where it can reach","Run code from a pull request","See what it did"],"bytes":14913},{"slug":"sandboxes/settings","area":"sandboxes","title":"Sandbox settings","description":"Every sandbox setting: size, lifetime, egress, the API grant, commands and port URLs, with defaults, values and examples, and what is fixed.","headings":["Size and template","Template","CPUs","Memory","Disk","Lifetime","Lifetime","At the timeout","Owner","Forkable","Fork count","Chrome reset on restore and fork","Network and access","Egress","API grant","Port URL lifetime","Commands","Command timeout","Working directory","Run as","Background","Restart in place","Code language","Fixed in the beta","Paused sandboxes","The model variable","Connections per sandbox"],"bytes":15858},{"slug":"sandboxes/limits","area":"sandboxes","title":"Sandbox limits and FAQ","description":"Concurrency, size and lifetime limits for sandboxes in the beta, per-request caps for commands and files, retention, and common questions.","headings":["Limits","Retention","Fixed in the beta","FAQ"],"bytes":12423},{"slug":"routines","area":"routines","title":"Routines","description":"Durable workflows written like GitHub Actions with CEL expressions, started by API, cron, webhooks or pack triggers, next to the tools they call.","headings":["Settings","Publish and run","What a routine can call","Versions","Durability","Billing and scopes","Guides"],"bytes":14502},{"slug":"routines/definitions","area":"routines","title":"Routine definitions","description":"Every field of a routine definition, how steps are ordered and connected, the CEL expressions between them, and how B3OS differs from GitHub Actions.","headings":["Check a definition","Top level","Steps","Expressions","Map","Wait and sleep","Ask a person","Wait for an event","Retries","Concurrency","Differences from GitHub Actions"],"bytes":22790},{"slug":"routines/runs","area":"routines","title":"Runs","description":"Start a routine run, wait for it or follow its steps live, send signals to waiting steps, cancel it, replay it, and read its steps and history.","headings":["Start a run","The run","Follow it live","Signals","Cancel","Replay","History and versions","Pause a routine"],"bytes":17938},{"slug":"routines/triggers","area":"routines","title":"Triggers","description":"Start routine runs on a cron schedule, at an interval, from signed webhooks, or from pack triggers such as a new GitHub issue or a paid Stripe invoice.","headings":["Cron","Interval","Webhooks","Duplicate deliveries","Send a test delivery","Delivery log","Provider handshakes","Rotate the secret","Pack triggers","When triggers stop"],"bytes":18594},{"slug":"routines/callables","area":"routines","title":"Product steps","description":"Every product operation a routine step can call, with its with, outputs, effect class, kind and meter. Generated from the API spec.","headings":["Byte answers","Vision","Render","Sandboxes","Infer"],"bytes":15211},{"slug":"routines/settings","area":"routines","title":"Routine settings","description":"Every routine setting: durability, step timeouts, retries, concurrency and paused sandboxes, with defaults, values and examples.","headings":["Runs","Durability","Concurrency","Pause sandboxes while waiting","Steps","Step timeout","Retries","Fixed in the beta","When sandboxes pause","Lookahead","Run history"],"bytes":6488},{"slug":"routines/limits","area":"routines","title":"Routine limits and FAQ","description":"Step quotas, definition sizes and retention for routines in the beta, and answers to common questions about durability, retries and triggers.","headings":["Limits","Retention","Fixed in the beta","FAQ"],"bytes":9289},{"slug":"actions","area":"actions","title":"Actions and triggers","description":"Connectors for agents and routines, with credentials kept in the vault and added at the egress proxy, typed tools and triggers that start runs.","headings":["Search, describe, call","Settings","Credentials stay out of reach","How actions run","Triggers","The catalog","Billing and scopes"],"bytes":7411},{"slug":"actions/call","area":"actions","title":"Call actions","description":"Find a catalog action by describing what it should do, read its schemas, and call it with a stored connection, from code, a routine or an agent.","headings":["Search","When nothing matches","Describe","Call","Connections","Retries and idempotency","When it fails","From routines and sandboxes"],"bytes":17293},{"slug":"actions/model-tools","area":"actions","title":"Your model's tools","description":"The packs and B3OS products a service declares in b3os.yaml are tools its model calls over MCP, at one URL inside the sandbox that any agent framework mounts.","headings":["What a service gets","Product tools: browser, vision, render","The browser","Vision and render","What a product tool call does","Mount it","What a pack tool call does","Only the declared packs","Seeing the calls","Outside a deployed service","The cost of a call (dev baseline)","The protocol"],"bytes":20296},{"slug":"actions/triggers","area":"actions","title":"Pack triggers","description":"The webhook, poll and schedule triggers packs provide, how a routine subscribes to one, and how B3OS verifies, deduplicates and delivers their events.","headings":["Kinds","The catalog's triggers","Subscribe from a routine","Subscriptions","Webhook verification","Hook URLs"],"bytes":10289},{"slug":"actions/packs","area":"actions","title":"Packs","description":"What a B3OS pack contains, how a declarative HTTP action is written with CEL templates, and how packs are hashed, signed, published and verified.","headings":["A small pack","Manifest fields","How a declarative action runs","Safe templates","Signing and verification","The registry"],"bytes":9590},{"slug":"actions/tools","area":"actions","title":"Hosted tools","description":"A command-line tool published as a pack. Each call runs it in a fresh microVM with no network. Publish your own binary into your organization's namespace.","headings":["From a binary to a first call","Iterate with dev versions","Your organization's tools","The manifest","Call it","The json-stdio contract","Limits","Errors","What a call costs","Health and earnings","A signed build","Not there yet"],"bytes":21123},{"slug":"actions/catalog","area":"actions","title":"Pack catalog","description":"The 32 first-party B3OS packs, 246 actions and 7 triggers, with a page per pack generated from the published pack versions.","headings":[],"bytes":7112},{"slug":"actions/catalog/markets","area":"actions","title":"Markets","description":"Catalog packs for prediction markets, market data and DeFi, with the sanctions screening pack as the compliance check, generated from the packs' facets.","headings":["Compliance check"],"bytes":8218},{"slug":"actions/catalog/airtable","area":"actions","title":"Airtable","description":"The io.b3os/airtable pack: 7 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":25393},{"slug":"actions/catalog/arxiv","area":"actions","title":"arXiv","description":"The io.b3os/arxiv pack: 2 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":12973},{"slug":"actions/catalog/chainalysis-sanctions","area":"actions","title":"Chainalysis sanctions screening","description":"The io.b3os/chainalysis-sanctions pack: 1 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":5992},{"slug":"actions/catalog/coingecko","area":"actions","title":"CoinGecko","description":"The io.b3os/coingecko pack: 14 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":59110},{"slug":"actions/catalog/dexscreener","area":"actions","title":"DEX Screener","description":"The io.b3os/dexscreener pack: 5 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":21226},{"slug":"actions/catalog/discord","area":"actions","title":"Discord","description":"The io.b3os/discord pack: 8 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":27300},{"slug":"actions/catalog/finnhub","area":"actions","title":"Finnhub","description":"The io.b3os/finnhub pack: 8 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":28894},{"slug":"actions/catalog/frankfurter","area":"actions","title":"Frankfurter exchange rates","description":"The io.b3os/frankfurter pack: 5 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":14542},{"slug":"actions/catalog/github","area":"actions","title":"GitHub","description":"The io.b3os/github pack: 17 actions and 2 triggers with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions","Triggers"],"bytes":66890},{"slug":"actions/catalog/gmail","area":"actions","title":"Gmail","description":"The io.b3os/gmail pack: 6 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":21497},{"slug":"actions/catalog/google-calendar","area":"actions","title":"Google Calendar","description":"The io.b3os/google-calendar pack: 6 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":24521},{"slug":"actions/catalog/google-drive","area":"actions","title":"Google Drive","description":"The io.b3os/google-drive pack: 5 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":19603},{"slug":"actions/catalog/google-sheets","area":"actions","title":"Google Sheets","description":"The io.b3os/google-sheets pack: 7 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":26191},{"slug":"actions/catalog/hacker-news","area":"actions","title":"Hacker News","description":"The io.b3os/hacker-news pack: 5 actions and 1 trigger with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions","Triggers"],"bytes":20510},{"slug":"actions/catalog/http","area":"actions","title":"HTTP","description":"The io.b3os/http pack: 8 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":25821},{"slug":"actions/catalog/hyperliquid","area":"actions","title":"Hyperliquid (read-only)","description":"The io.b3os/hyperliquid pack: 10 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":31659},{"slug":"actions/catalog/jira","area":"actions","title":"Jira","description":"The io.b3os/jira pack: 10 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":32184},{"slug":"actions/catalog/kalshi","area":"actions","title":"Kalshi (read-only)","description":"The io.b3os/kalshi pack: 9 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":31047},{"slug":"actions/catalog/linear","area":"actions","title":"Linear","description":"The io.b3os/linear pack: 11 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":36604},{"slug":"actions/catalog/morpho","area":"actions","title":"Morpho vaults","description":"The io.b3os/morpho pack: 2 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":8826},{"slug":"actions/catalog/nws","area":"actions","title":"National Weather Service","description":"The io.b3os/nws pack: 5 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":19212},{"slug":"actions/catalog/notion","area":"actions","title":"Notion","description":"The io.b3os/notion pack: 10 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":39723},{"slug":"actions/catalog/deps-dev","area":"actions","title":"Open source packages (deps.dev)","description":"The io.b3os/deps-dev pack: 5 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":15493},{"slug":"actions/catalog/open-meteo","area":"actions","title":"Open-Meteo","description":"The io.b3os/open-meteo pack: 6 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":19902},{"slug":"actions/catalog/polymarket","area":"actions","title":"Polymarket (read-only)","description":"The io.b3os/polymarket pack: 14 actions and 1 trigger with call snippets, fixture outputs, connection setup and error codes, generated from version 1.2.0.","headings":["Connection","Actions","Triggers"],"bytes":67919},{"slug":"actions/catalog/pushbullet","area":"actions","title":"Pushbullet","description":"The io.b3os/pushbullet pack: 2 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":8005},{"slug":"actions/catalog/resend","area":"actions","title":"Resend","description":"The io.b3os/resend pack: 3 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":11515},{"slug":"actions/catalog/s3","area":"actions","title":"S3-compatible storage","description":"The io.b3os/s3 pack: 6 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":22242},{"slug":"actions/catalog/sec-edgar","area":"actions","title":"SEC EDGAR","description":"The io.b3os/sec-edgar pack: 4 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":17860},{"slug":"actions/catalog/slack","area":"actions","title":"Slack","description":"The io.b3os/slack pack: 27 actions and 1 trigger with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions","Triggers"],"bytes":91390},{"slug":"actions/catalog/stripe","area":"actions","title":"Stripe (read-only)","description":"The io.b3os/stripe pack: 14 actions and 2 triggers with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions","Triggers"],"bytes":48498},{"slug":"actions/catalog/wikipedia","area":"actions","title":"Wikipedia","description":"The io.b3os/wikipedia pack: 4 actions with call snippets, fixture outputs, connection setup and error codes, generated from version 1.0.0.","headings":["Connection","Actions"],"bytes":14339},{"slug":"actions/settings","area":"actions","title":"Action settings","description":"The settings of an action call: its timeout and which connection it uses, with defaults and examples, and the response size cap.","headings":["Calls","Call timeout","Connection","Fixed in the beta","Response size","Retries","Publishers"],"bytes":3130},{"slug":"actions/limits","area":"actions","title":"Actions limits and FAQ","description":"Rate and size limits for action calls in the beta, and answers to common questions about credentials, retries, effect classes and pack safety.","headings":["Limits","Fixed in the beta","FAQ"],"bytes":3707},{"slug":"compat/openai","area":"infer","title":"OpenAI and Anthropic compatibility","description":"Use the OpenAI and Anthropic SDKs with the models served on the B3OS node by changing the base URL; supported endpoints, extensions and differences.","headings":["Endpoints","Differences from OpenAI","Anthropic Messages"],"bytes":8780},{"slug":"compat/anthropic","area":"infer","title":"Anthropic compatibility","description":"Use the Anthropic SDKs and the Messages API with the model served on the B3OS node; which request fields are supported, accepted and ignored, or refused.","headings":["Request fields","Errors"],"bytes":8934},{"slug":"infer","area":"infer","title":"Infer","description":"OpenAI and Anthropic compatible chat and speech from models served on the B3OS node, so an agent in a sandbox reaches its model without leaving the machine.","headings":["Models","The chat model","A system prompt for agents","No silent fallback","Settings","What to call","Where the time goes","Billing and scopes"],"bytes":14749},{"slug":"infer/chat","area":"infer","title":"Chat completions","description":"Call the node's model with the OpenAI Chat Completions API, including tool calls, JSON Schema output, streaming, images and reasoning.","headings":["A completion","Tool calls","JSON Schema output","Streaming","Images","Reasoning","Beyond the node's models","Prompt logging","When it fails"],"bytes":25379},{"slug":"infer/responses","area":"infer","title":"Responses","description":"Call the node's model with the OpenAI Responses API, statelessly, from the OpenAI SDKs, the OpenAI Agents SDK and Codex.","headings":["A response","Function tools, statelessly","OpenAI Agents SDK","Codex","Prompt logging","Limits"],"bytes":8211},{"slug":"infer/messages","area":"infer","title":"Messages","description":"Call the node's model with the Anthropic Messages API from the Anthropic SDKs, including streaming, tool use and extended thinking.","headings":["Streaming","Tool use","Extended thinking","Long sessions","Prompt logging","Limits"],"bytes":9259},{"slug":"infer/speech","area":"infer","title":"Speech","description":"Synthesize speech with the node's text-to-speech model through the OpenAI speech API, and get the start and end of every word for captions.","headings":["Synthesize","Stream","Markup","Word timestamps","Voices","Languages","OpenAI voice names"],"bytes":19565},{"slug":"infer/settings","area":"infer","title":"Infer settings","description":"Every infer setting: routing, output cap, reasoning, sampling and speech, with defaults, values and examples, and what is fixed in the beta.","headings":["Chat","Gateway route","Output cap","Reasoning","Sampling","Speech","Audio format","Speed","Word timings","Streaming","Fixed in the beta","Cached tokens and the token limit","Precision"],"bytes":7726},{"slug":"infer/limits","area":"infer","title":"Infer limits and FAQ","description":"Per-model token and request limits, request sizes and stream lengths for inference in the beta, and answers to common questions about the node's models.","headings":["Limits","Fixed in the beta","FAQ"],"bytes":4866},{"slug":"vault","area":"vault","title":"Vault","description":"Store credentials as encrypted connections that B3OS injects into outbound requests at the egress proxy, so agents use them without ever seeing them.","headings":["Store a connection","Three kinds of connection","Secret fields by type","Google, with your own OAuth client","Use a connection","Rotate and delete","Scopes"],"bytes":9558},{"slug":"vault/limits","area":"vault","title":"Vault limits and FAQ","description":"Size limits for vault connections and secrets in the beta, and answers to common questions about how credentials are stored, injected and rotated.","headings":["Limits","FAQ"],"bytes":2995},{"slug":"quickstart/mcp","area":"platform","title":"Install the MCP server","description":"Connect Claude, Cursor or Codex to the B3OS MCP server so your agent can scrape, run sandboxes and call marketplace actions.","headings":["Configure it by hand","A small tool list","Next"],"bytes":4765},{"slug":"concepts/auth","area":"platform","title":"Keys, scopes and principals","description":"How B3OS authenticates requests, what each scope allows, and how sandboxes, routines and streams get their own narrower identities.","headings":["API keys","Scopes","Organizations and projects","Sandboxes get their own principal","Services belong to their project","Routines run as their publisher","Stream tickets","How the edge reaches the node"],"bytes":15111},{"slug":"concepts/ids","area":"platform","title":"IDs and object shapes","description":"How B3OS IDs are built, which prefix belongs to which object, and the fields every object, list and credential shares.","headings":["Prefixes","Host-safe form","Credentials","Fields every object shares","Lists"],"bytes":5142},{"slug":"errors","area":"platform","title":"Errors","description":"All 288 B3OS error codes with HTTP status, meaning, retry advice and the Firecrawl mapping, generated from errors.yaml.","headings":["Request shape","Authentication and authorization","Limits and billing","Egress and upstreams","Availability","Jobs","Platform","Deploys","Addresses","Device login","Vision","Render","Sandboxes","E2b compatibility","Images","Agents","Routines","Listeners","Actions and triggers","Vault","Infer","Firecrawl compatibility"],"bytes":115409},{"slug":"concepts/jobs","area":"platform","title":"Jobs, streams and webhooks","description":"The one contract every long-running B3OS operation follows, how to wait, stream or get a webhook, and how to retry writes safely.","headings":["The job object","Three ways to get the result","Event streams","Webhooks","Verify the signature","Retry writes safely"],"bytes":13967},{"slug":"concepts/timing","area":"platform","title":"Timing and measurement","description":"How every B3OS response reports where its time went, how to read the request log, and the rules B3OS follows before it publishes a number.","headings":["The Server-Timing header","The request log","How B3OS measures before it publishes"],"bytes":7621},{"slug":"concepts/limits","area":"platform","title":"Limits","description":"The beta's default limits per organization, how to read your current usage against them, and what the API returns when you hit one.","headings":["Beta defaults","Read your limits","When you hit a limit","Runs from the site and console","Limits on the node"],"bytes":15798},{"slug":"concepts/usage","area":"platform","title":"Usage, metering and pricing","description":"What B3OS meters, which unit each operation bills, why failed work is free, and how to read your usage. The beta is free within its limits.","headings":["Pricing","Units","Failed work is free","Totals","Records","Caps"],"bytes":9901},{"slug":"platform","area":"platform","title":"Platform","description":"The account side of B3OS beta, covering organizations, projects, keys, CLI login, usage, limits, webhook secrets and the per-request log.","headings":["Organizations and projects","Signing in","Settings","Scopes"],"bytes":4894},{"slug":"platform/members","area":"platform","title":"Members and invites","description":"Invite people to an organization by email or by link, pick their role, see pending invites, and change, remove or leave members in the dashboard.","headings":["Roles","Invite someone","Accept an invite","Switch organizations","Change a role, remove someone or leave","Activity","From the API"],"bytes":8643},{"slug":"platform/keys","area":"platform","title":"API keys","description":"Create API keys with only the scopes an agent needs, a spend cap and an expiry; rotate them, revoke them, and check what a key can do.","headings":["Create a key","Check a key","Change, rotate and revoke","Keys and sandboxes"],"bytes":5127},{"slug":"platform/webhooks","area":"platform","title":"Webhooks","description":"Get the signing secret for a webhook URL, send a test delivery, read the delivery history, and rotate secrets without dropping events.","headings":["Get the secret","Test the receiver","Delivery history","Rotate the secret","Other webhooks"],"bytes":3821},{"slug":"platform/requests","area":"platform","title":"Request log","description":"Look up any request by its ID to see where its time went, or list recent requests by product, status, key, source, trace, connection or sandbox, for 7 days.","headings":["Look up one request","List recent requests","Calls from one sandbox"],"bytes":6909},{"slug":"platform/call-log","area":"platform","title":"Prompt logging","description":"Keep each model call's prompt, tools and answer for 7 days with keys removed, read them, and replay a call. Off by default.","headings":["Turn it on","What is kept, and what is not","Keys are removed before anything is written","Limits","Read and delete","Replay"],"bytes":8771},{"slug":"platform/addresses","area":"platform","title":"App addresses","description":"Each addressed port of an application gets one address on b3os.io that never changes, shared by link or public, with cookies of its own.","headings":["What you get","When it stops serving","Share by link, or make it public","In b3os.yaml","The default address","Cookies","What your app sees","Limits","Names","Not there yet","Shared-domain limits"],"bytes":23646},{"slug":"platform/custom-domains","area":"platform","title":"Custom domains","description":"Serve an application's address on your own name, such as shop.example.com, with one DNS record. Not turned on for customers yet.","headings":["Add a domain","What to put in DNS","Verify","States","What visitors and your app get","Remove a domain","Move a domain to another application","Limits"],"bytes":8409},{"slug":"platform/settings","area":"platform","title":"Platform settings","description":"The settings of API keys, CLI logins and webhook secrets: scopes, spend caps, expiry and rotation, with defaults and examples.","headings":["Keys and logins","Key scopes","Spend cap","CLI login lifetime","CLI login scopes","Webhook secret overlap","Model calls","Prompt logging","Fixed in the beta","Request log","Kept model calls","Size of a kept call"],"bytes":5450},{"slug":"platform/limits","area":"platform","title":"Platform limits and FAQ","description":"Limits for keys, projects, CLI tokens, webhook secrets and the request log in the beta, and answers to common questions about the account side.","headings":["Limits","Fixed in the beta","FAQ"],"bytes":3856},{"slug":"sdks","area":"sdks","title":"SDKs and tools","description":"One key, one SDK, one CLI and one MCP server for every B3OS product, with method names generated from the OpenAPI document.","headings":["One naming rule","Shared behavior","Method index"],"bytes":35428},{"slug":"sdks/typescript","area":"sdks","title":"TypeScript SDK","description":"Install @b3os/sdk, call every B3OS product from Node, Bun or Workers, wait on jobs, stream events, handle typed errors and read timing.","headings":["Create a client","Call a product","Lists","Jobs","Streams","Errors","Retries and idempotency","Timing","Turns and traces","Terminals and CDP","Webhooks","Smaller bundles"],"bytes":11916},{"slug":"sdks/python","area":"sdks","title":"Python SDK","description":"Install the b3os package and call every B3OS product from Python with a typed sync or async client, with jobs, streams, typed errors and timing.","headings":["Create a client","Call a product","Lists","Async","Jobs and streams","Errors","Retries, idempotency and timing","Turns and traces","Terminals, CDP and webhooks"],"bytes":8442},{"slug":"sdks/cli","area":"sdks","title":"CLI","description":"The b3os command line for signing in, scraping, screenshots, sandboxes, routines, actions and the MCP server, built for scripts and agents too.","headings":["Set up in one line","Sign in","Commands","Built for scripts and agents","MCP setup","Bench"],"bytes":14049},{"slug":"sdks/mcp","area":"sdks","title":"MCP server","description":"Connect any MCP client to B3OS through the local stdio server or the remote endpoint, which tools each one lists, and how agents reach marketplace actions.","headings":["Connect","Tools","Server instructions","Marketplace actions","Routines","Read traces, requests and runs","Credentials","Protocol"],"bytes":16963}]}
@@ -0,0 +1,300 @@
1
+ # Call actions
2
+
3
+ > Find a catalog action by describing what it should do, read its schemas, and call it with a stored connection, from code, a routine or an agent.
4
+
5
+ Source: https://docs.beta.b3os.org/actions/call.md
6
+
7
+ ## Search
8
+
9
+ `GET /v1/actions/search` takes words and returns references ranked for agents. This search was recorded:
10
+
11
+ **Response 200**
12
+
13
+ ```json
14
+ {
15
+ "data": [
16
+ {
17
+ "connections": [
18
+ "token"
19
+ ],
20
+ "description": "Open a new issue with a title, optional Markdown body, labels and assignees. Returns its number and URL. Not idempotent: calling it twice opens two issues.",
21
+ "effects": "write",
22
+ "key": "create-issue",
23
+ "mcp_name": "github__create-issue",
24
+ "pack": "io.b3os/github",
25
+ "ref": "io.b3os/github/create-issue@1.0.0",
26
+ "score": 0.825,
27
+ "title": "Create issue"
28
+ },
29
+ {
30
+ "connections": [
31
+ "token"
32
+ ],
33
+ "description": "Create a repository webhook that POSTs the chosen events (issues, pull_request, push, ...) as JSON to a URL, signed with a secret (X-Hub-Signature-256). The repo-event trigger calls this for you; use it directly only for webhooks B3OS does not manage. Needs admin:repo_hook (classic) or Webhooks write (fine-grained).",
34
+ "effects": "write",
35
+ "key": "create-webhook",
36
+ "mcp_name": "github__create-webhook",
37
+ "pack": "io.b3os/github",
38
+ "ref": "io.b3os/github/create-webhook@1.0.0",
39
+ "score": 0.656,
40
+ "title": "Create repository webhook"
41
+ },
42
+ {
43
+ "connections": [
44
+ "token"
45
+ ],
46
+ "description": "Add labels to an issue or pull request, keeping its existing ones. Labels that do not exist yet in the repository are created. Returns the full label list after the change.",
47
+ "effects": "write",
48
+ "key": "add-labels",
49
+ "mcp_name": "github__add-labels",
50
+ "pack": "io.b3os/github",
51
+ "ref": "io.b3os/github/add-labels@1.0.0",
52
+ "score": 0.561,
53
+ "title": "Add labels"
54
+ }
55
+ ],
56
+ "next_cursor": null,
57
+ "object": "list"
58
+ }
59
+ ```
60
+
61
+ **Request**
62
+
63
+ ```bash
64
+ curl -s 'https://beta-api.b3os.org/v1/actions/search?q=create+a+github+issue&limit=3' \
65
+ -H "Authorization: Bearer $B3OS_API_KEY"
66
+ ```
67
+
68
+ **Server-Timing**
69
+
70
+ ```http
71
+ server-timing: edge_auth;dur=0.000, edge_upstream;dur=11.000, total;dur=0.322
72
+ x-request-id: req_01m6am1bv499k2ptv9140e16c3
73
+ ```
74
+
75
+ <sub>Captured 2026-11-01 from commit `1f273e0a` on the host the node runs on, one call, label `live-recorded` (recorded from production). Case `actions/search-create-issue`.</sub>
76
+
77
+ `score` is BM25 relevance over each entry's title, key, pack names, task phrases and description, scaled to 0..1 against the best score the query could reach, so it ranks the results of one search. Narrow the search with `pack` (`io.b3os/github`) or `effects` (`read`, for example). `kind=trigger` searches triggers instead and `kind=any` searches both; those results carry `kind` (`action` or `trigger`), and a trigger result its `trigger_kind` (`webhook`, `poll` or `schedule`). `effects` never removes a trigger.
78
+
79
+ ### When nothing matches
80
+
81
+ Every answer carries `match`: `found`, or `none` with an empty `data`. Search answers `none` rather than the closest unrelated action, by these rules:
82
+
83
+ - A query that names a pack, by its name (`slack`, `google sheets`) or by what it is for (`email`, `weather`, `stock`), searches only the packs it names. Its other words are values: `weather in Tokyo` finds Open-Meteo.
84
+ - A query that names no pack finds only an action that has all of its words. `resize an image` finds nothing.
85
+ - A service the catalog does not have finds nothing: `telegram message` answers `none`, never a Discord action.
86
+ - The first verb picks the effect class. `read my latest emails` returns only actions that read, with Gmail's `list-messages` first. `send` keeps actions that write. `delete`, `cancel` and `archive` keep actions that remove, and only when the query names the pack. An `irreversible` action is never returned for a query that does not name its pack.
87
+ - A removal, or an `irreversible` action, must also be about what the query names: its title or task phrases carry the query's words. `delete the repo` answers `none`, because no GitHub action deletes a repository, and `delete the email` never returns Resend's `send-email`.
88
+ - A query that names a service and says nothing the catalog knows returns no action that removes or cannot be undone: `summarize my slack` never returns `delete-file`, and `translate this with resend` never returns `send-email`. A service's name alone (`slack`) lists its actions with reads first and those last.
89
+ - A change is not a removal: `post to slack` never returns `archive-channel`, and `send a discord message` never returns `delete-message`. A change that says what it changes keeps the actions whose title or task phrases carry its verb or those words: `upload a file to drive` and `refund a stripe payment` answer `none`, because Google Drive's only write creates a folder and Stripe's actions only read.
90
+
91
+ ```json
92
+ {
93
+ "object": "list",
94
+ "data": [],
95
+ "next_cursor": null,
96
+ "match": "none",
97
+ "unmatched": ["telegram"],
98
+ "fallback": {
99
+ "detail": "No catalog action matches \"telegram message\" (not in the catalog: telegram). Do not use an unrelated action instead. For a public API, or a URL that carries its own authorization, use io.b3os/http (io.b3os/http/get@1, io.b3os/http/post-json@1), or core/http@1 as a routine step; neither attaches a credential.",
100
+ "refs": ["io.b3os/http/get@1", "io.b3os/http/post-json@1"],
101
+ "routine_step": "core/http@1",
102
+ "docs_url": "https://docs.beta.b3os.org/actions/catalog/http"
103
+ }
104
+ }
105
+ ```
106
+
107
+ `unmatched` lists the words no pack knows. It is empty when every word is known but no one action has them all, or when `pack` or `effects` left nothing. The `actions_search` MCP tool answers with `fallback.detail` as its text. The HTTP actions and `core/http@1` attach no credential, so they suit public APIs and URLs that carry their own authorization, such as presigned links and webhook URLs.
108
+
109
+ ## Describe
110
+
111
+ `GET /v1/actions/describe?ref=io.b3os/github/create-issue@1` returns everything needed to call the action: `input_schema` and `output_schema` (JSON Schema 2020-12), the effect class, MCP annotations, the action as an MCP tool definition, the connections it needs, each with its key and type (`bearer`, `api_key`, `basic` or `oauth2`), and `examples`: up to 5 calls from the pack's own fixtures, each with its `input`, the `output` the pack maps and the label `fixture` (a fixture ships in the signed bundle; its `title` says whether the response was recorded or is a documented shape). The example inputs also appear as `examples` in the MCP tool's `inputSchema`. A major version such as `@1` resolves to the newest matching release, and the response names the exact one.
112
+
113
+ ## Call
114
+
115
+ `POST /v1/actions/call` takes the `ref`, the `input` and, for an action that needs a credential, `connections`. Open-Meteo's actions need no connection; this call was recorded:
116
+
117
+ **Response 200**
118
+
119
+ ```json
120
+ {
121
+ "object": "action_result",
122
+ "output": {
123
+ "apparent_temperature": 5.2,
124
+ "cloud_cover_percent": 65,
125
+ "conditions": "Partly cloudy",
126
+ "is_day": false,
127
+ "precipitation": 0,
128
+ "relative_humidity_percent": 93,
129
+ "temperature": 7.1,
130
+ "time": "2026-11-01T04:45",
131
+ "timezone": "Europe/Berlin",
132
+ "units": {
133
+ "precipitation": "mm",
134
+ "temperature": "°C",
135
+ "wind_speed": "km/h"
136
+ },
137
+ "weather_code": 2,
138
+ "wind_direction_degrees": 38,
139
+ "wind_speed": 5.9
140
+ },
141
+ "ref": "io.b3os/open-meteo/get-current-weather@1.0.0",
142
+ "timing": {
143
+ "inject_ms": 0.001,
144
+ "map_ms": 0.155,
145
+ "render_ms": 0.02,
146
+ "total_ms": 596.753,
147
+ "upstream_ms": 596.376,
148
+ "validate_ms": 0.014
149
+ },
150
+ "upstream_status": 200
151
+ }
152
+ ```
153
+
154
+ **Request**
155
+
156
+ ```bash
157
+ curl -s -X POST 'https://beta-api.b3os.org/v1/actions/call' \
158
+ -H "Authorization: Bearer $B3OS_API_KEY" \
159
+ -H 'content-type: application/json' \
160
+ -d '{"ref":"io.b3os/open-meteo/get-current-weather@1","input":{"latitude":52.52,"longitude":13.405}}'
161
+ ```
162
+
163
+ **Server-Timing**
164
+
165
+ ```http
166
+ server-timing: edge_auth;dur=23.000, edge_upstream;dur=609.000, validate;dur=0.014, inject;dur=0.001, render;dur=0.020, upstream;dur=596.376, map;dur=0.155, total;dur=596.828
167
+ x-request-id: req_01m6am1b6yx94tta4e0aj3nt33
168
+ ```
169
+
170
+ <sub>Captured 2026-11-01 from commit `1f273e0a` on the host the node runs on, one call, label `live-recorded` (recorded from production). Case `actions/call-current-weather`.</sub>
171
+
172
+ `ref` is the exact version that ran. `output` is the pack's mapping of the service's answer, valid against the action's output schema, and `upstream_status` is the service's own status. `timing` separates B3OS's own work (`validate` the input, `inject` the credential, `render` the request, `map` the response) from `upstream`, the time the service took; the `Server-Timing` header carries the same phases.
173
+
174
+ [Try it in the playground](https://beta.b3os.org/app/playground?op=actionsCall&body=eyJyZWYiOiJpby5iM29zL29wZW4tbWV0ZW8vZ2V0LWN1cnJlbnQtd2VhdGhlckAxIiwiaW5wdXQiOnsibGF0aXR1ZGUiOjUyLjUyLCJsb25naXR1ZGUiOjEzLjQwNX19)
175
+
176
+ <sub>Opens the dashboard playground with this request filled in (`POST /v1/actions/call`). The link carries no key.</sub>
177
+
178
+ An action that needs a credential names its connection, or leaves the key out (see [Connections](#connections)), and a `write` or `irreversible` action takes an `Idempotency-Key`. Opening a GitHub issue:
179
+
180
+ **curl**
181
+
182
+ ```bash
183
+ curl -s https://beta-api.b3os.org/v1/actions/call \
184
+ -H "Authorization: Bearer $B3OS_API_KEY" \
185
+ -H "Idempotency-Key: 7c1e2f6a-1d43-4a8e-b2a5-3f0c9d5e8b11" \
186
+ -H "Content-Type: application/json" \
187
+ -d '{"ref": "io.b3os/github/create-issue@1",
188
+ "input": {"owner": "acme", "repo": "widgets", "title": "Flaky test in checkout flow",
189
+ "body": "Seen three times this week on main.", "labels": ["bug"]},
190
+ "connections": {"token": "conn_01m5t6cbgdjs1ketgcqwa2sne8"}}'
191
+ ```
192
+ **TypeScript**
193
+
194
+ ```ts
195
+ import { B3OS } from "@b3os/sdk";
196
+
197
+ const b3os = new B3OS();
198
+ const result = await b3os.actions.call(
199
+ {
200
+ ref: "io.b3os/github/create-issue@1",
201
+ input: {
202
+ owner: "acme",
203
+ repo: "widgets",
204
+ title: "Flaky test in checkout flow",
205
+ body: "Seen three times this week on main.",
206
+ labels: ["bug"],
207
+ },
208
+ connections: { token: "conn_01m5t6cbgdjs1ketgcqwa2sne8" },
209
+ },
210
+ { idempotencyKey: crypto.randomUUID() },
211
+ );
212
+ console.log(result.ref, result.output);
213
+ ```
214
+ **Python**
215
+
216
+ ```python
217
+ import uuid
218
+ from b3os import B3OS
219
+
220
+ b3os = B3OS()
221
+ result = b3os.actions.call(
222
+ {
223
+ "ref": "io.b3os/github/create-issue@1",
224
+ "input": {
225
+ "owner": "acme",
226
+ "repo": "widgets",
227
+ "title": "Flaky test in checkout flow",
228
+ "body": "Seen three times this week on main.",
229
+ "labels": ["bug"],
230
+ },
231
+ "connections": {"token": "conn_01m5t6cbgdjs1ketgcqwa2sne8"},
232
+ },
233
+ idempotency_key=str(uuid.uuid4()),
234
+ )
235
+ print(result["ref"], result["output"])
236
+ ```
237
+ **MCP**
238
+
239
+ ```text
240
+ Open an issue in acme/widgets titled "Flaky test in checkout flow", labeled bug.
241
+ ```
242
+
243
+ The agent calls `actions_search`, then `actions_describe` for the best match, then `actions_call` with the input. Packs you expose directly (`--packs github` for the local server, `?packs=github` on the remote URL) appear as their own tools, such as `github__create-issue`. `actions_call` takes no credential: it uses your vault connections.
244
+
245
+ The result has the same shape; create-issue's `output` holds the new issue's `number`, `html_url`, `title`, `state` and `created_at`.
246
+
247
+ ## Connections
248
+
249
+ `connections` maps each of the action's connection keys to a vault connection ID. Leave a key out and B3OS uses your project's newest connection for that pack and key that has no `subject`. A connection with a `subject` holds one of your end users' credentials, so without a `subject` in the call B3OS uses it only when you name it. A call with `subject` (your end user's ID, 1 to 256 characters) resolves each key it leaves out to that end user's newest connection for the pack and key instead, never to another end user's or to one without a `subject`, and fails with [`connection_required`](https://docs.beta.b3os.org/errors#connection_required) when that end user has none:
250
+
251
+ ```bash
252
+ curl -s https://beta-api.b3os.org/v1/actions/call \
253
+ -H "Authorization: Bearer $B3OS_API_KEY" \
254
+ -H "Idempotency-Key: 0b6f3d2e-8a41-4c57-9e3a-5d1f7c2b9a60" \
255
+ -H "Content-Type: application/json" \
256
+ -d '{"ref": "io.b3os/github/create-issue@1",
257
+ "input": {"owner": "acme", "repo": "widgets", "title": "Flaky test in checkout flow"},
258
+ "subject": "user_8812"}'
259
+ ```
260
+
261
+ Keys you name in `connections` are used as named, with or without `subject`. A routine step takes `subject` the same way ([Steps](https://docs.beta.b3os.org/routines/definitions#steps)). The MCP tools do not take it yet; name the end user's connection there. Using a connection, named or not, needs `vault:run` on top of `actions:run`. [Vault](https://docs.beta.b3os.org/vault) explains how to store one.
262
+
263
+ The credential is added at the egress proxy, only for the hosts the pack declares for that connection. The call fails with [`connection_required`](https://docs.beta.b3os.org/errors#connection_required) when the action needs a connection and none is found for the caller. That answer carries `connect_url`, a dashboard link that opens Add connection with the pack, the key and your project filled in, and the end user's `subject` when the call named one; open it, add the credential, and send the same call again:
264
+
265
+ ```json
266
+ {
267
+ "type": "https://docs.beta.b3os.org/errors#connection_required",
268
+ "title": "Connection required",
269
+ "status": 422,
270
+ "code": "connection_required",
271
+ "detail": "io.b3os/github needs connection token (GitHub token, bearer); add one at https://beta.b3os.org/app/connections?pack=io.b3os%2Fgithub&key=token&project=prj_01m5tqdr9hbt53mk4bcxvmdxjd or pass connections.token",
272
+ "errors": [{ "pointer": "/connections/token", "detail": "is required" }],
273
+ "connect_url": "https://beta.b3os.org/app/connections?pack=io.b3os%2Fgithub&key=token&project=prj_01m5tqdr9hbt53mk4bcxvmdxjd"
274
+ }
275
+ ```
276
+
277
+ The `actions_call` MCP tool answers the same error with the link as its next step, so an agent can hand it to the person it works for. The call fails with [`connection_mismatch`](https://docs.beta.b3os.org/errors#connection_mismatch) when the connection's type, pack or hosts do not fit the action. A key without `vault:run` gets `403` [`forbidden`](https://docs.beta.b3os.org/errors#forbidden) with `required_scope: vault:run`, whether or not it names the connection. A named connection the caller cannot use, in another project or, for a sandbox, not in `api.connections`, is `404` [`connection_not_found`](https://docs.beta.b3os.org/errors#connection_not_found).
278
+
279
+ ## Retries and idempotency
280
+
281
+ B3OS retries `pure` and `read` actions on its own. It never retries `write` or `irreversible` actions for you: send an `Idempotency-Key` with them, as above, so that your own retry after a timeout returns the stored result instead of acting twice. Packs that support it pass the key on to the service.
282
+
283
+ ## When it fails
284
+
285
+ | Code | Status | Meaning |
286
+ |---|---|---|
287
+ | [`action_input_invalid`](https://docs.beta.b3os.org/errors#action_input_invalid) | 422 | The input does not match the input schema; `errors[]` points at the field, such as `/input/title` |
288
+ | [`upstream_error`](https://docs.beta.b3os.org/errors#upstream_error) | 502 | The service answered with an error. `upstream_status` has its status and `pack_error` the pack's reading of it |
289
+ | [`action_output_invalid`](https://docs.beta.b3os.org/errors#action_output_invalid) | 502 | The service answered, but the result does not match the output schema; report it to the pack publisher |
290
+ | [`action_not_found`](https://docs.beta.b3os.org/errors#action_not_found), [`pack_not_found`](https://docs.beta.b3os.org/errors#pack_not_found) | 404 | No such action or pack on the node |
291
+ | [`connection_required`](https://docs.beta.b3os.org/errors#connection_required) | 422 | The action needs a credential and none is named or found for the pack and key |
292
+ | [`forbidden`](https://docs.beta.b3os.org/errors#forbidden) | 403 | The key lacks `vault:run` (`required_scope`), which using any connection needs |
293
+ | [`connection_not_found`](https://docs.beta.b3os.org/errors#connection_not_found) | 404 | The named connection is not in your project, or a sandbox's `api.connections` does not list it |
294
+
295
+ Call rate, time limit, body size and the number of connections per call are on [Actions limits and FAQ](https://docs.beta.b3os.org/actions/limits).
296
+
297
+ ## From routines and sandboxes
298
+
299
+ - In a routine, an action is a step: `uses: io.b3os/github/create-issue@1` with the input as `with`, and the connections bound with `connections`. A major version is pinned when the routine version is published. See [definitions](https://docs.beta.b3os.org/routines/definitions).
300
+ - In a sandbox, grant `actions:run` and `vault:run`, and list the connections in `api.connections`; code inside then calls `http://127.0.0.1:7700/v1/actions/call` with no key, and the credential never enters the sandbox. See [agents in sandboxes](https://docs.beta.b3os.org/sandboxes/agents).