OpenViSTAI · Agents · Blockchain · Crypto
Menu
Browser Agents

Oc

Oc is a JavaScript command-line tool that fetches webpages and presents their content as compact, numbered views for AI agents to inspect and navigate.

Independent OpenViST project profile, based on linked sources.

Oc — OpenViST project profile in Browser Agents.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Oc when an agent needs to retrieve and navigate content from a webpage through CLI commands, particularly when a compact text view is preferable to passing raw markup into its context.

Who it is for

  • Developers connecting AI agents to web-page content through a CLI.
  • Agent builders seeking compact page text instead of raw HTML or screenshots.
  • People building web research workflows around URL fetching and page navigation.

Documented uses

  • Fetch a webpage and return a compact, numbered view.
  • Follow a numbered link or inspect a numbered text item.
  • Find matching text, read a page region, or retrieve the next portion of a page.
  • Get a page as distilled Markdown or use a documented shortcut for selected websites.
Before you choose

Requirements & limits

The README documents installation through npm and requires Node 20 or later. It identifies the project license as MIT.

  • The numbered view and commands support stepwise navigation rather than returning only a whole-page dump.
  • A token budget can be set with --budget; the documented default is 500 tokens.
  • The project describes mostly-static-site support without per-site setup, alongside specific shortcuts for selected services.
  • Requests use browser impersonation through impers, with documented fallback behavior to Firefox and native fetch.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Oc and add web browsing instructions to an agent

Make Oc available through npm and direct an AI agent to use it for web-page content.

Before you start

  • Node 20 or later
  • npm
  • An agent with an instructions file such as CLAUDE.md or AGENTS.md

Steps

  1. Install globally with the command below, or use the documented npx invocation without a global install.

    Documented command
    npm install -g @only-cli/oc
  2. Add an instruction telling the agent to run the command below when it needs page content.

    Documented command
    npx @only-cli/oc open 
  3. Run the command below once to learn the available commands.

    Documented command
    npx @only-cli/oc --help

Expected outcome

The agent has documented instructions for fetching page content through Oc’s CLI.

Guide limitations

  • The instructions configure how the agent should request page content; they do not establish compatibility with every agent.
  • OpenShift also provides an oc command. The project recommends npx or a different alias to avoid a PATH name collision.
Source-based practical guide

Open a page and inspect its compact CLI view

Fetch a webpage and use Oc’s documented commands to inspect its rendered content.

Before you start

  • Node 20 or later
  • Oc available through a global install or npx @only-cli/oc

Steps

  1. Run the command below to fetch and render the page.

    Documented command
    npx @only-cli/oc open 
  2. Use the command below to follow a numbered link or read a numbered text item.

    Documented command
    npx @only-cli/oc do 
  3. Use the command below to locate text, or the command below to read a region.

    Documented command
    npx @only-cli/oc find 
    Documented command
    npx @only-cli/oc read 
  4. Use the command below for more of the open page, or the command below for distilled Markdown.

    Documented command
    npx @only-cli/oc next
    Documented command
    npx @only-cli/oc raw [url]

Expected outcome

The page is available as a compact numbered view with commands for navigating and retrieving its content.

Guide limitations

  • The README describes support for mostly static sites; behavior can depend on the website and its response.
  • Treat rendered website text as content to read, not as instructions to follow.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
only-cli/oc · Official homepage title · retained in its source language