A Next.js web interface for the open SurferH web agent, an autonomous web agent powered by Holo-1 that can navigate and interact with websites to accomplish real-world tasks.
- Task Creation: Simply describe what you want to accomplish in natural language
- Real-time Monitoring: Watch your agent complete tasks through the Surfer View
- Trajectory Management: View, replay, and manage automated browsing sequences
- Settings Configuration: Customize agent behavior, target URLs, and execution parameters
- Example Tasks: Get started quickly with pre-configured example prompts
- Node.js 18+ - Download from nodejs.org
- npm (comes with Node.js) or yarn or pnpm
- Python 3.11+ - Required for the backend
- uv - Python package manager (Install instructions)
The easiest way to start both the backend and frontend is to run from the root directory:
./launch.shThis will automatically start both the Surfer-H backend and the Next.js frontend.
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev- Open http://localhost:3000 in your browser
-
Create a Task: Enter a natural language description of what you want to accomplish
- Example: "Explore H Company's website to discover their recent blog posts, click on the latest post and read to the bottom of the page. Summarize the interesting findings and explain why they're significant for the AI and automation industry."
-
Configure Settings: Set your target URL and adjust agent parameters
-
Start Browsing: Launch the agent and watch it work in real-time
-
Monitor Progress: Use the Surfer View to see exactly what the agent is doing
The interface includes several example tasks to get you started:
- Finding recipes with specific criteria
- Searching for products on e-commerce sites
- Booking travel arrangements
- Checking weather forecasts
This frontend is built with:
- Next.js 15 - React framework with App Router
- React 19 - Latest React with concurrent features
- TypeScript - Type-safe development
- Tailwind CSS v4 - Latest utility-first CSS framework
- shadcn/ui - Modern component library built on Radix UI
- TanStack React Query v5 - Server state management
The frontend communicates with the Surfer-H backend through REST endpoints:
/api/trajectories- Manage task execution/api/trajectory-events- Real-time task monitoring
src/
├── app/ # Next.js app router pages
├── components/ # React components
│ ├── Home/ # Homepage components
│ ├── SurferH/ # Agent monitoring components
│ └── common/ # Shared UI components
├── hooks/ # Custom React hooks
├── providers/ # Context providers
└── utils.ts # Utility functions
- Homepage: Task creation and example prompts
- SurferView: Real-time agent monitoring
- CreateTrajectoryInputArea: Task input and settings
- EventStream: Live task progress updates
See the main project LICENSE file for details.
