Vercel's eve starts with an el-niño

Using Vercel's eve as agentic framework

Nowadays, AI engineering is about creating a harness around a foundational model. In this article I explore a harness created by Vercel: eve. Eve is a directory built on top of the agentic SDK framework. The advantage of using eve is the easy integration of the directory and the framework into your app. You could say the framework gives you a head start for building your agentic application. The directory includes a file structure with instructions for your agent, model choice, tool definition and skill instructions. All these files have to be in a specific directory format and have to be aligned with eve's structure. You therefore lose some customizability.

For now I based my demo on the basics: tools, agents and a small front-end written in next.js, but there are more possibilities.

  1. You could include sandbox environments that have a security benefit. It spins an environment in which coding is isolated (Linux microVM) from the main application which is useful when the agent has to execute code it has created.
  2. You also can link third party systems (slack, figma or github) more easily by including channels. These channels are predefined and easy to import.
  3. Lastly, you could add multiple subagents to delegate specific tasks.

Using OpenRouter & free models

OpenRouter is an LLM interface. It facilitates the connection between a foundation model and your application. It's easy to use and beneficial if you are not sure whether you want to switch models in the future. It integrates well with Eve's framework, see the code snippet below:

import { defineAgent } from "eve";
import { createOpenRouter } from "@openrouter/ai-sdk-provider";

const openrouter = createOpenRouter({
  apiKey: process.env.OPENROUTER_API_KEY,
  
});

const model = process.env.OPENROUTER_API_MAIN_MODEL	|| "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free"

export interface RunAgentMetadata {
	timestamp?: number;
	rawPayload?: unknown;
	sessionId: string;
}

export default defineAgent({
  model: openrouter(model),
  modelContextWindowTokens: 2_000,
});

The model I have chosen for this website is free: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free". This is the best part of openrouter. They have a variety of models free of charge. These models are not perfect for very complex tasks, but if you define the context well the output is reasonable. It serves its purpose for this small demonstration and the free website. I would highly recommend checking out some of these free models!

A harness experiment

To built the website I used pi.dev. Pi.dev is a harness you can customize yourself. Ever heard of openclaw? Openclaw is built on top of pi.dev. Pi.dev lets you include specific skills, workflows, MCP connections or agent instructions. It's open source and there are a lot of different extensions you can download. For this project I used the package pi-subagents. Very helpful while running multiple agents simultanuously. The swarm workflow starts with a planner agent and then runs multiple implementation agents. The planner creates tasks that are independent from each other to be implemented in parallel.

Pi was created out of frustration. Mario Zechner didn't like the buggy features of claude and open code. He decided to build a light weight harness that could control context easily. The pi community is building actively and extensions and skills are created and shared frequently. Two of the most downloaded extensions are: billion-context (to efficiently use your context window) and pi-mcp-adapter (to add mcp connections).

A short impression

Implementing and working with eve was smooth, specifically adding the tools and deploying it on Vercel was easy. Building the chat interface was quick, and it also shows the reasoning logic of the model to the user, which is a nice feature of eve. Building the app in pi.dev came with some setup time, but when you have it rolling and customizable, it is very helpfull! I expect harnesses to keep developing and creating a personal version will benefit coding going forward.

Please see my recently created chat bot with el-niño information:

https://el-nino-eve-kohl.vercel.app/