Custom apps are available on Plus and Enterprise plans.
custom-apps:read permission. You do not host a separate service or manage a separate login.
An app runs in a sandbox with no network access of its own. The host forwards its LangSmith API requests with the viewer’s credentials, so each person sees only the data their permissions allow. The host forwards nothing else, and it blocks the endpoints for API keys, members, users, identities, roles, permissions, SCIM, and service accounts.
Build an app
Build an app by chatting with LangSmith Chat in the browser, or locally with the CLI and your own coding agent. Both paths produce the same app and store the same source, so either one can edit what the other built.Build with chat
Building in the browser has two requirements:- Sandboxes: Each session runs in a sandbox. On self-hosted deployments, enable sandboxes first.
- Permissions: The
custom-apps:create,custom-apps:update,custom-apps:delete, andcustom-apps:downloadpermissions, plus the sandbox permissions.
1
Start a new app
Go to Custom Apps and select App to open chat. In a workspace with no apps yet, the page opens chat directly.
2
Describe what you want to build
Type what the app should do into the composer, and select the model to build with from the model menu in the composer. The composer accepts a prompt while the sandbox behind it is still starting. When Chat starts writing files, LangSmith saves a draft and opens the Preview and Code tabs beside the chat.
3
Review what Chat built
The Preview tab renders a live build of your changes. The Code tab holds the file tree, the source, and the changes from the session. A badge in the header counts the changed files.
4
Deploy the app
Select Deploy. The first deploy asks for a name, builds the app, and publishes it to the workspace.If you leave the page before the first deploy, LangSmith discards the app. Once Chat has started editing, LangSmith asks before discarding it.
Build locally with the CLI
Building locally uses the LangSmith CLI, which scaffolds a starter, runs it in a real sandbox on your machine, and uploads it when you are ready. To build an app locally:1
Install the CLI
2
Authenticate
LANGSMITH_API_KEY, plus LANGSMITH_ENDPOINT for a self-hosted instance. For profiles and other options, see Authenticate.3
Scaffold an app
init creates a directory named after the app and, if npm is on your PATH, installs its dependencies. It also writes an AGENTS.md that gives a coding agent the conventions and API surface it needs to produce a working app on the first pass. Omit --template for a blank single-file starter.4
Iterate locally
--verbose for every successful call and all console output, or --quiet to silence the app.5
Push it live
.langsmith/app.json, which links the directory to it. Later pushes update the same app. Commit that file so teammates push to the same app.Starter templates
Pass one of these tolangsmith apps init --template:
Edit an app
Edit an app in the browser with chat, or pull its source and edit it locally.Edit with chat
Open an app from Custom Apps and select Edit. The published app is replaced by the editing workspace: chat on the left, and the same Preview and Code tabs on the right. Ask for the change in chat, or edit a file directly in Code and save it withCmd+S (Ctrl+S on Windows and Linux). Either way, the preview rebuilds, and the badge in the header updates its count of changed files.
Two actions end the session:
- Deploy: Builds the app and publishes it as a new version for the workspace.
- Cancel: Leaves without deploying. Undeployed changes stay in the editing sandbox.
Edit locally with the CLI
A deploy from the browser stores the app’s source, and so doeslangsmith apps push. To edit an app locally, pull it down:
langsmith apps push to publish it.
The scaffolded AGENTS.md asks the agent to keep a context.md at the app root as the app’s memory: what the app does, which files matter, and the decisions behind them. Any root file travels with the source, so a teammate who pulls the app starts from what you learned rather than from scratch.
Share an app with your organization
A custom app belongs to the workspace it was created in. To share one with the organization, open the row menu in the app list, select Edit, then select Share with organization. Every workspace in the organization can then see, update, and delete it. To move a shared app back into a single workspace, select Pull into this workspace from that workspace. If the workspace already has an app with the same name, LangSmith asks you to rename it. When the CLI resolves an app by name, a workspace app wins over an organization app of the same name.CLI reference
dev and push act on the current directory, so change into the app’s directory first.
Permissions
Thecustom-apps:* permissions control access to custom apps. For the full table, see Custom apps.
Editing in the browser also requires the sandboxes:create, sandboxes:read, sandboxes:update, sandboxes:delete, and sandboxes:exec permissions, because each session runs in a sandbox. The Edit action appears only for users with custom-apps:update, custom-apps:download, and the sandbox permissions.
Connect these docs to your agent of choice via MCP for real-time answers.

