Hacker GitHub

← All repos

andyk/recursive_llm

View on GitHub ↗ ★ 244 Python

Implement recursion using English as the programming language and an LLM as the runtime.

3 mentions on Hacker News by 2 people: 2 stories, 1 comment · first 2023-03-20 · latest 2025-04-17

Mentions per year 3 mentions · busiest year 2023 (2)
20082026
  1. ▲ 81
    Recursive LLM prompts
    story by vlan121 · 2025-04-17 · 19 comments
  2. Done! Well, the first suggestion you made anyway :-) https://github.com/andyk/recursive_llm/blob/main/run_recursi... def recursively_prompt_llm(prompt, n=1): if prompt.startswith("You are a recursive function"): prompt =…
    comment by andyk · 2023-03-21 · in Show HN: Recursive LLM Prompts
  3. ▲ 97
    Show HN: Recursive LLM Prompts
    story by andyk · 2023-03-20 · 66 comments