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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file agentpod-0.1.6.tar.gz.

File metadata

  • Download URL: agentpod-0.1.6.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure

File hashes

Hashes for agentpod-0.1.6.tar.gz
Algorithm Hash digest
SHA256 47bf728e28f3418bb314a2620f3bd45aba2d3ad70519d26b530de6b9f7f979a2
MD5 2b24df6de55e0e3792ab29f79f641f1e
BLAKE2b-256 8d52041834d0fc3967996b21c77942ab17e8db974056271155cb40b69d4bf174

See more details on using hashes here.

File details

Details for the file agentpod-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: agentpod-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure

File hashes

Hashes for agentpod-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9abf690900f621304538626f4d286787b16b63146e7117baf443e7a1b093e171
MD5 28c446e21488393bf913c7dd3f97a09a
BLAKE2b-256 8f5dba6358e654182e8d638a219b1718385fd48d0452e2f93ab547f81c7633eb

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