{"repo":"NiJingzhe/SimpleLLMFunc","free":true,"listed":false,"github":"https://github.com/NiJingzhe/SimpleLLMFunc","clone":"git clone https://github.com/NiJingzhe/SimpleLLMFunc.git","description":"A simple and well-tailored LLM application framework that enables you to seamlessly integrate LLM capabilities in the most \"Code-Centric\" and \"Context-Centric\" manner. LLM As Function, Prompt As Code.","language":"Python","stars":78,"topics":["aigc","framework","llm","llm-framework","ai","workflow","llmfunc","agent","agent-development-framework","agent-framework"],"license":"MIT","category":"ai-agents","readme_excerpt":"LLM as Function, Prompt as Code, Context-Centric Chinese README ---- Update Notes (0.8.4) PyRepl terminal isolation : PyRepl worker processes now isolate fd 0 / 1 / 2 from host terminals, capture direct fd writes and subprocess stdout/stderr into tool output, and drop late child-process output so it cannot corrupt TUI hosts or contaminate later snippets. See CHANGELOG for details. Documentation Chinese Docs English Docs ----- Design Philosophy Principle Meaning ----------- --------- LLM is Function An LLM call is indistinguishable from a Python function call: signature, type hints, return value Prompt as Code DocString is the system prompt. Code and prompt are never separated Context-Centric Each LLM request is compiled from invocation config, transcript/history, and internal runtime patches Quick Start Installation Build a General Agent in 30 Lines That's it — a coding agent with persistent REPL, file tools, self-reflection memory, context compaction, and parallel fork: Run it: The agent gets a terminal UI with streaming markdown, tool-call panels, and fork lifecycle visualization — no extra code needed. See examples/tui general agent example.py for the full production version with environment blocks, workspace config, and debug logging. A Simpler Start — LLM as a Typed Function If you just need an LLM-powered function with type-safe returns: Initial Configuration 1. Copy configuration template: 2. Configure API keys in .env . Optionally set LOG DIR , LANGFUSE BASE URL , LAN","default_branch":null,"files":null,"tree":[],"storefront":"/r/NiJingzhe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NiJingzhe/SimpleLLMFunc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}