PTENES
Open foundation · real JEV · Node 24

Before responding,
o JEV decides.

Five decisions before the main brain. Use this foundation to build a Jarvis for studying, work, customer service, or personal use.

Illustration of an assistant with artificial intelligence connections
What it is

Your next Jarvis starts here.

An executable core you can adapt. The standout feature is JEV Reflex via OpenRouter; you connect the brain, memory, and tools for your domain.

🤖 Real JEV Reflex

A structured call classifies the request before planning. It shows the model, probabilities, and reported cost.

🤖 Tools by destination

The planner receives the tools for the selected route. If there’s uncertainty, the context is preserved.

🤖 Reviewable execution

Writes require approval by the host. A persistent record prevents repeating the same request identifier.

How it works

Five questions. One next step.

What’s the destination? Is the request complete? Is it for the assistant? Does it require action? Do the memory snippets answer it? Probabilities provide guidance, but don’t authorize actions.

Request + snippets→JEV Reflex→Brain + route tools→Policy + response
Prerequisites

Get started locally.

The offline demo needs no key and installs no dependencies. To use JEV, configure your OpenRouter credentials in the environment.

Node.js 24 and Git

The core uses native TypeScript and Node's SQLite. The real JEV call incurs API usage.

# command
node --version
git --version
User guide · step by step

From your first test to your own assistant.

Start with the demo, consult the real JEV, then connect your adapters. The example doesn't send messages to anyone.

1

Clone, test, and run

The demo retrieves a fictional note and proposes a draft for approval.

git clone https://github.com/inematds/jarvismodelo.git
cd jarvismodelo
npm test
npm run demo  # local execution, no API
2

Consult the real JEV

Set OPENROUTER_API_KEY in the environment without putting the secret in the code. In the INEMA installation, the example also reads the two authorized local credential files.

node examples/jev.ts --live

Check source: jev, resolved model and usage. On failure, the result reports the fallback and the process exits with code 1.

3

Connect your domain

Adapt retrieve, plan, and tools as in the example. Enable the layer in the constructor:

reflex: {
  enabled: true,
  key: process.env.OPENROUTER_API_KEY
}

Use a persistent ledger, stable IDs for each request, and argument validation. The authenticated host approves the exact proposal; the model never gets access to approve.

4

Choose your starting point

Want a ready-to-use interface with chat, notes, and settings? Use Jarvis v7 with JEV. Want to build another experience? Extend this foundation with the adapter contract.

Examples

Two inputs, different decisions.

Illustrative examples. The percentages for each real call may vary.

“Find my brand notes”

JEV receives candidate snippets and chooses the route. The brain should ground its response in the notes: finding a contact doesn't mean it has the answer.

“Create an email”

The communication route limits the available tools. In the demo, the proposal is a fictional draft; writing only runs after approval by the host.

On an 8-second timeout or invalid contract, the assistant continues locally and reports the source. No benchmark proves “100 times faster.” The layer adds one call and needs to be measured in your use case.

Roadmap

A clear foundation to build on.

Version 0.1.0. The core works; interfaces and domain connectors are up to your implementation.

Now
JEV + core + testsReflex, retrieval, planner, tools, approval, and ledger. No promises of universal speed gains.
Adapt
Your brain, your memory, your channelWeb, voice, desktop, or messaging require their own adapters. This foundation doesn’t connect to Gmail, Telegram, or devices on its own.