Skip to content

Jev glossary

Core ConceptsLLM agentAgentic loop

Agent loop

A control pattern where the model chooses its next step repeatedly; TypeSafe's guidance is to prefer a code-owned workflow instead.
Category
Core Concepts
Also known as
LLM agent, Agentic loop
Reading time
1 min
Related terms
4
Directory entries
2
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

The how-to-build guide describes agents as loops where the model processes instructions and chooses its next action. That works when a person is monitoring the process, but every loop adds another opportunity to go off the rails.

Jev is explicitly not an agent: it does not generate code or choose its own next action. The recommended replacement is a workflow of atomic questions whose answers code composes, with agent loops reserved for cases a workflow cannot express.

Tagsarchitectureagents

From the Jev directory

Directory entries that go deeper on this term.

Design AI-powered software by keeping code in control and giving System One narrow, structured decisions to make.
Jev Practices & PatternsDocs#official#patterns#architecture
Official
The idea behind Jev: models that return typed decisions and probabilities instead of generated text, named after Kahneman's fast-thinking System 1, with confidence to route around uncertainty.
Jev Guides & ArticlesDocs#official#docs#architecture
Official

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai