777 B
777 B
Agent Studio
Embeddable grok-class coding agent via BridgeSwarm.agent.create(). Enable QVAC in Control Center → Settings first. Built-in tools (read_file, write_file, search_replace, grep, list_dir, run_terminal_cmd) stay under BridgeSwarm storage unless extra workspace roots are granted in Settings.
Register page-owned tools (handlers never leave the tab):
const session = await BridgeSwarm.agent.create({ model: 'qwen3.5-4b' })
await session.addTool({
name: 'page_time',
description: 'Current time in the web page',
parameters: { type: 'object', properties: {} },
execute: () => ({ now: new Date().toISOString() }),
})
await session.prompt('Create hello.js then call page_time')
This demo registers page_time on every new session.