-
Notifications
You must be signed in to change notification settings - Fork 7
docs: add Use cases section with Linux Desktop page #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add new "Use cases" navigation group between Getting Started and Code Interpreting - Add Linux Desktop page documenting AI-powered desktop control with E2B sandboxes - Links to E2B Surf project and live demo
- Add explanatory prose before code blocks per documentation standards - Fix TypeScript code block labels to use "JavaScript & TypeScript" - Add external links for sharp, SSE, noVNC, xdotool, x11vnc, and Xvfb - Fix GitHub link to point to Surf repo instead of cookbook - Add introduction and section headers to desktop template page
The page.tsx code example imported SSEEventType from @/types, but this type was never defined in the types/index.ts file and wasn't used in the component. This caused TypeScript compilation errors when following the guide.
- Link unexplained terms (XFCE, VNC, Next.js App Router, OpenAI Computer Use API, scrot) - Remove unnecessary CodeGroup wrapper from project structure - Add missing xorg package to Python template to match TypeScript version
Reframe the use case around what the AI agent does (computer use) rather than the underlying infrastructure (Linux desktop).
Replace 1865-line step-by-step tutorial with a focused ~240-line page that shows core E2B Desktop SDK patterns (sandbox creation, screenshots, desktop actions, agent loop) and links to E2B Surf for the full project. Code examples adapted from the actual Surf implementation with both TypeScript and Python variants.
mishushakov
reviewed
Feb 9, 2026
mishushakov
reviewed
Feb 9, 2026
mishushakov
approved these changes
Feb 9, 2026
- Reorder steps: sandbox creation before user command - Link E2B Desktop SDK name to GitHub repo instead of npm
mishushakov
reviewed
Feb 9, 2026
docs/use-cases/computer-use.mdx
Outdated
| ## Install the E2B Desktop SDK | ||
|
|
||
| The [`@e2b/desktop`](https://www.npmjs.com/package/@e2b/desktop) SDK gives your agent a full Linux desktop with mouse, keyboard, and screen capture APIs. | ||
| The [E2B Desktop](https://github.com/e2b-dev/e2b-desktop) SDK gives your agent a full Linux desktop with mouse, keyboard, and screen capture APIs. |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
broken link
mishushakov
reviewed
Feb 9, 2026
docs/use-cases/computer-use.mdx
Outdated
Comment on lines
15
to
16
| 1. **E2B creates a desktop sandbox** — an Ubuntu 22.04 environment with [XFCE](https://xfce.org/) desktop and pre-installed applications | ||
| 2. **User sends a command** — e.g., "Open Firefox and search for AI news" |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should revert, I am thinking: User sends a query > Agent creates E2B Desktop Sandbox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary