AI companions are taking over… let’s build one

The video demonstrates building a personalized AI companion called the “Fireship bot” that interacts with viewers via phone calls to gather suggestions for future educational videos, using tools like Vapy for voice interaction, Astro for the app, and Terso Cloud for data storage. It highlights the integration of AI voice agents, cloud databases, and web frameworks to create an engaging, interactive experience while encouraging viewers to participate and experiment with AI technology.

The video opens with the creator admitting that the channel is now fully AI-generated, humorously describing how AI companions have become a common replacement for emotional support and relationships. The creator references recent developments in AI, such as the controversial deprecation of GPT-4 in favor of GPT-5, which caused disruption among users who had formed attachments to AI personas. The video also touches on Meta’s AI Studio, which allows anyone to create AI characters, and Elon Musk’s X AI project, which aims to create AI bots tailored to specific user fantasies. The creator then sets the stage for building a personalized AI companion modeled after himself.

The primary goal of the AI companion, dubbed the “Fireship bot,” is to address a frequent viewer request: more educational 100-second videos. The bot will allow users to call in and have a conversation about which technology topic they want to see covered next. The most popular suggestion will be turned into a video within a week. To build this, the creator outlines the necessary components: a database, an app, and a voice agent. For the database, Terso Cloud is chosen; for the app, Astro is used; and for the voice agent, the sponsor Vapy is selected due to its capabilities in handling natural phone conversations and integrating with APIs.

The video then dives into the technical setup of the AI assistant, named Jeff. Using Vapy, the creator configures Jeff with GPT-4 as the underlying model and connects it to a custom voice created via 11 Labs to sound like him. The assistant is programmed with system prompts to define its purpose and to extract relevant data from calls, such as the caller’s technology choice and name. Additionally, Jeff is equipped with an end-call tool that gracefully ends conversations with a convincing message, enhancing the illusion of a real interaction. To enable international calling, a Twilio phone number is integrated with the bot.

Next, the creator builds the supporting application using Astro. An API route is created to handle post-call data sent from Vapy, including validation to ensure requests are legitimate. The data from calls, such as summaries and technology choices, are parsed and saved into the Terso Cloud database. The creator also highlights a feature from Vapy that evaluates call success based on whether the caller provided a technology choice. The collected data is then displayed on the website through a list component that queries the database and renders the results dynamically, allowing viewers to see the most popular technology topics suggested by callers.

In conclusion, the video showcases a practical example of combining AI voice agents, cloud databases, and modern web frameworks to create an interactive AI companion that engages the audience in content creation. The creator encourages viewers to try calling the Fireship bot and participate in shaping future videos, while humorously reminding them that the AI is not a real person. The video ends with a shoutout to Vapy, the sponsor, offering viewers free credits to experiment with building their own AI agents, and invites everyone to follow along with the project’s progress on the Fireship channel.