Inspiration

AI chatbots can tell you how to do something on the web, but you still have to do it yourself. I wanted a browser where the AI actually clicks, types and fills in forms in my real tabs, with my real logins, while I see every step and can stop it whenever I want.

Who it's for

Students and everyday computer users who spend hours on repetitive web tasks: checking homework portals, filling in forms, researching, studying. It's also for people on low-power laptops like Chromebooks who want one app instead of a browser plus a separate AI chat.

What it does

  • A full browser. Tabs, vertical tabs, split view, spaces, history, bookmarks, downloads, a command palette (Ctrl+K), and bars that slide away when you don't need them.
  • Ghost-Prime, the agent (Ctrl+E). You type a task and it works in your tabs. It clicks, types, scrolls, fills forms, uploads, downloads, and reads and summarises pages.
    • It has three modes: PLAN (it suggests steps), AUTO (it asks before risky steps) and FULL (fully automatic).
  • Safety.
    • Website text is marked as untrusted, so a page can't give the agent orders.
    • It asks before risky actions.
    • You can set your own permission rules.
    • Rewind and redo.
  • A chat per tab, and separate chats per profile.
  • It knows its own browser. Ask "how do I...?" and it looks up the answer in the built-in manual.
  • It can pace itself. "Wait 4 minutes, then check again" shows a countdown, and then it carries on by itself.
  • Show me. The AI explains something visually on screen while it talks.
  • Files and PDFs. Ctrl+O, drag in from the file manager, or "Open with" from Linux. PDFs open in a built-in editor where you can add text, draw, highlight, add pictures and fill in forms, then save.
  • Ghost Studio. A code editor with a terminal, git and the agent, plus a ghost command-line tool.
  • Claude can control it over MCP.
  • Extras. A ghost buddy on screen, voice input, study tutors (an exam simulator and "Explain it back"), incognito windows, Chromebook keys, and a floating Spotify player.

How the AI works

  • Model: Claude Opus 5.5 (claude-opus-5-5) by default, with Claude Sonnet 5.5 as the cheaper option. It can also run on Gemini, OpenAI, OpenRouter, Groq, Mistral, or Ollama on your own computer.
  • Method: a tool-using agent built with the Claude Agent SDK. The model sees the page, with screenshots and the page's structure, and calls browser tools: click, type, read page, screenshot, ghost_help (the built-in manual), pause_for (a timer) and more. Each result goes back to the model until the task is done.
  • Role of the AI: it plans the task, decides each action, reads the results, and explains what it did. The browser handles the safety side: approvals, marking page text as untrusted, and permission rules.

Sample inputs and outputs

  1. "Open my school's homework page, find what's due this week and list it." The agent opens the tab, reads the page, and replies with a checklist of tasks and due dates, with a link to each one.
  2. "How do I make the tabs vertical?" It looks it up in the built-in manual: "Press Ctrl+Shift+, or Ctrl+K -> Vertical tabs."
  3. "Check this page again in 4 minutes and tell me if it changed." A countdown card appears. After 4 minutes it reloads the page and reports what changed.
  4. "Open report.pdf and add 'Signed by me' at the bottom." The PDF opens in the editor, and the agent adds the text and saves the file.

How I built it

  • Stack: Electron (castlabs v44), Node.js, plain HTML/CSS/JavaScript.
  • AI: the Claude Agent SDK and the Anthropic SDK.
  • Testing and automation: Playwright.
  • Libraries: pdf.js (Mozilla, Apache-2.0) for the PDF editor, Zod for tool definitions.
  • Size: about 77,000 lines across 414 source files, with 116 test files.

What existed before vs. what I built during the event

Pre-existing (before Nov 5, 2026):

  • The core Ghost-Prime Browser: tabs, the agent sidebar, browser tools, safety and permission rules, the ghost buddy, study tutors, Ghost Render.
  • Outside components I didn't write: Electron, Chromium, Playwright, pdf.js, the Claude Agent SDK.

Built during AI OpenBuild (Nov 5 - Dec 10, 2026):

  • Claude can control the browser over MCP
  • Agent modes PLAN / AUTO / FULL
  • Ghost Studio (code editor, terminal, git, agent) and the ghost CLI
  • The ghost living inside the app; it tells you about downloads and tab crashes
  • Incognito windows and Chromebook keys
  • Show me: the AI explains something visually while it talks
  • A chat per tab; separate chats per profile
  • Auto-hiding bars that slide over the page; floating Spotify player
  • Faster startup
  • The agent knows its own browser (ghost_help reads the built-in manual)
  • The agent can pause itself and continue later
  • Opening files, a PDF editor, and drag-and-drop from Linux

AI assistance (disclosure)

I came up with the ideas, designed the features, directed the work, and tested everything. Most of the code was written with Claude Code (Anthropic's AI coding assistant), and I reviewed and tested it.

How I tested it

  • 116 test files. Most features have an end-to-end test that launches the real app on a virtual screen, offline, with a throwaway profile, and checks the result.
    • Example: the PDF test opens a PDF, adds text with the Text tool, saves it, and checks that the saved file actually contains the new text.
    • Other tests check the agent's tools, the timer, separate chats per profile, the auto-hiding bars, and that pages can't give the agent orders.
  • GitHub CI runs the unit tests on every push.
  • I use the browser every day on my Chromebook.

Limitations and failure cases

  • Lost clicks with auto-hide. When the bars slide over the page, clicks sometimes don't reach the page. Web pages are drawn above the app's own interface, so I cover the page with a still screenshot and pass clicks through. It's better but not fully fixed.
  • Untrusted page text. Early on, the agent's own tool results were wrongly marked as untrusted website text, which confused it. I fixed it with a list of trusted tools, and a test checks it.
  • Speed. On a Chromebook, animations that never stopped kept 2-4 CPU cores busy. I measured it and I'm cutting them back.
  • Not tested yet: password-protected PDFs, and the Windows build.
  • Needs an AI account. The agent needs a Claude login, an API key, or a free local model through Ollama.

Challenges

  • Making overlays work when web pages sit above the app's own interface in Electron.
  • Keeping the agent safe from instructions hidden in websites (prompt injection).
  • Making it fast enough for a Chromebook.

What I'm proud of

It's a real browser I use every day, the agent does real tasks in my real tabs, and almost every feature has a test that launches the whole app to check it.

What I learned

How Electron works inside, how AI agents use tools, how to defend against prompt injection, and how to write automated end-to-end tests.

What's next

Fix the lost-clicks bug, make startup faster, support password-protected PDFs, and finish the Windows build.

Team

Solo. Idea, design, direction, testing.

Built With

Share this project:

Updates

Submission history