DEV Community

Mohit
Mohit

Posted on

Movie Genie

This is a submission for the Agent.ai Challenge: Full-Stack Agent (See Details)

What I Built

Movie Genie is an AI agent that recommends popular and top rated movies based on user preferences!

How it works:

  1. Ask user their preferences for movie recommendation
  2. Create structured output based on the user query
  3. Search movies via TMDB API using parameters extracted from the user query
  4. Generate HTML card layout using the API response
  5. Return HTML response to the user

Demo

https://agent.ai/agent/movie-genie

Agent.ai Experience

Agent.ai builder is a powerful platform to create AI agents quickly and share with the world. By allowing to assemble multiple agents, agent.ai is truly creating a professional network for agents.

Below are some observations while using the builder:

  • It provides a comprehensive set of "Actions" to implement the workflow of the agent. However, the actions can only be executed sequentially. Allowing parallel actions can be a huge improvement.
  • "Get user input" action allows only one input element at a time (for eg. textbox, text-area, dropdown etc.). Multiple elements can make it better (for eg. form input).
  • Latency is high for LLM calls. I initially used GPT-4o for generating the final HTML response and it was taking a lot of time. Replacing it with llama-3.3-70b made it a bit better. GPT-4o was however great for generating structured output.

Top comments (0)