Skip to content
madvillaxPublic

About

Evee finds relevant public conversations, explains the evidence, and drafts useful replies for human review. Evee operates exclusively through the authenticated web workspace. Evee never publishes a public reply on your behalf.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Evee

Evee finds relevant public conversations, explains the evidence, and drafts useful replies for human review. Evee operates exclusively through the authenticated web workspace. Evee never publishes a public reply on your behalf.

Stack

  • Next.js, React, and Tailwind for profiles, monitors, opportunities, settings, and Copilot
  • Node.js and Hono for Better Auth, workspace authorization, scans, feedback, and Copilot streaming
  • Vercel Eve for durable agent conversations, four specialists, and recurring scans
  • Direct Gemini model access through the AI SDK; Google Gen AI SDK for structured opportunity analysis
  • Turso and Drizzle for application data; npm workspaces and Turborepo

Mastra has been removed. LangGraph and LangChain are not dependencies. There are no active messaging bots or channel webhooks. Historical channel migrations and compatibility tables remain to preserve existing data.

Setup

Use Node.js 24 and npm 11+. From the repository root:

npm install
cp .env.example .env

Configure .env:

API_PORT=4000
API_INTERNAL_URL=http://localhost:4000
WEB_ORIGINS=http://localhost:3001
BETTER_AUTH_URL=http://localhost:3001
BETTER_AUTH_SECRET=replace-with-a-long-random-secret
GEMINI_API_KEY=your-google-ai-studio-key
GEMINI_MODEL=gemini-2.5-flash
TURSO_DATABASE_URL=file:local.db
TURSO_AUTH_TOKEN=
EVE_PORT=4001
EVE_INTERNAL_URL=http://localhost:4001
EVE_SERVICE_SECRET=replace-with-another-long-random-secret

Generate each secret separately with openssl rand -base64 32. The same EVE_SERVICE_SECRET must be present in Hono and Eve. It signs short-lived, server-generated workspace credentials; it is never sent to the browser.

Next.js and Hono must also share the same BETTER_AUTH_SECRET and database. Check apps/web/.env.local for overrides of the root .env: a different auth secret lets sign-in succeed in Hono, but the dashboard rejects its session cookie and redirects back to sign-in. Prefer keeping shared auth settings in the root .env; restart the services after changing them.

Apply migrations and start:

npm run db:migrate
npm run dev

This starts the web app on http://localhost:3001, Hono on http://localhost:4000, and Eve on http://localhost:4001. Create an account and complete your business profile. Use Scan now or the Copilot. Collected opportunities stay available in the web queue.

Agent layout

apps/api/                    authenticated Node + Hono API
apps/web/                    Next.js workspace
apps/worker/                 starts the Eve service through its supported CLI
packages/agents/
  agent/instructions.md      GTM coordinator behavior
  agent/agent.ts             Gemini model and session limits
  agent/channels/            protected web protocol
  agent/subagents/           intelligence, monitoring, automation, drafting
  agent/schedules/monitor.ts twenty-minute scan schedule
  src/                       scoped tools, web relay, monitoring service
packages/platform/           collectors, analysis, Drizzle, workspace services
packages/auth/               Better Auth

Eve owns durable session history and streaming. Hono resolves the web session and workspace, then uses the Eve client to continue a server-owned conversation. Every agent tool checks the caller's current workspace membership. Shell, file, and root-copy agent tools are disabled; each specialist gets only its own application tools.

The production scan schedule runs every twenty minutes for onboarded workspaces with monitoring enabled. It uses bounded concurrency, retries, and database claims. It writes opportunities to the queue; users review them in the web opportunity queue. eve dev does not run cron automatically. For local scans, use Scan now, the web Copilot, or the dev schedule endpoint described in the runtime notes.

Build and production

npm run typecheck
npm test
npm run build
npm run start          # Hono API
npm run start:web      # Next.js (separate process)
npm run worker         # built Eve service (separate process)

Build before starting the production worker. Set EVE_INTERNAL_URL to the private or public Eve origin accessible from Hono. Set API_INTERNAL_URL in Next.js to the Hono origin. Preserve exact authenticated web origins in WEB_ORIGINS and configure production Better Auth URLs and secrets.

Eve can run as a Node service or deploy independently to Vercel from packages/agents. For a Vercel-hosted service use a shared remote Turso database, set the same environment variables, and follow Eve's bundled deployment guide. No hosting deployment is performed by this migration.

For self-hosting, persist packages/agents/.eve/.workflow-data and forward both /eve/ and /.well-known/workflow/ through the reverse proxy without rewriting their paths. Schedules run when serving a production build with eve start, which npm run worker invokes. Just-bash provides portable virtual workspace storage; this agent does not expose shell or file tools.

Apply committed migrations before serving Copilot. Legacy chat-link tables are archived compatibility data and are never used for authentication or delivery. Old Mastra conversation history is not imported into Eve. Application profiles, monitors, opportunities, feedback, and authentication data remain in Turso.

About

Evee finds relevant public conversations, explains the evidence, and drafts useful replies for human review. Evee operates exclusively through the authenticated web workspace. Evee never publishes a public reply on your behalf.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages