Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

jaz-lang

Latest version: v0.2.0b3

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: DoctorDuality
82 Stars
11 Forks
3 Versions
278 Downloads
Python Repo language

Scan summary

jaz-lang was last scanned on 1 Dec 2026 at version 0.2.0b3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest 2 were published within 3 days (29 Nov – 1 Dec 2026).
  • Findings: No rules fired in version 0.2.0b3.
  • Downloads: 278 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0b3 LATEST 1 Dec 2026 No rules fired
0.2.0b2 29 Nov 2026 No rules fired
0.2.0b1 22 Oct 2026 No rules fired

No rules fired in 0.2.0b3

Findings

Findings for v0.2.0b3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0b3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

JAZ

A Python framework for building and optimizing LLM-agents through intelligent, iterative execution.

If you're using JAZ, please cite our paper using the following BibTeX entry:

@article{li2026jaz,
  title={Harness as a Language: A Minimalist Agent Framework With Maximal Expressivity},
  author={Li, Zhening and Liu, Joshua and Vukelic, Mateja and Shen, Nicole and Lall, Supriya and Thakur, Amitayush and Zhang, Alex and Khattab, Omar and Light, Jonathan and Solar-Lezama, Armando},
  journal={arXiv preprint arXiv:2609.26891},
  year={2026}
}

Overview

JAZ provides a unified framework for creating agents that combine deterministic Python code with LLM reasoning. Agents execute in a REPL loop where the LLM generates code, observes results, and iterates until the task is complete.

Prerequisites
  • Python ≥ 3.12 — 3.14+ is recommended for the full feature set. The t-string prompt syntax (invoke(task=t"Analyze the {data}")) and the interactive jaz console need PEP 750 t-strings, hence Python ≥ 3.14. Everything else works on 3.12/3.13; the equivalent invoke(task="Analyze the `data`", data=data) works on every supported version.

Installation

Standalone installation: the jaz console

One command installs the jaz console with everything it needs, on Linux, macOS or Windows, with no Python setup beforehand. The script installs uv if it is missing, uv downloads Python 3.14 into an isolated environment for jaz, and the jaz command is placed in a local bin directory (~/.local/bin, or %USERPROFILE%\.local\bin on Windows) that the script adds to your PATH. There is no virtualenv to create or activate:

# Linux / macOS
curl -LsSf https://raw.githubusercontent.com/jaz-lang/jaz/main/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/jaz-lang/jaz/main/install.ps1 | iex"

Then open a new terminal and run jaz, from any directory. Re-running the script upgrades jaz; uv tool uninstall jaz-lang removes it. If you already have uv, the script amounts to uv tool install jaz-lang --python 3.14 followed by uv tool update-shell.

Environment variables customise the install:

Variable Effect
JAZ_VERSION install that release instead of the latest, e.g. 0.2.0b2
JAZ_EXTRAS extras to install, comma-separated, e.g. copilot,tracing
JAZ_SPEC install this requirement verbatim, e.g. a git URL or a local checkout
JAZ_PYTHON the Python version to run jaz on: 3.14 (the default) or newer
JAZ_INSTALL_DIR where the jaz command goes (default ~/.local/bin)
JAZ_NO_MODIFY_PATH=1 do not edit shell profiles or PATH

For example: curl -LsSf https://raw.githubusercontent.com/jaz-lang/jaz/main/install.sh | JAZ_EXTRAS=copilot sh.

The console runs in its own environment, so to use extra libraries (numpy, pandas, ...) in its Python session, add them to it: uv tool install jaz-lang --python 3.14 --with numpy --with pandas.

Library install

To use JAZ as a library in your own project (Python ≥ 3.12):

pip install jaz-lang

The distribution is named jaz-lang; the import name is jaz:

import jaz

Optional extras:

pip install "jaz-lang[tracing]"   # OpenTelemetry tracing
pip install "jaz-lang[copilot]"   # GitHub Copilot backend — no API key, billed to AI credits

To pin a specific release, or to install one that has not reached PyPI, use the distribution repo and a release tag:

pip install "jaz-lang @ git+https://github.com/jaz-lang/jaz.git@v0.2.0b3"
API Keys

JAZ reads provider API keys from the environment, under each provider's standard variable name. Set them via any of:

  • Shell profile — add export OPENAI_API_KEY=sk-... to ~/.zshrc or ~/.bashrc (simplest, available globally)
  • .env file — create a .env at the project root with OPENAI_API_KEY=sk-... per line, then load it with:
    • direnv — add dotenv to an .envrc file to auto-load on cd (brew install direnv)

No API key at hand? The copilot backend (the copilot extra) bills a Copilot subscription's GitHub AI credits instead. Authentication checks an explicit github_token first, then COPILOT_GITHUB_TOKEN / GH_TOKEN / GITHUB_TOKEN in the environment (in that order), then your signed-in gh/copilot CLI. An exported token therefore takes precedence over your CLI login:

import jaz
from jaz.llm import GitHubCopilotLLM

jaz.configure(llm=GitHubCopilotLLM(model="gpt-5-mini"))   # ids are Copilot's own, unprefixed

For CLI authentication, run gh auth login, or start copilot and enter /login.

Like every backend other than LiteLLM it sits outside the stable API surface — see Custom & Local LLM Backends.

Quick Start

from jaz import invoke
from jaz.hooks import ReturnType

# Simple task
result = invoke(
    ReturnType(int),
    task="Calculate the factorial of 10",
)

# With custom inputs
result = invoke(
    ReturnType(list),
    task="Double each number in the list",
    numbers=[1, 2, 3, 4, 5]
)

Later snippets assume the Quick Start imports (from jaz import invoke, from jaz.hooks import ReturnType, import jaz) and show only what each adds.

Every input is a keyword argument — the prompt included. invoke()'s positional arguments are hooks (ReturnType(int), a budget, …) and an optional ConfigOverride, so invoke("Calculate the factorial of 10") is an error, not a shorthand.

The jaz console

Installing puts a jaz command on PATH (it needs Python ≥ 3.14 to run; the standalone installation sets that up for you): an agent to talk to, with a Python session behind it — variables persist, _ holds the last result. Run jaz, then enter these lines at its prompt:

what is 2 + 2?
n: int <- how many days in a leap year?
?n
switch me to gpt sol
/model openai/gpt-6.2-astra
!import math
math.sqrt(n)
!is that a whole number?

A line is a prompt for the agent; n: int <- captures a typed result; ?n shows what the agent sees for n, and /vars lists the session's variables, each with its type and a one-line description. ! switches to Python mode (the prompt turns from > to >>>), where a line runs as Python until the next ! switches back; alone on a line it only switches. The agent has the jaz module and a sandbox open to everything but the console's own directory, ~/.jaz, so it can also answer questions about jaz. It cannot write anything there by itself, or read your stored keys: asked to switch models, or to change a file there (its own AGENTS.md and skills, or your settings), it shows you the change and asks you to approve first, and nothing else it does asks. (These are rules inside one process, not an operating-system sandbox.) Nothing is pre-imported: import jaz if you want it. Enter prompt lines without trailing # annotations, which would become prompt text. A script (jaz notes.jaz, or piped input) has no modes: its lines are Python, and a prompt there starts with % (% what is 2 + 2?).

A session is one conversation, and the agent works in your session's own Python. Each prompt continues the one before. The agent reads your variables by name and what it assigns stays, for you and for its later turns; no variable is protected from it. The Python you run between prompts is shown to it with your next prompt, with what it printed. In the full-screen view, a prompt you enter while a turn runs is a message the agent reads before its next step, and any other line entered then runs when the turn ends; in the plain console, Ctrl-C and a new prompt continue the same conversation. A conversation only grows, so each step of a long one costs more: /clear starts a new one and keeps your variables.

Every session is saved to ~/.jaz/sessions, one file per session: its prompts, the Python you ran, the agent's steps (its sub-agents' too) and its answers, as they happen. jaz --no-save saves nothing. A session is never resumed: each starts a new conversation with no variables, and an earlier one comes back as a variable. /load picks one from a menu (or /load <id>) and binds it to prev, then prev2 and on; ?prev shows its turns, and prev.turns[3].steps[0].repl_output reads one. The agent can list and load sessions too, and in an interactive session it is asked to look through them for context. What is saved is text: what a step printed, an error's message and an answer's repr, and none of the session's variables. Nothing is truncated or deleted.

While a turn runs, each step the agent takes is shown as it happens. When a prompt turn ends in the interactive console, the steps contract to one line (3 steps · 9.8s) with the answer below it. /steps prints the last turn's steps again, with what each one showed the agent (up to 2,000 characters per step). A turn that would outgrow the window is summarised as it goes (● 6 steps so far · 30.2s), and a step taller than the window shows its first lines.

/login [provider] asks for a provider's API key and, once you say so, stores it in ~/.jaz/credentials.json; you can also use the key for that session only, which stores nothing (or, for github copilot, it checks your GitHub authentication — no provider key, just the copilot extra). It then offers the model menu. /logout [provider] removes the key, and /model [id] switches the model and saves it to ~/.jaz/settings.json as your default. An id stays on the current backend; prefix it to switch (copilot:<id>, litellm:<route>, sglang:<model>). Without an argument each offers a menu. A session with no model configured starts with /login. Neither command sends a request to check the key or model: a wrong one fails the next turn, with a hint naming the command to run. A prompt turn that fails on the LLM (a rejected key, an unknown model, a rate limit) prints the error without its traceback; in the interactive console, import traceback; traceback.print_last() prints that. For a model of a provider on the menu (openai/…, anthropic/…, gemini/…), the console looks for a key first, stored or exported as <PROVIDER>_API_KEY. Finding none, /model <id> still switches and says so, and a switch the agent asks for is refused before you are asked.

At a terminal the console runs full-screen, with the line you type framed at the foot of the screen. A rail down the left says whose rows they are: heavy (┃) before a line you entered, dotted (┊) before the agent's steps, and none before what came back, with a blank row between one and the next. Drag to select text: it is copied when you release the button (so it is on the clipboard before you press Cmd-C, which the terminal does not pass on). What a line gave back has a copy chip on its first row: an answer's copies it as Markdown (/copy does that from the keyboard), and any other output's copies it as text. A turn's steps line has two: copy code copies every step's code as one block, and copy code+output the code with what each step showed under it as #> comments (/copy code and /copy steps from the keyboard). An answer's Markdown is rendered, tables included, and the agent is told so. Paste with your terminal's paste key or Ctrl-V: in text mode a pasted block is one prompt, and its braces stay braces. \ then Enter adds a line to a prompt. Click a turn's ┊ 3 steps line to expand it in place and click again to contract it. Expanded, each step is its code after In [n] and what it printed after Out[n], with a copy chip for its code; a sub-agent's steps are one row under the step that started them (↳ ▸ sub-agent · 2 steps), which a click opens. Scroll with the mouse wheel or PgUp/PgDn. The session is written to the terminal when it ends. jaz --plain runs the console line by line in the terminal's own scrollback instead, which is also what you get on Windows, with --no-progress, or on a dumb terminal (TERM=dumb). Either way your lines, the agent's answers (with their Markdown rendered) and errors are styled apart; NO_COLOR turns the styling off.

A line's colour says where it goes: Python is teal, a prompt for the agent is berry with each {value} it passes in teal, and a slash command sits on a pale fill. In the full-screen view the line takes its colours as you type, and typing / brings up the commands (then a provider or a model) to pick with Tab. The colours are the JAZ website's, light or dark to suit the terminal's background, where the terminal says it shows 24-bit colour (COLORTERM=truecolor) and reports its background when asked; elsewhere the terminal's own magenta and cyan stand in.

Flags configure one session without touching that default — jaz --backend copilot --model gpt-5-mini, jaz --max-cost 0.50, jaz --log run.log — and jaz -c "…" runs a single prompt and exits.

Coming from Claude Code, Codex, Copilot, Cursor or Gemini CLI

The console uses the instructions, skills and commands you already keep for those tools. At start-up it looks in your home directory and in the project, from the git root down to where you started it, and asks once about each place it finds:

Kind Read from
Instructions CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md, AGENTS.md (or AGENTS.override.md), GEMINI.md, .github/copilot-instructions.md, .cursorrules, .windsurfrules; the user-level ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md, ~/.copilot/copilot-instructions.md
Rules .claude/rules/, .github/instructions/*.instructions.md, .cursor/rules/*.mdc, ~/.claude/rules/, ~/.copilot/instructions/
Skills (SKILL.md) .claude/skills/, .agents/skills/, .github/skills/, .cursor/skills/, .gemini/skills/, and the same under ~ (plus ~/.codex/skills/)
Commands .claude/commands/, .cursor/commands/, .gemini/commands/*.toml, and ~/.claude/commands/, ~/.codex/prompts/, ~/.cursor/commands/, ~/.gemini/commands/

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases jaz-lang

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229