Skip to main content

Quickstart

Run Eve locally, check which tools are discovered, and try the section gate.
2 min read

Eve runs inside the Next app process (withEve in apps/app/next.config.ts), but it has its own dev server for iterating on the agent.

Clone and env setup: Local development.

Start the Go API

Eve does not talk to Postgres: each tool calls the Go API with the user's session token.

Without this, tools return network errors and the chat still replies, but it cannot read or write anything.

Start the app

The Eve channel is mounted at /eve/v1/* on the same origin.

Check which tools are discovered

eve info prints the discovered surface. It is the fastest way to confirm that a new file in agent/tools/ was registered and under which name.

Verify that tools survive a replay

Required before considering any new tool done. Explained in Add a tool.

Try the section gate#

The number of tools Eve sees depends on the member. To see it:

  1. Open the profile with two members.
  2. Remove the finance section from one of them in profile settings.
  3. With that user, ask in chat about their accounts.

Eve must reply that the section is not enabled for that member, not that Agata has no finance. If it says the latter, the problem is in agent/instructions/20-sections.ts, not in the gate.

Verify an approval#

Tools that move money or delete data stop and wait for a person.

  1. With a user who has finance, ask to log an expense.
  2. The tool card should stay on Waiting for approval, with Approve / Deny buttons.
  3. Denying leaves the transaction uncreated.

Also check that a second credit is not charged when responding: GET /api/profiles/:id/agent-credits before and after. Resuming an approval continues the already-paid turn.

Environment variables#

VariableUse
GO_API_URLGo API base. Defaults to http://localhost:8080.
BETTER_AUTH_URLOrigin used to resolve the Better Auth session. Falls back to the request origin.
EVE_EVAL_FIXTURELocal evals only. See Evals. Never in a deployed environment.

See Configuration → App for the rest.