Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Update examples
Vasek Mlejnskyf6d6e0bb97b9
diff --git a/apps/docs/src/app/hello-world/py/page.mdx b/apps/docs/src/app/hello-world/py/page.mdxindex 2800f6af1..cd9884a96 100644--- a/apps/docs/src/app/hello-world/py/page.mdx+++ b/apps/docs/src/app/hello-world/py/page.mdx@@ -203,7 +203,14 @@ def main():```</CodeGroup>-You should see results similar to this:+After running your code with the following command+<CodeGroup isRunnable={false}>+```bash {{ language: 'bash' }}+$ python main.py+```+</CodeGroup>++you should see results similar to this:```shstdout=['The median male height is 175.5 cm\n'] stderr=[]@@ -217,7 +224,7 @@ We got our median in the logs (`stdout`, and `stderr`) but we also something int## 6. Save generated chart-This looks like a plot. Let's save it to a file. Add the following to the end of `main.py`.+This looks like a plot. Let's save it to a file. Add the following to the end of `main.py` and run the code again with `python main.py` in your terminal.<CodeGroup isFileName title="main.py" isRunnable={false}>```python {{ language: 'python' }}# If we received a chart in PNG form, we can visualize itdiff --git a/apps/docs/src/app/layout.tsx b/apps/docs/src/app/layout.tsxindex 1276dfcda..aefa1660c 100644--- a/apps/docs/src/app/layout.tsx+++ b/apps/docs/src/app/layout.tsx@@ -15,16 +15,16 @@ export const metadata: Metadata = {// metadataBase: ''title: {template: '%s - E2B Docs',- default: 'E2B Docs - Runtime Sandbox for LLM Apps',+ default: 'E2B Docs - Code Interpreting for AI apps',},- description: 'Sandboxed cloud environments for AI-powered apps and agentic workflows',+ description: 'Open-source secure sandboxes for AI code execution',twitter: {- title: 'E2B Docs - Runtime Sandbox for LLM Apps',- description: 'Sandboxed cloud environments for AI-powered apps and agentic workflows',+ title: 'E2B Docs - Code Interpreting for AI apps',+ description: 'Open-source secure sandboxes for AI code execution',},openGraph: {- title: 'E2B Docs - Runtime Sandbox for LLM Apps',- description: 'Sandboxed cloud environments for AI-powered apps and agentic workflows',+ title: 'E2B Docs - Code Interpreting for AI apps',+ description: 'Open-source secure sandboxes for AI code execution',},}diff --git a/apps/docs/src/app/supported/page.mdx b/apps/docs/src/app/supported/page.mdxindex 333515653..b2576bde8 100644--- a/apps/docs/src/app/supported/page.mdx+++ b/apps/docs/src/app/supported/page.mdx@@ -1,4 +1,9 @@# Supported LLMs and AI frameworks-<Note>E2B is LLM agnostic - it supports any LLM models and any AI frameworks.++Usually, all you need from the model is just support for tool use. You then use the E2B code interpreter as a tool.+If the LLM doesn't support tool use, you can ask the LLM to respond with Markdown or XML and parse the LLM's output on your own. Then just pass the parsed code from code blocks to the code interpreter.++<Note>+Check out our [cookbook](https://github.com/e2b-dev/e2b-cookbook) for examples.</Note>\ No newline at end of filediff --git a/apps/docs/src/components/Navigation/routes.tsx b/apps/docs/src/components/Navigation/routes.tsxindex dc84b7cee..190e38342 100644--- a/apps/docs/src/components/Navigation/routes.tsx+++ b/apps/docs/src/components/Navigation/routes.tsx@@ -56,10 +56,10 @@ export const routes = [title: 'Supported LLMs and AI frameworks',href: '/supported',},- {- title: 'What\'s Code Interpreting?',- href: '/code-interpreting',- },+ // {+ // title: 'What\'s Code Interpreting?',+ // href: '/code-interpreting',+ // },{icon: <KeyRound strokeWidth={1} size={20} />,title: 'API Key',