Let YourAI AgentInteract With YourWebsite

Go beyond conversation. Enable your AI agents to navigate pages, open modals, complete actions, read application data, and control your web experience in real time.

What are Web Tools?

Give Your AI Agent Hands-On Control

Web Tools allow Hamsa AI Agents to interact directly with your web application through JavaScript functions running inside the user's browser. Instead of simply answering questions, your agent can perform real actions exactly as a human user would. This capability is available when deploying agents through the Hamsa Voice Agents SDK.

Why It Matters

AI That Doesn't Just Talk. It Acts

Traditional conversational AI ends with an answer. Hamsa Web Tools enable your agent to complete the user's journey by interacting with your application's interface in real time. Whether it's guiding a customer, completing a workflow, or retrieving live information, your AI becomes an active participant inside your product.

What Your Agent Can Do

Navigate Users

Take users directly to the page they need.

  • Product pages
  • Checkout
  • Dashboard sections
  • Settings
  • Help center

Open UI Components

Interact with your application's interface.

  • Popups
  • Modals
  • Side panels
  • Dialogs
  • Menus

Interact With The Page

Execute real user actions.

  • Scroll to sections
  • Highlight content
  • Fill forms
  • Click buttons
  • Update fields

Read Live Application Data

Access information already available inside your application.

  • Shopping cart
  • Current URL
  • User selections
  • Form values
  • Browser storage

Trigger Client-Side Logic

Execute JavaScript functions already built into your application.

  • Analytics
  • Custom workflows
  • Browser APIs
  • Local storage
  • IndexedDB
Built For Modern AI Experiences

Connect Conversation With Action

Instead of forcing users to manually complete every step, Hamsa agents can trigger actions exactly when needed. Examples include:

Showing recommended products during a conversation
Opening checkout after purchase confirmation
Displaying order details instantly
Navigating users through onboarding
Launching support forms automatically
Personalizing the interface based on conversation context

How It Works

1 User Speaks
2 Agent Understands Intent
3 Web Tool Executes
4 Your Website Responds
5 Agent Continues The Conversation

This seamless flow allows the conversation and your application to work together as one experience.

Flexible Responses

Return Exactly What Your Agent Needs

Web Tools support both simple and structured responses.

String Responses

Perfect for confirmations and conversational feedback.

"Your order has been submitted successfully."

JSON Responses

Return structured data your agent can immediately use.

  • Product details
  • Availability
  • Prices
  • User information
  • Application state

Flow Agents can map these values into variables and use them to drive conversation logic, while Single Prompt Agents naturally interpret the returned data within the conversation.

Built For Every Experience

E-Commerce

Guide customers through products and checkout.

SaaS Platforms

Navigate dashboards and configure settings.

Banking

Display account information securely.

Healthcare

Guide appointment booking workflows.

Government

Help citizens complete digital services.

Education

Navigate courses and student portals.

Build InteractiveAI Experiences

Connect your AI agent directly to your web application and deliver conversations that take action. Start building with Hamsa today.