jackmpcollins/magentic
View on GitHub ↗ ★ 2,428 Python
Seamlessly integrate LLMs as Python functions
22 mentions on Hacker News by 2 people: 1 story, 21 comments · first 2023-09-26 · latest 2024-12-13
20082026
-
…love some feedback on my library magentic which aims to have the best features of both approaches! https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-12-13 · in LangChain vs. OpenAI API: When Simplicity Meets Scalability -
If you are using Python, check out the package I've been building, magentic https://github.com/jackmpcollins/magentic It supports structured outputs and streaming, and aims to avoid making unnecessary abstractions (but might require some…
comment by jackmpcollins · 2024-12-13 · in Taming LLMs – A Practical Guide to LLM Pitfalls with Open Source Software -
I'm building magentic for use cases like this! https://github.com/jackmpcollins/magentic It's based on pydantic and aims to make writing LLM queries as easy/compact as possible by using type annotations, including for structured outputs…
comment by jackmpcollins · 2024-12-07 · in DSPy – Programming–not prompting–LMs -
…in is cool! I'd be interested to hear what kinds of projects this has enabled you to build. [0] https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-11-26 · in Promptic – the "requests" of LLM app development -
…but leave the abstractions up to the user. I'd be interested to hear your opinion on it vs others. https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-10-03 · in Agentic patters from scratch using Groq -
…without mandating any prompts or particular patterns. Please check it out for the next comparison! https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-10-02 · in Should I Use a Framework to Build an Agent? Code vs. LangGraph vs. Workflows -
…it be swapped in directly to frameworks like langchain and magentic [1] that I am building). [1] https://github.com/jackmpcollins/magentic/issues/207
comment by jackmpcollins · 2024-08-20 · in Ollama now supports tool calling with popular models in local LLM -
…vision. Also would be cool for one of us to do a mirascope vs magentic comparison blog post. [0] https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-08-18 · in Show HN: We're tired of LangChain and you are too, so we built Mirascope -
…scope). [0] https://github.com/stanfordnlp/dspy [1] https://github.com/langchain-ai/langchain [2] https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-08-18 · in Show HN: AdalFlow: The library to build and auto-optimize any LLM task pipeline -
…and opentelemetry/tracing. It's hopefully a good compromise between ease-of-use and complexity. https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-08-09 · in LangChain Is a Black Box -
…but the latest magentic release is compatible with it if you'd like to check out the examples here https://github.com/jackmpcollins/magentic/issues/287
comment by jackmpcollins · 2024-08-09 · in LangChain Is a Black Box -
…LLM providers, LLM-assisted retries) while leaving all the prompts up to the package user. [0] https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-06-23 · in Why we no longer use LangChain for building our AI agents -
I'm building magentic https://github.com/jackmpcollins/magentic which has basically this syntax, though it queries the LLM to generate the answer rather than writing + running code. from magentic import prompt from pydantic import…
comment by jackmpcollins · 2024-05-09 · in I'm puzzled how anyone trusts ChatGPT for code -
…to see what an agent is doing (via OTEL traces). I have more of my thoughts on the github issue: https://github.com/jackmpcollins/magentic/issues/136 [1] https://github.com/jackmpcollins/magentic
comment by jackmpcollins · 2024-04-28 · in Show HN: OpenLIT – Open-Source LLM Observability with OpenTelemetry -
See Magentic for something similar: https://github.com/jackmpcollins/magentic
comment by AlphaWeaver · 2024-01-14 · in Building a fully local LLM voice assistant to control my smart home -
…I've added the ability to add chat messages using a new decorator `@chatprompt` in v0.7.0. See https://github.com/jackmpcollins/magentic/releases/tag/v0.7....
comment by jackmpcollins · 2023-10-02 · in Show HN: Magentic – Use LLMs as simple Python functions -
…[1] https://docs.python.org/3/library/typing.html#typing.overloa... [2] https://github.com/jackmpcollins/magentic#type-checking
comment by jackmpcollins · 2023-09-27 · in Show HN: Magentic – Use LLMs as simple Python functions -
…the system prompt could also be done in the `@prompt` decorator. I've added a github issue to track https://github.com/jackmpcollins/magentic/issues/31
comment by jackmpcollins · 2023-09-27 · in Show HN: Magentic – Use LLMs as simple Python functions -
…Thanks for trying it out. [0] https://docs.pydantic.dev/latest/concepts/fields/#using-anno... [1] https://github.com/jackmpcollins/magentic#configuration
comment by jackmpcollins · 2023-09-27 · in Show HN: Magentic – Use LLMs as simple Python functions -
…would save you tokens and time when calling the same prompt-function with the same inputs. --- 1) https://github.com/jackmpcollins/magentic#usage 2) https://github.com/jackmpcollins/magentic#asyncio 3)…
comment by jackmpcollins · 2023-09-26 · in Show HN: Magentic – Use LLMs as simple Python functions -
…which I think would be a similar API to what you would end up with without using decorators https://github.com/jackmpcollins/magentic/blob/afdb22513385b...
comment by jackmpcollins · 2023-09-26 · in Show HN: Magentic – Use LLMs as simple Python functions