Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 5.04 KB

repository.md

File metadata and controls

84 lines (65 loc) · 5.04 KB

Bell repository

Bell lives in browserbase/bell-stack. One Next.js application serves the web interface and integrations. One Eve by Vercel agent owns the web and Linq conversations; both channels use Bell's browser runtime directly.

agent/                  Eve agent, tools, hooks, runtime, and channels
app/                    Bell web interface, integration APIs, and handoff routes
server/browser/         Browser sessions, Context metadata, credentials, and handoff
lib/browser/            Browser URL and CAPTCHA helpers
tests/browser/          Browser runtime regression tests and local fixtures
package.json            Application dependencies and commands
pnpm-lock.yaml          One dependency resolution tree

Eve by Vercel

Eve by Vercel runs Bell's agent, conversation state, tools, and channels. Configure the model and session limits in agent/agent.ts, behavior in agent/instructions.md, and tools in agent/tools/. The web channel and Linq channel use the same agent with separate conversations. Hooks maintain task state and browser lifecycle; channel callbacks also handle terminal-session cleanup. Restart Bell after runtime edits.

Integration implementation

Integration Implementation Guide
Browserbase + Stagehand Browser runtime, session management Browser configuration
Eve by Vercel Agent, channels, hooks Eve in Bell
Notion MCP connection, OAuth, personal memory Skill Memory setup
Linq Channel and sender policy Messaging setup
Link by Stripe Eve extension and tools, authorization, server implementation Sandbox and wallet setup
1Password Operator SDK/CLI access, personal authorization, personal server implementation Operator credentials, personal access status
Baselayer Agent tool, credential minting, merchant verification Merchant access

Personal 1Password Agentic Autofill is implemented but disabled by default pending hosted extension support and live verification. Keep ONEPASSWORD_ENABLED=false and the extension ID unset as described in its guide. Operator SDK/CLI access remains separate and is unavailable over Linq.

Development

Use Node.js 24 and pnpm 10.33.4:

pnpm install --frozen-lockfile
pnpm dev

pnpm dev and pnpm build compile the browser runtime directly. There is no separate browser package, generated library, or second agent application. Run pnpm check for tests, TypeScript, lint, and the Bell production build. Provider-backed tests remain opt-in; see provider regression checks. Keep generated .eve, .next, .output, dependencies, environment files, and browser data untracked.

Browser tools must use runBrowserOperation and runCancelableBrowserWork from agent/lib/browser-runtime. A server integration can call browser.withHostedPage(signal, callback) under the same operation lock. Keep credentials and browser connection URLs out of tool results. See browser configuration and credential handling.

License and ownership

Bell maintains its browser implementation directly in this repository. There is no submodule or separately maintained application to install. The root MIT license preserves the Browserbase copyright and license terms covering the browser source.

Browser retirement

The HTTP and Linq channels release the hosted browser on terminal session events, including when cleanup runs in a fresh worker. Eve 0.79.1 skips global stream hooks for completion outside a turn, so cleanup uses channel callbacks. A failed release retains the browser ID and reaches Eve's error logging; failed callbacks are not automatically retried. Starting a new conversation resets the prior session and releases its browser. Browserbase sessions still have provider lifetimes, so this does not guarantee an indefinitely running browser.

With Bell running locally and its provider credentials loaded, run the opt-in regression:

BELL_LIVE_RETIREMENT=1 pnpm test:retirement:live

The test opens example.com, checks browser reuse across two turns, resets the session, verifies provider release, and deletes its temporary Context. It uses the configured model and Browserbase.