Files
BridgeSwarm/examples/agent-studio/README.md
T
snxraven b711ba0447
CI / Build & Test (push) Failing after 53s
Add QVAC
2026-09-02 14:17:10 -04:00

19 lines
777 B
Markdown

# 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):
```js
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.