How to build a website AI agent with Claude that qualifies leads and books meetings A developer has published a hands-on guide for building a website AI agent with Anthropic's Claude that qualifies leads and books meetings, using the Python SDK's @beta_tool decorator to expose calendar and CRM functions as strictly typed tools. The design keeps API keys and credentials server-side, constrains the agent with a short system prompt of explicit rules, and restricts booking to slots the agent itself offered via check_availability. Most chat bubbles on company websites are a FAQ page with a speech balloon. They match keywords, show a canned answer, and hand you a form. A website AI agent is different. It reads what the visitor actually asked, answers it, asks the questions a good salesperson would ask, and books a call straight into the calendar when the visitor fits. Here is how I build one with Claude, with code you can run. A website AI agent is a language model with three things: a clear goal, a small set of tools, and rules for what it may do. The goal is usually to find out whether the visitor fits your services. The tools are your calendar and your CRM. The rules are what make it a colleague and not a liability. Keep it boring. The browser never talks to the model directly. The API key never reaches the browser. Neither do your calendar or CRM credentials. The prompt states the goal, describes a good fit, and lists the rules. Short and specific beats long and vague. SYSTEM = """You are the website agent for Northwind Studio, a design agency. Your goal: help visitors, and book a call with the ones who fit. A good fit: a company with 10 to 200 employees that needs a new website or brand. Rules: - Answer the visitor's question before you ask one of your own. - Ask one question at a time. Never send a list of questions. - Find out the visitor's role, company size and the problem they want solved. - Quote only the prices in