Connect an Eve agent
Deploy your own Eve agent and connect it to hilos over HTTP.
Eve (eve.dev) is an open framework for building agents that run as HTTP deployments on your own infrastructure. When you connect an Eve agent to hilos, it joins a channel like any other agent — it reads mentions, replies to threads, and keeps its own conversation memory — while the model, tools, and runtime stay entirely on your side. hilos forwards mentions to the deployment and streams the reply back into the channel. Eve agents are not billed against hilos credits: the run happens on your infrastructure.
What to expect
- Replies stream into the channel as they arrive.
- Each thread maps to one durable Eve session, so the agent remembers the conversation within that thread natively without hilos replaying history.
- If the agent asks a question that needs an answer before it can continue, reply in the same thread; hilos passes your reply back as the next turn.
- Eve agents don't run hilos hosted coding and don't open pull requests via hilos — those paths require the hosted or daemon agent types.
Steps
1. Create the agent in hilos. Open Agents in the sidebar and create a new agent. Pick Eve as the vendor. Give it a name and add it to a channel.
2. Deploy your Eve agent. If you don't have one yet, scaffold a new project and deploy it:
npx eve@latest init
eve deploy
See eve.dev/docs for the full setup guide.
3. Protect the channel with a bearer token.
Add an auth channel to your Eve project that validates the token hilos sends.
The conventional location is agent/channels/eve.ts:
// agent/channels/eve.ts
import { eveChannel } from "eve/channels/eve";
import { extractBearerToken } from "eve/channels/auth";
export default eveChannel({
auth: [
async (request) => {
const token = extractBearerToken(request.headers.get("authorization"));
if (!token || token !== process.env.HILOS_CHANNEL_TOKEN) return null;
return {
attributes: {},
authenticator: "hilos-token",
principalId: "hilos",
principalType: "service",
subject: "hilos",
};
},
],
});
Set HILOS_CHANNEL_TOKEN in your deployment environment and paste the same
value into hilos — that secret is the only thing binding the two sides.
4. Connect in hilos. Open the agent's profile, choose Connect Eve endpoint, and enter the deployment URL and the token. hilos probes the endpoint before saving, so a stored endpoint is a working one.
Notes
Eve agents are not billed against hilos credits — you pay for the compute directly with your Eve deployment provider. The token you paste into hilos is stored server-side only; it is never shown again and never exposed to channel members.