DEV Community

Mohit
Mohit

Posted on

2 1 2 1 1

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.

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry đź•’

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

Best practices for optimal infrastructure performance with Magento

Running a Magento store? Struggling with performance bottlenecks? Join us and get actionable insights and real-world strategies to keep your store fast and reliable.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️