SimpleLLMFunc
Build typed LLM functions and chat agents in Python
All Skills in This Repository (2)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install SimpleLLMFunc?โผ
Run `npx skills add NiJingzhe/SimpleLLMFunc --all -g -y` in your terminal to install all skills in this repository globally.
What does SimpleLLMFunc do?โผ
It lets you define LLM calls as ordinary typed Python functions, where the docstring acts as the prompt and the return type controls structured output parsing.
How do I build a chat agent with tools?โผ
Decorate an async function with @llm_chat, pass a toolkit of @tool functions, and stream results with async for; built-in PyRepl and FileToolset give the agent code execution and file access.
Which model providers does SimpleLLMFunc support?โผ
It works with any OpenAI-compatible chat endpoint or the OpenAI Responses API, configured through a provider.json file with key rotation and rate limiting.
Can agents edit their own memory in SimpleLLMFunc?โผ
Yes. The SelfRef system lets agents remember, forget, compact, and fork their own context at runtime through safe, typed context mutations.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core