Marvin – build AI functions that use an LLM as a runtime
Hey HN! We're excited to share our new open-source project, Marvin. Marvin is a high-level library for building AI-powered software. We developed it to address the challenges of integrating LLMs into more traditional applications. One of the biggest issues is the fact that LLMs only deal with strings (and conversational strings at that), so using them to process structured data is especially difficult. Marvin introduces a new concept called AI Functions. These look and feel just like regular Python functions: you provide typed inputs, outputs, and docstrings. However, instead of relying on…
Marvin – build AI functions that use an LLM as a runtime launched on March 30, 2023 with 127 votes, #396 of 5,007 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
Marvin is an open-source Python library for building AI-powered applications that use large language models as a runtime. It introduces AI Functions, which work like regular Python functions but execute through LLMs such as GPT-4 instead of traditional code. Users define typed inputs and outputs, and Marvin handles converting string-based LLM responses back into structured data types. This approach simplifies integrating language models into traditional applications that require processing structured data rather than conversational strings.
written from the facts on this page · September 2026
From the sources
an ambient intelligence library. Contribute to PrefectHQ/marvin development by creating an account on GitHub.
In the maker’s words, at launch
Hey HN! We're excited to share our new open-source project, Marvin. Marvin is a high-level library for building AI-powered software. We developed it to address the challenges of integrating LLMs into more traditional applications. One of the biggest issues is the fact that LLMs only deal with strings (and…
Does a similar job
all alternatives →
Halv – open-source agent coding software that reduces your usage15h ago · halv.ai · ▲6Every turn, coding agents resend files, diffs, instructions, and logs they have already seen. Halv removes that wasted context locally before each request reaches the model. You can keep the same CLI, login, model, and subscriptions for Claude Code, Codex, Kimi, and GLM while get
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 21d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 30d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, March 2023
the whole month →

Typing Mind▲826Chat with AI using your API keys. Pay only for what you use. ChatGPT, Gemini, Claude, and other LLMs supported. The best chat LLM frontend UI for all AI models.
AI · 2023 · typingmind.com

Sequoia▲726Personalized men's sexual health with on-demand experts
Life & fun · 2023 · sequoia.health
- BI
I'm a big fan of the BBC podcast In Our Time -- and (like most people) I've been playing with the OpenAI APIs. In Our Time has almost 1,000 episodes on everything from Cleopatra to the evolution of teeth to plasma physics, all still available, so it's my starting point to learn about most topics. But it's not well organised. So here are the episodes sorted by library code. It's fun to explore. Web scraping is usually pretty tedious, but I found that I could send the minimised HTML to GPT-3 and get (almost) perfect JSON back: the prompt includes the Typescript definition. At the same time I…
AI · 2023 · genmon.github.io