Skip to main content

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.

Metadata

Release files for agentpod 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentpod 0.1.6
File Size Uploaded Provenance Actions
agentpod-0.1.6.tar.gz 27.2 kB Without provenance Details for agentpod-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentpod 0.1.6
File Interpreter ABI Platform Actions
agentpod-0.1.6-py3-none-any.whl Python 3 none any Details for agentpod-0.1.6-py3-none-any.whl

Total release size: 65.5 kB

Release files / agentpod-0.1.6.tar.gz

Download URL agentpod-0.1.6.tar.gz
Size 27.2 kB
Tags Source
SHA-256 checksum
How to use checksums
47bf728e28f3418bb314a2620f3bd45aba2d3ad70519d26b530de6b9f7f979a2
BLAKE2b-256 checksum
How to use checksums
8d52041834d0fc3967996b21c77942ab17e8db974056271155cb40b69d4bf174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure

Release files / agentpod-0.1.6-py3-none-any.whl

Download URL agentpod-0.1.6-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9abf690900f621304538626f4d286787b16b63146e7117baf443e7a1b093e171
BLAKE2b-256 checksum
How to use checksums
8f5dba6358e654182e8d638a219b1718385fd48d0452e2f93ab547f81c7633eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure

Security for agentpod 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page