Agentic framework for task-based execution using StrictJSON
Top 67.5% on sourcepulse
TaskGen is an open-source, task-based agentic framework designed for efficient LLM agent execution. It targets developers and researchers building complex agentic workflows, offering a structured alternative to conversational LLM frameworks by leveraging StrictJSON for precise output parsing and Chain-of-Thought prompting.
How It Works
TaskGen utilizes StrictJSON, a JSON parser with type checking, as its core communication protocol between LLM agents. This approach enables agents to naturally perform Chain-of-Thought reasoning by using JSON keys and descriptions as guides, leading to more efficient and less verbose interactions compared to free-text conversational frameworks. Agents can be structured into single agents with LLM or external functions, or meta-agents with inner agents, supporting features like shared variables for multi-modality, RAG over function spaces, and memory.
Quick Start & Requirements
pip install taskgen-ai==3.3.4
gpt-4o-mini
, gpt-4o
, Llama 3 70B
. Weaker models like gpt-3.5-turbo
may require more explicit prompting.Highlighted Details
AsyncAgent
for parallel task execution.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
gpt-3.5-turbo
exhibits limitations with mathematical functions and memory features; gpt-4o-mini
or better is recommended.2 weeks ago
1 day