Translator Starter

Paste text, get it back in TARGET_LANGUAGE. Instructions-only — the entire product is the prompt.

View GitHub
Version
1.0.0
License
MIT
Category
Starters
Authored files
11
Shadcn Icon

Install with shadcn

Drops the full agent into your Eve project — same CLI as UI blocks.

First time? Add the @evedirectory registry

Or paste the URL template into components.json under registries. See the install guide.

Raw item: /r/translator-starter.json

Filesystem

Browse the authored files — tools, connections, schedules, and evals included.

README.mdmarkdown
# Translator StarterPaste text, get it back in your target language. Instructions-only — no tools, no channels required (uses the default eve HTTP / dev chat surface).One env var (`TARGET_LANGUAGE`). Demos: instructions as the entire product.## Layout```texttranslator-starter/├── package.json├── agent/│   ├── agent.ts│   └── instructions.ts   # ← TARGET_LANGUAGE baked in at compile time├── evals/```## Run```bashnpm installnpm run dev```Type any English sentence in the dev terminal; the reply is Spanish by default. Change language:```bashTARGET_LANGUAGE=French npm run dev```## Make it yoursSet `TARGET_LANGUAGE`, or edit `agent/instructions.ts` for tone rules (formal, slang, preserve brand names, etc.).## Verify```bashnpm run eval```## LicenseMIT

Set up integrations

Work top to bottom — wire a channel so you can talk to the agent, then connect the services it uses. Every step is here; no need to leave the directory.

Channels

1

Where the agent listens and replies. Wire at least one channel first so you can talk to it.

Web Chat

Embed a first-party web chat UI backed by your agent.

Install

The eve CLI scaffolds the full Next.js web chat app alongside `agent/channels/eve.ts`:

eve channels add web

To wire it up by hand instead, install the framework:

npm install eve@latest

Quick start

The eve channel is on by default. Add `agent/channels/eve.ts` only when you want to override the default session routes or auth:

// agent/channels/eve.tsimport { eveChannel } from "eve/channels/eve";export default eveChannel();

Point your frontend at the session routes eve serves (`/eve/v1/session`) and stream responses with the eve web client.

Configure

The eve channel is the lowest-friction way to talk to your agent, with no third-party provisioning required. Layer in auth and route protection as needed. See the eve channel docs and the Frontend guide.