Llm Functions
FreeEasily create LLM tools and agents using plain Bash/JavaScript/Python functions.
About Llm Functions
LLM Functions is an open-source project that enables developers to easily create and use LLM-powered tools and agents by writing plain functions in Bash, JavaScript, or Python. It automatically generates the required JSON declarations for function calling from code comments, allowing seamless integration with LLMs. The project provides ready-to-use tools such as weather lookup, command execution, web search, and agents like a code reviewer and a to-do manager. It integrates primarily with the AIChat CLI tool and requires argc and jq for setup. Designed to bridge LLMs with custom code, system commands, APIs, and data processing tasks, LLM Functions simplifies the process of building extensible AI workflows.
Key Features
Pros & Cons
- Leverages widely-known languages (Bash, JS, Python) for tool creation
- Automatic JSON schema generation reduces manual work and errors
- Open-source and free to use
- Extensible design allows adding custom tools and agents easily
- Works with popular LLM CLI AIChat
- Well-documented setup and examples
- Currently only compatible with AIChat CLI (limited ecosystem support)
- Requires external dependencies: argc and jq
- Setup involves cloning repo, linking files, and environment configuration
- Web search tool requires selecting and linking an external search tool
- No built-in visual interface; command-line only