DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to route Jev calls through an OpenRouter key with Jevcore

Point the jevcore-dsh plugin at OpenRouter when a TypeSafe key is impractical.

Short answer: Store your OpenRouter key in the environment variable OPENROUTER_API_KEY, without writing it into the configuration; then set provider to openrouter and openRouterApiKeyRef to OPENROUTER_API_KEY in the jev plugin config; set model to jev-latest, or to a versioned id such as typesafe/jev-1.13, since typesafe/jev-latest is not accepted. All steps.

Credentials. The OpenRouter key must stay in the environment or the credential service, because the README says the key is never logged or written to configuration, and a leaked key bills your OpenRouter account.

Credentials. Your state is sent to OpenRouter, a third party with different retention and logging, so do not route tickets or other sensitive state there without checking that third party's terms.

Who it is forA DeepSeek Harness user with an OpenRouter key who cannot get a TypeSafe key and accepts a different third party receiving the state.

The problemChoosing a live route changes where the state goes, and the destination is not obvious from the provider name.

The outcomeJev answers come from the System One models through OpenRouter, with the endpoint named in the startup report and a cost recorded in usage.

What you need first

  • Node 20 or later for jevcore and jevcore-mcp, or Node ^22.19.0 or >=24.0.0 for jevcore-dsh
  • A local checkout of the repo for the DeepSeek Harness install path
  • DeepSeek Harness, if you use the plugin or the gates
  • A TypeSafe or OpenRouter key only if you choose a live route; the default is the offline mock

Steps

  1. Store your OpenRouter key in the environment variable OPENROUTER_API_KEY, without writing it into the configuration.
  2. Set provider to openrouter and openRouterApiKeyRef to OPENROUTER_API_KEY in the jev plugin config.
  3. Set model to jev-latest, or to a versioned id such as typesafe/jev-1.13, since typesafe/jev-latest is not accepted.
  4. Restart and read the startup report, confirming it names https://openrouter.ai/api as the endpoint and egress=ON.

Prompt for your agent

In the PerryLink/jevcore repo, configure the jevcore-dsh plugin with provider openrouter, openRouterApiKeyRef OPENROUTER_API_KEY, and model jev-latest. Expected output: a startup report naming the openrouter.ai endpoint. Verify that the report lists which state fields are sent before any live call is made.

Caveat. A model id that is not a System One id is refused before the call, so an arbitrary chat model name in the config will fail rather than return a usable answer.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for PerryLink/jevcore and "Route Jev calls through an OpenRouter key"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer