All repositories

Prompting & contexthumanlayer

12-factor-agents

Twelve principles for building LLM apps good enough to put in customers' hands: own your prompts, own your context, small agents, explicit control flow.

Who it is for

For developers moving from agent demos to a reliable product.

How to start

  1. Read the short list of 12 factors in the README.
  2. Start with Factor 2 (Own your prompts) and Factor 3 (Own your context window).
  3. Go through the remaining factors and check your agent against them.

Steps are taken from the README. Check the current version in the repository before running them.

Stars over the last 30 days

+874Sep 6 — Oct 4
25,67226,546

Author's description

What are the principles we can use to build LLM-powered software that is actually good enough to put in the hands of production customers?

anthropics

skills

Growing fastest

Anthropic's official collection of Agent Skills: folders with instructions and scripts that Claude loads for a task. A good reference for writing your own.

180Kstars+5.4K in 30 dPython

Formerly Awesome ChatGPT Prompts: a huge community library of prompts plus an interactive book on prompting. You can deploy your own private copy.

172Kstars+2.9K in 30 dHTML

A collection of system prompts and tool descriptions from popular AI products: Cursor, Devin, Windsurf, Lovable, Manus and others. Useful for studying how pros build them.

144Kstars+933 in 30 d

A detailed guide to prompt engineering: techniques from few-shot to chains of thought, papers, lectures and notebooks. Recently extended with context engineering and agents.

79Kstars+909 in 30 dMDX

A collection of examples and guides for the OpenAI API: from basic requests to function calling and RAG. Most code is Python.

76Kstars+676 in 30 dJupyter Notebook

Recipes from Anthropic as notebooks: tools, RAG, multimodality, subagents and other techniques for working with Claude. The code is ready to copy into your projects.

53Kstars+829 in 30 dJupyter Notebook