← back to the directory
Library / SDK Agents & OrchestrationGuardrails & Structure

Magentic

1Prompt 2as 3Python 4functions, 5typed 6outputs

the six Ws · specification

W1 Who

Maintained by Jack Collins, an open-source project.

W2 What

Turns Python functions into typed, structured LLM calls.

W3 Where

A Python library in your application.

W4 When

When you want prompts as clean, typed functions.

W5 Why

Mixes normal code and LLM calls with structured outputs.

W6 With

Python, Pydantic, and an LLM provider.

W7 Watch

Individual-maintained; open-source (MIT), library only. Runs in your app and calls whichever LLM provider you configure.

Structured-outputPythonPrompting

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.