<h3 align="center">
<img
src="https://raw.githubusercontent.com/agential-ai/.github/main/profile/banner_dark.svg#gh-dark-mode-only"
/>
<img
src="https://raw.githubusercontent.com/agential-ai/.github/main/profile/banner_light.svg#gh-light-mode-only"
/>
</h3>
<h3 align="center">Language agent experimentation made easy.</h3>
<h3 align="center">
[![codecov](https://codecov.io/gh/agential-ai/agential/branch/main/graph/badge.svg)](https://codecov.io/gh/agential-ai/agential)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
</h3>
Agential provides clear implementations of popular LLM-based agents across a variety of reasoning/decision-making and language agent benchmarks, making it easy for researchers to evaluate and compare different agents.
## π€ Getting Started
First, install the library with `pip`:
```
pip install agential
```
Next, let's query the `ReActAgent`!
```python
from agential.llm.llm import LLM
from agential.cog.react.agent import ReActAgent
question = 'Who was once considered the best kick boxer in the world, however he has been involved in a number of controversies relating to his "unsportsmanlike conducts" in the sport and crimes of violence outside of the ring?'
llm = LLM("gpt-3.5-turbo")
agent = ReActAgent(llm=llm, benchmark="hotpotqa")
out = agent.generate(question=question)
```
## π Acknowledgement
## π Contributing
If you want to contribute, please check the [contributing.md](https://github.com/alckasoc/agential/blob/main/CONTRIBUTING.md) for guidelines!
Please check out the [project document timeline](https://equatorial-jobaria-9ad.notion.site/Project-Lifecycle-Management-70d65e9a76eb4c86b6aed007f717aa41?pvs=4) on Notion and reach out to us if you have any questions!
## πΆβπ«οΈ Contact Us!
If you have any questions or suggestions, please feel free to reach out to tuvincent0106@gmail.com!
Raw data
{
"_id": null,
"home_page": "https://github.com/alckasoc/agential",
"name": "agential",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "agent, LLM, poetry",
"author": "Vincent Tu",
"author_email": "tuvincent0106@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e1/44/44e989c913ae38783bb04ca9b850661b89c30a0d607130fb7e6ba4df632f/agential-0.2.1.tar.gz",
"platform": null,
"description": "\n<h3 align=\"center\">\n <img\n src=\"https://raw.githubusercontent.com/agential-ai/.github/main/profile/banner_dark.svg#gh-dark-mode-only\"\n />\n <img\n src=\"https://raw.githubusercontent.com/agential-ai/.github/main/profile/banner_light.svg#gh-light-mode-only\"\n />\n</h3>\n\n\n<h3 align=\"center\">Language agent experimentation made easy.</h3>\n\n<h3 align=\"center\">\n\n[![codecov](https://codecov.io/gh/agential-ai/agential/branch/main/graph/badge.svg)](https://codecov.io/gh/agential-ai/agential)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n</h3>\n\nAgential provides clear implementations of popular LLM-based agents across a variety of reasoning/decision-making and language agent benchmarks, making it easy for researchers to evaluate and compare different agents.\n\n## \ud83e\udd14 Getting Started \n\nFirst, install the library with `pip`:\n\n```\npip install agential\n```\n\nNext, let's query the `ReActAgent`!\n\n```python\nfrom agential.llm.llm import LLM\nfrom agential.cog.react.agent import ReActAgent\n\nquestion = 'Who was once considered the best kick boxer in the world, however he has been involved in a number of controversies relating to his \"unsportsmanlike conducts\" in the sport and crimes of violence outside of the ring?'\n\nllm = LLM(\"gpt-3.5-turbo\")\nagent = ReActAgent(llm=llm, benchmark=\"hotpotqa\")\nout = agent.generate(question=question)\n```\n\n## \ud83d\ude4f Acknowledgement\n\n## \ud83d\ude00 Contributing\n\nIf you want to contribute, please check the [contributing.md](https://github.com/alckasoc/agential/blob/main/CONTRIBUTING.md) for guidelines!\nPlease check out the [project document timeline](https://equatorial-jobaria-9ad.notion.site/Project-Lifecycle-Management-70d65e9a76eb4c86b6aed007f717aa41?pvs=4) on Notion and reach out to us if you have any questions!\n\n## \ud83d\ude36\u200d\ud83c\udf2b\ufe0f Contact Us!\n\nIf you have any questions or suggestions, please feel free to reach out to tuvincent0106@gmail.com!",
"bugtrack_url": null,
"license": "MIT",
"summary": "A flexible agent library.",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/alckasoc/agential",
"Repository": "https://github.com/alckasoc/agential"
},
"split_keywords": [
"agent",
" llm",
" poetry"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bcde45d8923f3d35a5385677f7886d630a00ab2c946c071a389a7412ef9d2400",
"md5": "485b6e9198ed9ec6f899c3f69698511a",
"sha256": "d419e0c6068ee6aa8bfb3026527b17c4c83961cda808d2bb62b30959f495a5d5"
},
"downloads": -1,
"filename": "agential-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "485b6e9198ed9ec6f899c3f69698511a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 303878,
"upload_time": "2024-11-06T05:20:55",
"upload_time_iso_8601": "2024-11-06T05:20:55.076599Z",
"url": "https://files.pythonhosted.org/packages/bc/de/45d8923f3d35a5385677f7886d630a00ab2c946c071a389a7412ef9d2400/agential-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e14444e989c913ae38783bb04ca9b850661b89c30a0d607130fb7e6ba4df632f",
"md5": "b1960bf4e72c0a887830e56480ddc129",
"sha256": "04db4f12a526fe1f826137f271bbcbe72d6c18d213587604cf47055d07bc1122"
},
"downloads": -1,
"filename": "agential-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "b1960bf4e72c0a887830e56480ddc129",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 220223,
"upload_time": "2024-11-06T05:20:56",
"upload_time_iso_8601": "2024-11-06T05:20:56.946037Z",
"url": "https://files.pythonhosted.org/packages/e1/44/44e989c913ae38783bb04ca9b850661b89c30a0d607130fb7e6ba4df632f/agential-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 05:20:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "alckasoc",
"github_project": "agential",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "agential"
}