pi-open-browser

A pi extension to open URLs in the user's default browser

Package details

extension

Install pi-open-browser from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-open-browser
Package
pi-open-browser
Version
0.0.0
Published
Apr 11, 2026
Downloads
130/mo · 9/wk
Author
richardanaya
License
MIT
Types
extension
Size
4 KB
Dependencies
1 dependency · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-open-browser

A pi extension that opens URLs in the user's default browser.

Installation

Install in pi:

pi packages install pi-open-browser

Usage

The plugin adds a show_user_in_browser tool that can be used to open any URL in the user's default browser.

The tool is automatically invoked when the user asks to:

  • "Show me this in a browser"
  • "Open this URL in my browser"
  • "View this webpage"
  • Any similar request to see something in a browser

Tool: show_user_in_browser

Parameters:

  • url (string, required): The URL to open in the browser

Example:

User: "Show me https://example.com in my browser"
→ Tool opens example.com in the default browser

Security

  • Only http: and https: URLs are allowed
  • Invalid URLs will throw an error
  • Uses the system's default browser

License

MIT