Skip to main content

A flexible agent library.

Project description

Language agent experimentation made easy.

codecov License: MIT

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!

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 for guidelines! Please check out the project document timeline 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agential-0.2.0.tar.gz (220.2 kB view details)

Uploaded Source

Built Distribution

agential-0.2.0-py3-none-any.whl (303.9 kB view details)

Uploaded Python 3

File details

Details for the file agential-0.2.0.tar.gz.

File metadata

  • Download URL: agential-0.2.0.tar.gz
  • Upload date:
  • Size: 220.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Windows/10

File hashes

Hashes for agential-0.2.0.tar.gz
Algorithm Hash digest
SHA256 05fba6c002885c403f8250706a4f36acfb07d9e5fbf19c9d8e091b026aad2a74
MD5 9a62840812fdc67b586c97218dc60f5b
BLAKE2b-256 fcf457481777d345de8a378be4811edbb3f4baf7d73ba37c6362bf65e4db8416

See more details on using hashes here.

File details

Details for the file agential-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agential-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 303.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Windows/10

File hashes

Hashes for agential-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1564a8ec9a9c7d0d9fc61af2878f4205aa361dd993cce0aea78f22720ba2eed
MD5 e830bf89a71161ab2b97ccbc60a420cc
BLAKE2b-256 fd49675378e5cb8f09f6284d49174708c9cfbed98ee223ce075ed31bf5c7340e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page