{"data":{"slug":"jackmpcollins-magentic","name":"magentic","tagline":"Seamlessly integrate LLMs as Python functions","github_url":"https://github.com/jackmpcollins/magentic","owner":"jackmpcollins","repo":"magentic","owner_avatar_url":"https://avatars.githubusercontent.com/u/6640905?v=4","primary_language":"Python","stars":2425,"forks":127,"topics":["agent","agentic","ai","chatbot","chatgpt","gpt","llm","magenta","magentic","magnetic","openai","openai-api","prompt","pydantic"],"archived":false,"github_pushed_at":"2026-03-11T13:44:45+00:00","maintenance_label":"Slowing","stars_delta_30d":10,"url":"https://www.graphcanon.com/tools/jackmpcollins-magentic","markdown_url":"https://www.graphcanon.com/tools/jackmpcollins-magentic.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/jackmpcollins-magentic","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=jackmpcollins-magentic","description":"Seamlessly integrate LLMs as Python functions","homepage_url":"https://magentic.dev/","license":"MIT","open_issues":50,"watchers":10,"ai_summary":"A Python library for integrating language models as functions, supporting OpenAI and other LLM providers.","readme_excerpt":"## Installation\n\n```sh\npip install magentic\n```\n\nor using uv\n\n```sh\nuv add magentic\n```\n\nConfigure your OpenAI API key by setting the `OPENAI_API_KEY` environment variable. To configure a different LLM provider see [Configuration] for more.","github_created_at":"2023-06-18T04:04:06+00:00","created_at":"2026-07-11T10:38:44.592867+00:00","updated_at":"2026-09-20T04:30:57.942587+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"agent","name":"agent"},{"slug":"agentic","name":"agentic"},{"slug":"ai","name":"ai"},{"slug":"chatbot","name":"chatbot"},{"slug":"chatgpt","name":"chatgpt"},{"slug":"gpt","name":"gpt"},{"slug":"llm","name":"llm"},{"slug":"magenta","name":"magenta"}],"trust":{"provenance":{"is_fork":false,"github_id":655155250,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-18T08:27:38.250Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":190,"last_release_at":"2026-03-11T13:44:22Z","stars_delta_30d":10,"open_issues_delta_30d":1},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-09-18T08:27:40.444Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-18T08:27:37.209Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-09-18T08:27:37.209Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-18T08:27:37.209Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"The library itself is free to use, but users will incur costs based on their usage of the LLM providers it integrates with, such as OpenAI."},"requirements":{"notes":["Ensure the OpenAI API key is set as an environment variable for using OpenAI's models."],"min_ram_gb":1,"requires_docker":false},"constraints":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"when_to_use":["When you need to integrate OpenAI or other LLM providers directly as Python functions in your project.","If your project requires a straightforward setup with minimal configuration, such as setting an environment variable for the OpenAI API key."],"when_not_to_use":["If your project demands a more complex setup or customization beyond what Magentic offers out of the box.","When you are working in an environment where Python is not the primary language, as Magentic is specifically designed for Python."],"source":"enrich:decision_facts","observed_at":"2026-09-18T09:14:06.247Z"},"constraint_facets":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - The library itself is free to use, but users will incur costs based on their usage of the LLM providers it integrates with, such as OpenAI."},{"label":"Requirements","value":"Min 1 GB RAM; Ensure the OpenAI API key is set as an environment variable for using OpenAI's models."},{"label":"Adopt for","value":"Magentic is a Python library that simplifies the integration of language models as functions, supporting OpenAI and other LLM providers."},{"label":"License detail","value":"Magentic is distributed under the MIT License, allowing for free use, modification, and distribution."}]}}