Latest / AI & agents

recursive_llm

github.com · Open source · Quiet

Prompts that rewrite themselves to implement recursion with an LLM

Visit github.com ↗Share

  • recursion
  • recursive prompts
  • self updating prompt
  • llm recursion
  • prompt programming
  • fibonacci prompt
Stars
244
Forks
12
Open issues
0
Last commit
Found
3 years ago

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

recursive_llm is a Python project that implements recursion with an LLM as the runtime, where a prompt returns an updated version of itself with new arguments. The example is a prompt that generates Fibonacci numbers indefinitely. It suits people exploring prompt design and experimental uses of language models.

Repository description on GitHub: “Implement recursion using English as the programming language and an LLM as the runtime.”

What it does

  • Prompts that return an updated version of themselves to implement recursion
  • Example prompt generates Fibonacci numbers step by step
  • Uses an LLM as the runtime for recursive English programs

Good for

  • Explore recursion written as a self-updating prompt
  • Run the Fibonacci prompt in a playground to watch it step
  • Experiment with prompt design for stateful tasks

Suits: People exploring prompt design and experimental LLM uses.

Worth knowing: The example has no base case, so it recurses indefinitely by design

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 recursive_llm on , when andyk posted it to Show HN. GitHub listed no published releases for andyk/recursive_llm when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 97 points, 66 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 97 points, 66 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: andyk/recursive_llm
  2. Found: andyk posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was recursive_llm released?
No dated release record is available. Kip found it on Show HN on 20 Mar 2023.
Is recursive_llm open source?
Its source is public on GitHub at andyk/recursive_llm; check the repository for licence terms.
Is recursive_llm free?
It is open source, so the code is free to read and run; check the licence for terms.
Is recursive_llm 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 repositoryandyk/recursive_llm
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-35234276. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

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.