Latest / AI & agents

MonkeyPatch

github.com · Package · Quiet

Typed LLM-powered Python functions that get cheaper with use

Visit github.com ↗Share

Stars
693
Forks
27
Open issues
34
Last commit
Releases
11
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

MonkeyPatch is a Python tool for building LLM-powered functions with well-typed outputs and guardrails. Over time it fine-tunes smaller models in the background, which the maker reports reduced cost and latency in some use cases, and it suits developers who want to classify, extract or generate data inside an application.

Repository description on GitHub: “Prompt engineering for developers”

What it does

  • Python functions whose bodies call an LLM and return typed outputs
  • Test-driven alignment to steer function outputs
  • Background fine-tuning of smaller models from observed use

Good for

  • Classify PDFs or extract product feedback from tweets inside an app
  • Generate synthetic data from a typed Python function

Suits: Python developers adding classification or extraction to applications.

Worth knowing: The maker reports lower cost and latency from smaller models in some use cases only

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw MonkeyPatch on , when JackHopkins posted it to Show HN. The oldest published release on GitHub is v0.0.1-alpha, dated . MonkeyPatch had been shipping tagged releases for 19 days before it was found. 11 releases have been published in total; the latest is v0.2.0 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v0.0.10 (18 Nov 2023)
  • Show HN discussion at check time: 95 points, 71 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 6 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: monkeypatch/monkeypatch.py
  2. Release v0.0.1-alpha (pre-release)
  3. Found: JackHopkins posted it to Show HN. Show HN
  4. Release v0.1.0
  5. Release v0.0.12
  6. Release v0.1.2
  7. Release v0.1.3
  8. Release v0.1.4
  9. Release v0.2.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 11 releases. All releases on GitHub

Quick answers

When was MonkeyPatch released?
Its first tagged release on GitHub is dated 27 Oct 2023. Kip found it on Show HN on 15 Nov 2023.
Is MonkeyPatch open source?
Its source is public on GitHub at monkeypatch/monkeypatch.py under the MIT licence.
What does MonkeyPatch run on?
Library.
Is MonkeyPatch free?
It is open source, so the code is free to read and run; check the licence for terms.
Is MonkeyPatch still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymonkeypatch/monkeypatch.py
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-38277248. Summary written by KipFound’s editor.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.