Package: gentopia
GentopiaGentopia is a lightweight and extensible framework for LLM-drivenAgentsandALMresearch. It provides essential components to build, test and evaluate agents. At its core, Gentopia aims to assemble an agent with a single config, thus minimizing your effort in building, tuning, and sharing agents.Gentopia maintains an agent platformGentPoolto share specialized agents, where your agentinteractswith other agents by cloning, hierarchical plug-in, or sharing environment. We provide a unique agentbenchmarkfor holistic evaluation.Motivation 🧠Agent practitioners start to realize the difficulty in tuning a "well-rounded" agent with tons of tools or instructions in a single layer.
Recent studies likeTinyStories,Specializing Reasoning,Let's Verify SbS,ReWOO, etc. also point us towards an intuitive yet undervalued direction 👉An LLM is more capable if you create a context/distribution shift specialized to some target tasks.Sadly, there is no silver bullet for agent specialization. For example, you canSimply addLet's think step by step.in yourpromptfor more accurate Math QA.Give afew-shotexemplar in your prompt to guide a better reasoning trajectory for novel plotting.Supervisefine-tuning(SFT) your 70Bllama2likethisto match reasoning of 175B GPT-3.5.Tune your agentparadigmlike thisdemoto easily half the execution time for Seach & Summarize.And more ...Isn't it beautiful if one shares his effort in specialized intelligence, allowing others to reproduce, build on, or interact with it? 🤗 This belief inspires us to build Gentopia,designed for agentspecialization, sharing, and interaction,to stackingly achieve collective growth towards greater intelligence..Core Features 💡⚙️ Config-driven agent assembling and chat.🚀 Large amount of prebuilt agent types, LLM clients, tools, memory systems, and more.🪶 Lightweight and highly extensible implementation of essential components.🧪 Aligning with state-of-the-art AI research.🤝 Enabling multi-agent interactions.🦁 Unique platform of agent zoo and eval benchmark.Quick Start 🍏conda create --name gentenv python=3.10
conda activate gentenv
pip install gentopiaor if you want to build with open LLMs locally 👉pip install gentopia[huggingface]First time to Gentopia? Grab a coffee ☕ andTake ~ 8 mins to check out the following demo tutorialsOr check out theQuick StartDoc.Documentation 📖Seeherefor full documentation.🌟 Highlight Topics 🌟🤖 Agent Templates⛰️ Hierarchical Agents🥇 Unique Agent Benchmark🦙 Open LLM Supports🧠 High-Performance MemoryNews 👷[Aug 6]We've submitted our work as a paper for EMNLP 2023. Special thanks to the researchteamand professors from NCSU, GMU, and CMU for collaboration :)Join us! 🌎Participate in this Utopia of superintelligence and help it grows! As a fully open-source project, we develop under public advice, ideas, and supervision. Meanwhile, here are ways you may contribute to Gentopia.🐛 Post anissuerequesting necessary bug fixes, additional features, or roadmap suggestions. (Check closed ones first)🎯 Our dev team meets weekly to groombackloginto tickets. While we work on them, you can pick up others and create aPull Requestto request a merge. We always welcome new members in this way.🤝 Share your specialized agent toGentPool! Create an Agent PR (example) to merge your well-tuned agent into the pool. This allows others to use or build upon your agent.⭐ Help us spread! Give us a star, follow us onTwitter, join ourDiscord, and share with your friends!