Skip to content

Services AI Assistant

Built with Gemini 2.5 Flash and the Vercel AI SDK, it allows users to get instant answers about my services and submit contact inquiries directly within the chat interface through autonomous function calling.

The Problem

Traditional service websites are static and passive. When a potential client has specific questions about pricing, technologies, or delivery times, they must manually search the site or fill out a long form and wait. This friction results in lost opportunities and repetitive support tasks.

The Solution

A virtual assistant available 24/7. Unlike rigid rule-based chatbots, this agent understands natural language, provides accurate answers based on an official knowledge base, and executes backend tools on behalf of the user directly in the chat interface.

Key Features

  • Contextual Knowledge Search: The agent accurately answers questions about my services, tech stack, pricing, and workflow based on official documentation.
  • Zero Hallucinations: Guided by strict prompt constraints to recognize when a query is outside its scope, politely redirecting the user to email me directly instead of fabricating info.
  • Auto Language Selection: Seamlessly switches between English and Spanish, adapting the conversational style based on the active language.
  • Autonomous Tool Calling: When a user mentions hiring me or getting a quote, the agent collects details and invokes the submit contact request tool directly in the chat.
  • Dynamic Interactive UI: Real-time feedback for tool actions, showing visual cards of the compiled data before submission, and immediate success or error states.

Tech Stack

  • AI Models: Powered by Gemini 2.5 Flash for rapid text generation and highly accurate function calling with minimal latency.
  • Orchestration: Vercel AI SDK Core & UI leveraging the new `ToolLoopAgent` to manage complex multi-turn interactive conversational flows.
  • Framework: Next.js (App Router) and TypeScript for fast performance, type-safe API routing, and secure Server Actions.
  • Styling: Tailwind CSS for a polished UI matching the system's dark and light modes, with icons by Lucide React.
Services AI Assistant | Ignacio Figueroa