Inputs: prompts, tools, and data
One kind of argument. A prompt, a tool, a number, your own object — each becomes a variable in the agent's REPL and is described in its prompt. Nothing else to learn first.
Open in ColabOne function. That's the entire agent.
JAZ is an open-source Python framework for LLM agents. You hand one function a task and the Python objects you already have; the model writes the code, JAZ runs it, and you get a real, typed Python value back.
Why JAZ
Your functions are the tools and your objects are the inputs: nothing to rewrite, nothing to convert into a format the agent can read. The answer comes back as a Python value you can use.
The agent writes its own workflow and manages its own memory, under a dollar cap you set once. Ahead of specialised systems on published benchmarks, at lower cost.
Every step is code you can read, log and replay, in a sandbox that allows only what you allow. Open source, Apache-2.0. Any model provider, or a model on your own machine: no lock-in.
The same task in LangChain, OpenAI Agents, PydanticAI, smolagents, CrewAI and DSPy, side by side. Compare →
One function
JAZ is an open-source Python framework for building agents on top of large language models. There is one function to learn, invoke. You call it with a task and whatever Python you have in hand: a DataFrame, a database connection, your own functions and classes. The model writes the body of that call as Python code, JAZ runs it in a sandboxed interpreter, and the result comes back as a real Python value of the type you asked for. There is no graph to wire, no tool schema to write and nothing to parse: the model's reply is the program.
plots = jaz.invoke( task="Make plots comparing penguin species.", df=pd.read_csv("penguins.csv"), web_search=web_search,)plotsThe model wrote the loop that drew these; JAZ ran it and handed back the list. See what happens under the hood →
Tutorials
Five Colab notebooks, one concept each — no install required. Open the first and watch an agent turn a real dataset into a typed report in minutes.
One kind of argument. A prompt, a tool, a number, your own object — each becomes a variable in the agent's REPL and is described in its prompt. Nothing else to learn first.
Open in ColabAn agent that calls agents. Why the inputs you pass stop at the call that received them, and how scope hands a tool to the whole tree.
Open in ColabTyped returns, validation, budgets and limits turn out to be one mechanism: a hook observes events and returns effects. Write your own.
Open in ColabThe LLM, the REPL and the protocol underneath it all — including what the agent is allowed to import, and how to change any of it for a single call.
Open in ColabThe homepage's program with every feature on: the penguins DataFrame and a live web search in, a typed report out, validated, logged and on a budget.
Open in ColabThe jaz console
Installing puts a jaz command on your PATH: a real Python REPL where a sentence is a statement. Ask with >, capture a typed result with <-, and ?x shows exactly what the agent sees for x. Pick a line to type it.
A recorded session, replayed as you pick lines. The console needs Python 3.14; pip install jaz-lang puts jaz on your PATH. How the console works ↗