Skip to main content

A simple framework for agentic systems

Project description

Agentpod

AgentPod is a simple framework to build agents on top of LLMs. It currently supports OpenAI and will support Ollama at somepoint in the near future. We do not plan to extend support beyond these at this point. Since it is just a wrapper over a bunch of http calls, we built it on top of asyncio. And, at this point, we do not plan to create a sync client.

Agentpod supports both structured & unstructured output (even with Vision API). It provides a reliable way to calculate the cost of API calls, with an easy-to-use API to get this cost at a detailed level. You can also access the raw responses from the LLM.

We currently does internet search with Bing. We did originally support brave search but we evolved to understand brave search is not good enough to give best search result and Google search over API sucks. We also provide simple utilities to read the textual content of the webpages for LLMs to process. We'll be supporting code interpreter so without using OpenAI assistant api, you can still use LLM to generate code and execute it.

Our goal is to create a reliable, lightweight, and minimalistic framework to interact with LLMs. We are not focusing on building any integrations that isn't used at production by our users. There are many similar client packages available, but Agentpod was created from our frustration with existing frameworks, which are often non-flexible, do too much behind the scenes, change APIs often, and have complex codebases. We are an AI agency, and we use Agentpod in production for all our agents.

Installation

pip install agentpod

Examples

Examples can be found at our tests directory tests/.

Acknowledgements

This project includes code from Instructor, which is licensed under the MIT License.

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

agentpod-0.1.6.tar.gz (27.2 kB view hashes)

Uploaded Source

Built Distribution

agentpod-0.1.6-py3-none-any.whl (38.4 kB view hashes)

Uploaded Python 3

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