Перейти к основному содержимому

v1.4 — Agent

Testing Phase

v1.4 is currently still in a testing phase; the following features and APIs may change before the official release. Feedback from trying it out is welcome.

v1.4 is a major update for ScriptCat, introducing an all-new Agent system that lets users automate browser actions, extract web data, manage files, and run scheduled tasks through natural-language conversation.

Agent

A new Agent chat entry point has been added to the dashboard, where you can hold a multi-turn conversation with an AI model; the AI automatically calls built-in tools to complete tasks.

Core capabilities:

  • Multi-model support — OpenAI-compatible and native Anthropic formats, with Prompt Caching support
  • 11 built-in tools — web fetch/search, tab management, the OPFS file system, code execution, user interaction, and more
  • Skill system — packages of prompts + tool scripts + reference material that extend the Agent's domain knowledge
  • MCP integration — supports the Model Context Protocol to connect to external tool servers
  • DOM automation — page navigation, screenshots, clicking, filling, scrolling, script execution, and more
  • Scheduled tasks — Cron-expression-based task scheduling (Internal / Event modes)
  • Sub-agents — can spawn independent sub-agents to handle complex sub-tasks
  • Context management — Auto-compact and Prompt Caching to reduce token usage

Script API (CAT.agent.*):

User scripts can call Agent capabilities through the CAT.agent.* namespace, including the conversation, dom, skills, task, model, opfs, and mcp APIs. Each API requires the corresponding permission to be declared with @grant.

6 dashboard pages: Chat, Model Configuration, Skill Management, Scheduled Tasks, MCP Servers, and the OPFS Browser.

Support for the @unwrap Tag

Lets a script be injected directly into the page, bypassing the sandbox wrapper.

The window.onurlchange Event

Implements Tampermonkey-compatible URL-change event listening using the Navigation API.

Editor Improvements

Added an edit menu (find, replace, undo, etc.), and fixed several keyboard shortcut and hint issues.

Multi-platform Search Engines

Script discovery now supports choosing between different search engine platforms.

More Icon Providers

Added more script icon service providers.