René's URL Explorer Experiment


Title: docs: guides for running, automating and building on Deepnote by jamesbhobbs · Pull Request #620 · deepnote/deepnote · GitHub

Open Graph Title: docs: guides for running, automating and building on Deepnote by jamesbhobbs · Pull Request #620 · deepnote/deepnote

X Title: docs: guides for running, automating and building on Deepnote by jamesbhobbs · Pull Request #620 · deepnote/deepnote

Description: Summary Documents things Deepnote can already do that had no user-facing docs, or whose docs were out of date. Docs only, no code changes. This replaces #611–#618, which were split by topic. They cross-link heavily, so they're easier to review and merge together. Area Files What's new Running notebooks in CI deepnote-cli-ci.md (new), links from deepnote-cli.md and skills/deepnote/references/cli-run.md deepnote run on the runner (no secrets, safe on fork PRs) and run --cloud from trusted triggers; exit codes and failureCategory; security guidance for DEEPNOTE_TOKEN (Environments, no pull_request_target, --push --yes is destructive, snapshot artifacts expose outputs) Deepnote API guides deepnote-api.md (rewritten), deepnote-api-runs.md, -sessions.md, -machines.md, -workspace.md (new) The API page covered only auth and didn't link the generated reference. It's now an overview (conventions, pagination, 409/429, viewer tokens) plus task guides: runs with inputs, snapshots and app-data; interactive sessions; machine start/stop/resize and idle-shutdown recipes; project export/import, integrations, usages, search, files, members Notebooks as app backends streamlit.md, deepnote-cli-publish.md deepnote-toolkit 2.9.0 helpers (DeepnoteDocument, render_inputs, StreamlitCloudRunner) for running a notebook from a Streamlit app with the viewer's own permissions; a minimal JavaScript viewer-token handshake → POST /v2/runs → poll example Plugin for Claude Code and Codex deepnote-mcp.md One-command deepnote/agent-plugins install, sign-in, what the skills add, example prompts Notebooks in Git deepnote-cli-git.md (new) Snapshots vs source, a textconv driver for readable git diff/log -p, difftool with deepnote diff, pre-commit validate/lint, a PR job that writes block-level diffs to the job summary Dependency analysis deepnote-cli-dependencies.md (new) dag show/vars/downstream, run --block --dry-run, analyze, with real output from CLI 0.10.0 Local agent blocks deepnote-cli-agent-blocks.md (new) run --prompt; choosing a model and provider (Anthropic, OpenAI, OpenAI-compatible endpoints such as Ollama/OpenRouter/LiteLLM); base-URL overrides; MCP servers; Cloud compatibility of model ids VS Code and Cursor vscode-extension.md, local-setup.md Checked against vscode-deepnote 1.8.0. Removed the deleted Environments panel and commands that no longer exist; documented interpreter selection and the toolkit prompt, the project explorer, agent blocks, .deepnote.env.yaml integrations, Init notebooks, snapshots, the Variables panel, agent skills install, and settings Deepnote images outside Deepnote default-environment.md Running notebooks locally or in a GitHub Actions container: job on deepnote/python:3.x-datascience, using the image's /root/venv Every flag, endpoint and behavior was checked against source: the CLI and runtime-core in this repo, the public API spec plus webapp source, deepnote-toolkit at 2.9.0, agent-plugins, and vscode-deepnote. Tested Git recipes with published @deepnote/cli@0.10.0: the textconv driver in git diff and git log -p, the difftool, lint exiting 1 on a syntax error, validate exiting 2, the plain git hook blocking a commit, and the PR-summary script logic. Dependency analysis: all output on the page comes from real CLI 0.10.0 runs. Docker image: deepnote run inside deepnote/python:3.12-datascience succeeds with /root/venv activated (pandas, numpy and sklearn import). Without activating it, it fails with ModuleNotFoundError, which is why the page uses the absolute venv path. Prettier and cspell pass. All internal /docs/... links resolve except api-reference, which the docs site generates. Not yet verified CI page: run the runner and cloud workflows once in a private scratch repo (throwaway project and key for the cloud one, then delete them). API: run the curl and Python examples against a test workspace and clean up; confirm GET /v2/runs/{runId} returns session runs; confirm the Team/Enterprise plan callout. Streamlit: confirm Deepnote Cloud's Streamlit environment ships deepnote-toolkit ≥ 2.9.0; run both app examples in a hosted app. Plugin: install it in a clean Claude Code and a clean Codex and run one prompt in each. Git: the Actions PR-review job and the pre-commit framework config. Agent blocks: one run each with Anthropic, OpenAI and an OpenAI-compatible endpoint. VS Code/Cursor: click through the toolkit install prompt, the Init notebook run, and skills install. Docker image: the GitHub Actions container: example itself. The docs site renders the new pages, and anchors (#security, #outputs-and-snapshots, #integrations-from-a-file) resolve. Found along the way (not fixed here) lint never reports undefined variables. With CLI 0.10.0, a block reading undefined_thing passes. The analyzer drops undefined names from a block's used variables, so the undefined-variable rule never fires. The circular-dependency check also didn't fire for a = b + 1 / b = a + 1. The pages only claim what reproduces. VS Code always asks for an OpenAI key for agent blocks, whatever model the block names, so the VS Code section describes only the OpenAI flow. Supporting other providers would be a vscode-deepnote change. Related Sidebar entries for the new pages: deepnote/deepnote-internal#21211. 🤖 Generated with Claude Code Summary by CodeRabbit Documentation Added API guides for notebook runs, interactive sessions, machine controls, workspace workflows, authentication, and API behavior. Expanded CLI guidance for CI, dependency analysis, Git workflows, agent blocks, and viewer access for published apps. Added guides for Streamlit apps, MCP setup, and running notebooks outside Deepnote with public Python environments. Updated VS Code extension and local setup guides with notebook and project workflows, agent blocks, snapshots, integrations, commands, and Python environment requirements. Added CI guidance to CLI references and project sync documentation, and expanded the documentation dictionary.

Open Graph Description: Summary Documents things Deepnote can already do that had no user-facing docs, or whose docs were out of date. Docs only, no code changes. This replaces #611–#618, which were split by topic. They c...

X Description: Summary Documents things Deepnote can already do that had no user-facing docs, or whose docs were out of date. Docs only, no code changes. This replaces #611–#618, which were split by topic. They c...

Opengraph URL: https://github.com/deepnote/deepnote/pull/620

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b9c7876f-fed9-0676-df2e-c3f22e06b84f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8778:257FA3:A09829:D4D80C:6AEDCE38
html-safe-noncea17165caf4fde434e4c4ceab8e7e8fa18158e1c99a199ce1bf610722023f0cb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc4OjI1N0ZBMzpBMDk4Mjk6RDREODBDOjZBRURDRTM4IiwidmlzaXRvcl9pZCI6IjM5OTc4NDM5OTQyODczOTQzNjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2187a95470cd1fc52cd1920911bc556dc80d7c763069152970bc2e4c8646669d
hovercard-subject-tagpull_request:5163427687
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
twitter:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
og:image:altSummary Documents things Deepnote can already do that had no user-facing docs, or whose docs were out of date. Docs only, no code changes. This replaces #611–#618, which were split by topic. They c...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef60373873bb1ef795e8511ea1f2a76997e9c649d72b02942aedf2def3423a0ce
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f55cfa61438c7dc93d1024a1e5e5182b36830e2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F620%2Fcommits%2F7d849d05f659bcae6e24853c0354242223089fff
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F620%2Fcommits%2F7d849d05f659bcae6e24853c0354242223089fff
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
Reloadhttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
Reloadhttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues14 (14)https://github.com/deepnote/deepnote/issues
Pull requests24 (24)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
jamesbhobbshttps://github.com/jamesbhobbs
mainhttps://github.com/deepnote/deepnote/tree/main
docs/guides-for-current-capabilitieshttps://github.com/deepnote/deepnote/tree/docs/guides-for-current-capabilities
Conversation 52 https://github.com/deepnote/deepnote/pull/620
Commits 21 https://github.com/deepnote/deepnote/pull/620/commits
Checks 21 https://github.com/deepnote/deepnote/pull/620/checks
Files changed https://github.com/deepnote/deepnote/pull/620/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
docs: guides for running, automating and building on Deepnote https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#top
Show all changes 21 commits https://github.com/deepnote/deepnote/pull/620/files
abfe28d docs(cli): document running notebooks in CI jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/abfe28da5ec9d4ae16107d2001476396596681cb
acb9aaf docs(cli): bump CI example versions and unpin the CLI jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/acb9aafdc344664b4b63489f0d53968ed32fcd9d
96194e5 docs(cli): resolve Python and Node to the newest versions in CI examples jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/96194e5e284f97b426cb0de524c3b7d824ee3e4a
4b7a86c docs(api): add guides for runs, sessions, machines and workspace mana… jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/4b7a86c59e445e7ee9274c01ae446656fa11c099
704b385 docs: document running notebooks from Streamlit apps and websites jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/704b385e7a115ffff7f1ffd4f4591ffca073067a
4ac75f6 docs(mcp): document the Deepnote plugin for Claude Code and Codex jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/4ac75f627f7a08720d0bfb0f35b9f793920e96e4
94bb2fa docs(cli): add a guide to working with notebooks in Git jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/94bb2fae5d926754421652b40ea82fb2bd66f923
068560c docs(cli): add a guide to notebook dependency analysis jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/068560ce96230224376d715e929002872501d21c
334e89a docs(cli): document running agent blocks locally with any provider jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/334e89a09a0bb082030c418441b8f40eeee58afd
fe0c5df docs(vscode): document current extension features and fix stale sections jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/fe0c5df6c63afb8e447a3093201daf38e726effd
14f74cc docs(environments): run notebooks on Deepnote's images outside Deepnote jamesbhobbs Nov 4, 2026 https://github.com/deepnote/deepnote/pull/620/commits/14f74ccf41f45eadad7f905a4da8eee5ff8eba25
3c0d451 docs(skill): scope the CI toolkit install to runner-local runs jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/3c0d451c91a7495ad25556c3d4bc9533129ba4bb
55baaec docs(streamlit): state the real data boundary for notebook backends jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/55baaeccfe534df25ab8eb11459aa1d2d70eb44a
f52f22e docs(local-setup): fix requirements, AI row and remove broken toolkit… jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/f52f22e18ad89c44a25acc269741754fa94e804e
e75fbcf docs(default-environment): note toolkit install can change image pack… jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/e75fbcf5d692c141949709837091a03a21d4ab7c
2ab3ef4 docs(cli-ci): add syncing a repository to Deepnote from CI jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/2ab3ef482f978d6c858811a0e2915b63d577f6dc
fb08f81 docs(api-machines): fix example, restart semantics and private projects jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/fb08f814b236cd6b3d604f9d9785a7a2e1914ce7
c85cda3 docs: fix remaining inaccuracies in the new guides and drop em dashes jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/c85cda326824c8c280c3f43fa267c46ebb2011da
e9a201b Merge branch 'main' into docs/guides-for-current-capabilities jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/e9a201bc736181066b7d60235dbd7c83777b683f
c324619 docs: address open CodeRabbit review threads jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/c324619b42556788d1d88465fd94710e4e8e3a7f
7d849d0 docs(api-workspace): handle empty exports in the import fingerprint jamesbhobbs Nov 5, 2026 https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
Clear filters https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
Please reload this pagehttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
Please reload this pagehttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
docs-dictionary.txt https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-c96df37ea86990896f0d35a689d39b33127421d7edae0369efa3de3e0284158a
deepnote-api-workspace.md https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-63c82278df512037d3d0c8513e39b5469dc34ddf1fc9a9337f97c5745d5c55a7
Prev https://github.com/deepnote/deepnote/pull/620/commits/c324619b42556788d1d88465fd94710e4e8e3a7f
Please reload this pagehttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
https://github.com/jamesbhobbs
https://github.com/claude
jamesbhobbshttps://github.com/deepnote/deepnote/commits?author=jamesbhobbs
claudehttps://github.com/deepnote/deepnote/commits?author=claude
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
docs-dictionary.txthttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-c96df37ea86990896f0d35a689d39b33127421d7edae0369efa3de3e0284158a
View file https://github.com/deepnote/deepnote/blob/7d849d05f659bcae6e24853c0354242223089fff/docs-dictionary.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/620/commits/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-c96df37ea86990896f0d35a689d39b33127421d7edae0369efa3de3e0284158a
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
docs/deepnote-api-workspace.mdhttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-63c82278df512037d3d0c8513e39b5469dc34ddf1fc9a9337f97c5745d5c55a7
View file https://github.com/deepnote/deepnote/blob/7d849d05f659bcae6e24853c0354242223089fff/docs/deepnote-api-workspace.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/620/commits/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-63c82278df512037d3d0c8513e39b5469dc34ddf1fc9a9337f97c5745d5c55a7
Please reload this pagehttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
https://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff#diff-63c82278df512037d3d0c8513e39b5469dc34ddf1fc9a9337f97c5745d5c55a7
Please reload this pagehttps://github.com/deepnote/deepnote/pull/620/commits/7d849d05f659bcae6e24853c0354242223089fff
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.