Hello, [:stranger_name]!
This page introduces MetaPrompt, a programming language for AI agents with LLM-powered control flow.
Project status
Early work-in-progress. Not all of the described features have been implemented.
Use cases
- Templating - variable substitution and managing prompt boilerplate, just like with a template engine
- Prompt rewriting - crafting prompts suitable for a given task based on a set of high-level rules, expanding or simplifying a user-provided prompt,or selecting the most suitable model for a task automatically
- Input moderation - implementing LLM-powered content filters.
- Prompt structuring - using modules and packages to organize parameterized prompts
- Knowledge bases - store your handcrafted prompts and include them conditionally
- Human-in-the-loop workflows - delegate control flow to humans when needed
- AI agents - interact with the outside world using foreign function interface
Examples
Links