A prompt for building a Jev-routed agent
A prompt to give Claude or Codex builds an agent that uses Jev to pick models by query difficulty, with the interface showing each routing choice as it happens.
Jev can be used as a model router. You can try this yourself using Claude or Codex... and build an agent with this single prompt using @eve by Vercel. With AI gateway you will get immediate access to every model. Use this prompt: --- I want you to build a new app that uses eve. I want to make an agent that can search the web, create files and anything else an agent might be able to do. use eve you should have vercel key. I want you to use jev by typesafe as a model router, make a model router for this. i want you to use it to select the best model for the job to save tokens and clearly show, as it's happening when jev chooses which model to use. read the docs for jev, and make it very effective, and test it and make refinements until it's fully ready. For simple queries it should use cheap models. For more complex queries it should use frontier models and have a scale in between for medium questions. make this then run it locally so i can test it. Make the wrapper beautiful and the main focus should be the inline jev selection, and how that selection was made. --- https://x.com/rileybrown/status/2100607709317861879/
This post quotes another post: “Video: building an agent with a Jev-powered model router”