Skip to content
Taku Docs

Version 1.4.0 (current)

Decision models and Jev

A decision model judges whether to show a hint; the existing Agent takes over only after you tap it.

A decision model judges one thing: whether the current page is worth offering help on. It returns a structured answer, not a chat reply. When the answer is yes, the system shows a hint. The existing Agent takes over only after you tap it.

Decision models use the jev scene. The Jev decision model setting accepts any catalog model with kind: decision and saves your choice as the jev scene binding. Jev is TypeSafe AI's System One decision model and one of the available choices. It is not the main Agent; ordinary conversations keep using the main model selected under Model connections.

Developer preview

After you enable a decision model, hints do not yet appear automatically in everyday use. The automatic entry can currently be triggered only once at a time through a permission-protected development entry point. It does not intercept the physical power button or monitor the screen continuously. For screen help today, use original-image screen suggestions, which need no decision model.

What it does

The decision model reads the original screen image from this invocation and judges the page type and a useful next step, such as organizing a dinner, planning a trip, pulling out key points, or showing nothing. On-screen text counts as data, never as instructions.

For passwords, payment approval or sensitive account details, or when there is no clear next step, the model should choose no hint. Confidence below 0.65 also shows no hint.

Original image from this invocation → on-phone Magpie → decision model
                                                 ↓ worth offering
               Same image → screen scene image model → hint
                                                 ↓ you tap
                                          existing Agent

Stages and responsibilities

StageWho is responsibleWhat happens
JudgmentDecision modelAssess this page and return a structured result; create no Agent task
SuggestionImage model in the screen sceneGenerate a suggestion from the same screenshot; create no Agent task
ConsentYouWhen the hint appears, tap Help me look or close it; no task exists before you tap
ExecutionExisting Agent and main modelHandle the accepted task through the system task service and a native conversation, with the same screenshot

Decision models and the main model reuse on-phone Magpie's service, credential and model-management facilities, but the decision model is selected separately. Enabling it does not switch the main Agent to Jev or require moving an existing ChatGPT connection into the gateway. See Models and system AI for what Magpie is.

Check the environment first

Use a preview environment with the Assistant, system task service, Codex and on-phone Magpie integrated, plus device connectivity to the model services. Start with Environment checks. You also need:

  • A model service offering a decision model whose catalog entry declares image input.
  • A working image model bound to the screen scene in Taku AI, with the Assistant allowed to use it.
  • A valid main Agent connection whose model accepts images.

Configure the decision model

The current device UI uses Chinese labels:

Assistant settings → Jev decision model   助手设置 → Jev 决策模型
Taku AI → Assistant and decisions         Taku AI → 助手与决策
Jev decisions (scene row)                 Jev 决策
Manage models and routes                  管理模型与路由
Refresh decision models                   刷新决策模型
Enable Jev decision model                 启用 Jev 决策模型
Test decision connection                  测试决策连接
Help me look                              帮我看看 →
Close the hint                            关闭屏幕建议

Manage the service on the phone

Open Assistant settings → Jev decision model → Manage models and routes, or enter through Taku AI → Assistant and decisions → Jev decision model. Add a model service supporting the Decisions interface in local Magpie, such as OpenRouter. Existing services and valid credentials can be reused. Enter keys only in the on-device management page.

The normal settings flow can migrate an older encrypted Jev credential into Magpie. The old copy is removed only after the gateway confirms storage by reading it back. A failed migration keeps the original configuration for retry. Source, APKs and generic images contain no model authorization.

Refresh and select the decision model

Return to Jev settings, select Refresh decision models, choose a model from the actual catalog, then turn on Enable Jev decision model. The selected model is written to the jev scene binding and appears as the Jev decisions row in the Taku AI scene list. Jev's upstream model ID on OpenRouter is typesafe/jev-1.14. The full catalog ID includes your own service ID prefix.

Jev Router is a chat model, not a decision model. Only catalog entries with kind: decision are accepted, and a service name containing “Jev” does not confirm you picked the right model. A missing selection produces an explicit error rather than a silent model change.

Test the decision connection

Select Test decision connection. This step is optional. It sends fixed synthetic text and incurs a small amount of real model usage. It sends neither the current page nor an unsent draft.

Expected result: the page reports a successful connection. That shows this decision call works, not that hints or the main Agent do.

Tap the hint to hand off to the Agent

No Agent task exists while the hint is showing. When you tap Help me look, the system rechecks the enabled state, selected model, suggestion age and task availability. A suggestion stays valid for two minutes and is never submitted twice.

Expected result: the Agent has exactly one new task, and its answer contains information from the screenshot. Unsent text and attachments stay in the original conversation and are not added to the suggested task. A visible hint or a bare “completed” reply is not enough to judge the task finished.

Who receives page data

RecipientWhat it receivesWhen
Decision model serviceThe original image from this invocation and the foreground app nameDuring the judgment
Model service for the screen sceneThe same imageAfter the decision model judges it worth offering
Main Agent's model serviceThe same image and the suggestionAfter you tap the hint

The screenshot is used for this invocation only; this is not continuous screen monitoring or background history collection. The path has no OCR or screenshot-to-text step. A model that does not declare image support fails with an explicit error rather than falling back to text. Images go to the model services you configured, so first decide whether the page is appropriate to share.

Availability

EnvironmentStatus
CodeThe original-image path is implemented. Its image protocol has been tested with synthetic data only and has not run end to end with real Jev
EmulatorAndroid 16 / API 36 / ARM64 development AVD: the complete path of judgment → hint → tap → existing Agent is verified with real Jev. That judgment read page text rather than the original image, was triggered through the development entry, and did not cover a cold boot
Physical deviceThe decision-model path is not yet verified. Original-image screen suggestions do not use a decision model and have their own physical-device scope
Complete ROMNot yet verified; no flashable or production release claim

An accepted task keeps the current task permissions. Before an action such as submitting a free reservation, the assistant shows the details and waits for your confirmation again. It does not send messages for you. Early emulator verification covered read-only planning only. Automatic triggering on real chats and map services are not available.

Memory's per-record analysis can also explicitly use a decision model; Memory controls that switch separately.

Troubleshooting

SymptomWhat to inspect
Empty decision catalogOn-phone Magpie availability and whether the service exposes decision models; refresh decision models
Connection test failsDevice networking, service authorization and the actual selected model; ChatGPT sign-in does not authorize OpenRouter
Catalog shows unknown image capability or text onlyThat model declares no image support, so screen judgments fail explicitly; choose a decision model marked for text and images
Call succeeds but no hint appearsWhether the page has a clear next step and confidence reaches the threshold; suppressing low-confidence hints is expected
Cannot accept a visible hintEnabled state, changed model selection, suggestion expiry and a busy task
Agent misses the original pageEnsure the page is drawn and stable before triggering, the screenshot option is on, and the main model accepts images

Research preview · Current availability

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
Report an issue or give feedback

Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.

Built with Fumadocs

On this page