LibreAI / Agents IA / magentic
// agents · jackmpcollins/magentic

magentic

magentic est un projet de agents IA open source, créé par jackmpcollins (jackmpcollins/magentic sur GitHub). Il compte 2 426 étoiles sur GitHub et 128 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 11 mars 2026.

Use LLMs as plain Python functions: prompts become typed, testable code.

💎 Pépite cachée★ 2,4 k étoiles⑂ 128 forksMITmis à jour mars 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
2 426
Forks
128
Licence
MIT
Dernière mise à jour sur GitHub
11 mars 2026
Catégorie
Agents IA
Type de fiche
Pépite cachée — une page plus courte pour un projet moins connu
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Install magentic

    pip install it into your Python project.

  2. Define a function

    Write a signature with types.

  3. Call it

    The LLM fills in the implementation.

  4. Test normally

    Functions behave like functions.

// fonctionnalités

Pourquoi on l'adore

LLMs as functions

Call models like regular code.

Typed input and output

Pydantic-style type safety.

Testable

Mock and unit-test LLM calls.

Minimal API

A tiny surface, easy to learn.

Chat support

Multi-turn conversations too.

MIT licensed

Use anywhere.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/jackmpcollins/magentic.git
    cd magentic
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project’s launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains Magentic?

It is an open-source project at jackmpcollins/magentic with 128 forks.

Is it free for commercial use?

Yes. MIT licensed.

Which models work?

ChatGPT-style chat models; see the docs.

How is it different from Instructor?

Even more minimal: functions first, framework second.

Does it handle structured output?

Yes. Types drive parsing and coercion.

// continuez l'exploration

Outils similaires

Agents IA

Langchain

The agent engineering platform

★ 147,4 k étoilesMIT
Voir le guide →
Agents IA

CAMEL

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

★ 17,8 k étoilesApache-2.0
Voir le guide →
Agents IA

genkit

Open-source framework for building agentic apps in JavaScript, Go, Dart, and Python, built and used in production by Google

★ 6,5 k étoilesApache-2.0
Voir le guide →
Agents IA

dspy

Program language models with code and compilers — not fragile prompts.

★ 38,6 k étoilesMIT
Voir le guide →
Agents IA

adk-python

Google's code-first toolkit for building real AI agents.

★ 21,7 k étoilesApache-2.0
Voir le guide →
Agents IA

rmux

Rust terminal multiplexer with a typed SDK: drive any CLI app from code.

★ 2,7 k étoilesCustom
Voir le guide →
// alternatives

Alternatives en Agents IA

Les autres projets de la catégorie Agents IA avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si magentic ne vous convient pas.

// plus en agents

Plus en Agents IA

Projets de la catégorie Agents IA proches dans le catalogue, les plus proches en étoiles de magentic — continuez à explorer de part et d'autre.

Obtenir magentic

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.