Browser & computer use
Fast, bounded browser agents powered by Jev and agent-browser — typed actions, research, classification, and safe orchestration.
const DEFAULT_ENDPOINT = 'https://api.typesafe.ai/v1/systemone';The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
operationchoiceChoose the next browser operation.
CLICK — Choose a current control, filter, menu, pagination link, or clearly requested content target. Prefer controls over content cards and do not repeat an already executed click.SCROLL_UP — Execute SCROLL_UP.SCROLL_DOWN — Execute SCROLL_DOWN.BACK — Execute BACK.WAIT — Execute WAIT.DONE — Execute DONE.click_targetchoiceChoose the current browser ref targeted by the operation. Prefer exact filter/menu controls over similarly named result cards.
none_of_the_above — No current ref is an appropriate target.e1 — button/control/Gogoal_reachedtrue/falseEstimate whether the requested goal has been reached.
stucktrue/falseEstimate whether the browser agent is stuck.
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
operation: { type: 'choice', instructions: 'Choose the next browser operation.',
criteria: { CLICK: 'Choose a current control, filter, menu, pagination link, or clearly requested content target. Prefer controls over content cards and do not repeat an already executed click.', SCROLL_UP: 'Execute SCROLL_UP.', SCROLL_DOWN: 'Execute SCROLL_DOWN.', BACK: 'Execute BACK.', WAIT: 'Execute WAIT.', DONE: 'Execute DONE.' } },
click_target: { type: 'choice', instructions: 'Choose the current browser ref targeted by the operation. Prefer exact filter/menu controls over similarly named result cards.',
criteria: { none_of_the_above: 'No current ref is an appropriate target.', e1: 'button/control/Go' } },
goal_reached: { type: 'boolean', instructions: 'Estimate whether the requested goal has been reached.' },
stuck: { type: 'boolean', instructions: 'Estimate whether the browser agent is stuck.' },
},
});