An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.
TypeScript agentic-browseragentic-browsingagy-cliaiai-agentai-browser-extensionai-toolsbrave-extensionbrowser-agentbrowser-automationbrowser-extensionbrowser-usebrowserskillchrome-extensionclaude-codecodexfirefox-addonmcp-servernanobrowserweb-automation
/**
* Guardrails: what the agent is allowed to do, how page text reaches it, and what the
* process running it may touch.
*
* Four parts, all declarative:
*
* policy.ts what may happen in a page — rules as data over a closed set of conditions
* fence.ts what the model is told about where text came from
* secrets.ts what a credential looks like on its way out, and why it cannot come back
* settings.ts the same policy, described for the panel that lets you override it
* spawn.ts what the agent CLI itself is allowed to reach on the machine
*
* and pure helpers that read them: `decide()`, `fence()`, `sealSecrets()`, `vetPlan()`,
* `sealEnv()`. Enforcement lives at the daemon's choke points — `invokeExternal` and
* `AgentSession.invokeForRun` for the decision, `createMcpServer`'s renderers for the
* fence and the seal, the run's stream sink for text on its way to the user, `launch()`
* for the spawn — so every caller is covered.
*/
export { ANYWHERE, hostAllowed, hostBearingUrl, normalizeHost, scopeFor, targetUrl, targetsAnotherTab, urlPayloadBytes } from './scope';
export type { NavigationTarget, Scope, ScopeSeed } from './scope';
export {
CAPTCHA_ACTION,
CONDITIONS,
DEFAULT_RULES,
DOWNLOAD_ACTION,
EXTRACT_ACTION,
INJECT_ACTION,
POLICY,
RUN_CODE_ACTION,
SUBMIT_ACTION,
UPLOAD_ACTION,
policyFrom,
submitsForm,
} from './policy';
export type { Caller, Condition, ConditionName, Effect, FencePolicy, GuardrailConfig, GuardrailRequest, Policy, Rule } from './policy';
export { DECLINED_MESSAGE, blocked, decide, declined, describe, summary, unanswered } from './decide';
export type { Decision } from './decide';
export { FENCE_NOTE, IMAGE_NOTE, fence, fenceTag, shouldFence } from './fence';
export { sealSecrets, sealSecretsIn, sealingStream } from './secrets';
export { guardrailSettings, settingWritable } from './settings';
export { CONTAINMENT, describeContainment, sealEnv, sealedAway, vetPlan } from './spawn';
export type { LocalTools, SpawnMode, SpawnPlan } from './spawn';