DEV Community

Cover image for How to Create an AI Agent using Vercel Eve
Mahesh
Mahesh

Posted on

How to Create an AI Agent using Vercel Eve

Vercel has created an AI agent development framework to support building agents. This framework works similar to Google's agent development kit that has web module.

So if you wish to create an agent that works on Vercel's stack, then Eve framework would be a good starting point. By default it has a decent UI too which makes running even simple web based agents easier.

You can also combine Google ADK with Vercel Eve and build lot more powerful and autonomous agents.

Take a look at the example below that I created using Vercel's Eve where I created AI agent with nutritional analysis from FDA.

What does this AI Agent do?

  1. It has some pre-filled queries that answer your queries based on the respective queries.
  2. It can make fresh queries to USDA's API and fetch the health and calories specific information.
  3. You can also additionally use AI SDK and fetch different set of providers.

In the process I also created an ADK router that covers most of the providers from the LiteLM's list. The repository ADKrouter has the options for both Python and typescript. It's Apache licensed so feel free to use it any way you please.

Do note that there are plenty of OpenAI compatible API inference services. Take example of Openrouter which is a famous one. It can be used with the Free models from their offering to work with this agent. I did exactly that.

You can check out my video above and let me know if you find that useful.

How does the final process looks like? Agent has this sort of result I have produced.

ai-agent-eve-framework-devnami

Top comments (0)