Synthora is a lightweight and extensible framework for LLM-driven Agents and ALM research. It provides essential components to build, test and evaluate agents. At its core, Synthora aims to assemble an agent with a single config, thus minimizing your effort in building, tuning, and sharing agents.
Project description
Synthora
Synthora is a lightweight and extensible framework for LLM-driven Agents and ALM research. It provides essential components to build, test and evaluate agents. At its core, Synthora aims to assemble an agent with a single config, thus minimizing your effort in building, tuning, and sharing agents.
Note: This project is in its very early stages of development. The APIs are unstable and subject to significant changes, which may introduce breaking updates. Use with caution, as there are inherent risks in adopting this framework at its current maturity level. Feedback and contributions are welcome to help improve its stability and functionality.
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 like TinyStories, 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 can
- Simply add
Let's think step by step.in your prompt for more accurate Math QA. - Give a few-shot exemplar in your prompt to guide a better reasoning trajectory for novel plotting.
- Supervise fine-tuning (SFT) your 70B
llama2like this to match reasoning of 175B GPT-3.5. - 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 Synthora, designed for agent specialization, 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.
Installation
To install Synthora Python Library from PyPI, simply run:
pip install synthora
Quick Start
import warnings
from synthora.callbacks import RichOutputHandler
from synthora.agents import VanillaAgent
warnings.filterwarnings("ignore")
agent = VanillaAgent.default("You are a Vanilla Agent.", handlers=[RichOutputHandler()])
agent.run("Hi! How are you?")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file synthora-0.1.2.tar.gz.
File metadata
- Download URL: synthora-0.1.2.tar.gz
- Upload date:
- Size: 54.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaff8abf2643d524a9d23b61dee28408ab266b6cce6333640861dc22333bc18a
|
|
| MD5 |
42362d230ebb00637fe5985c4f547e83
|
|
| BLAKE2b-256 |
b9bd7f2af2949d009d3f1359551af9924bef877321d3047f629498196ccd03e8
|
File details
Details for the file synthora-0.1.2-py3-none-any.whl.
File metadata
- Download URL: synthora-0.1.2-py3-none-any.whl
- Upload date:
- Size: 109.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf75f08d008b1953c366dbec41f2c67d6148b0b47be4c7340b239769c4522fd0
|
|
| MD5 |
450488f8ba3e673a33f2c588a56628e9
|
|
| BLAKE2b-256 |
3e145c06380b5a4fc5ead5d71474958eec855f27011b14850630a2c08d267e64
|