Hello, I'm PDX 👋
PDX is a framework for prompt engineering and a dev-ops toolkit.
At the core, it provides a mental-model on how to build and manage agents. An agent is a collection of prompts and/or prompt templates with information that is used to interact with the Language Models.
Documentation: pdxlabs.io/docs
Website: pdxlabs.io
Quickstart: create-an-agent
Installation
pip install pdx
Quickstart
To create your first agent, run the following command:
pdx create my_first_agent
Run and test out the agent by running:
pdx test my_first_agent --verbose
More information here: PDX - Main Concepts
Why use PDX?
- 🗃️ Low dependency footprint -> ease of production deployment and maintainance.
- 📂 Mental model to separate prompt templates from the application code. (Similar to Flask blueprint or FastAPI router).
- 📌 Version control the prompts along with their evaluation metrics.
- 📸 Logging and tracing of inputs, prompt render, and model response made easy.
- 🧯 Standardize Error handling and logging.
- 💾 Caching for lowering latency. (Coming soon)
- 📊 Observability out-of-the-box. (Coming soon)
- 📩 Log feedback of the user. (Coming soon)
- 🛎️ A/B testing of prompts. (Coming soon)
Demos
Check our the demos in the demos repository.
Models (APIs) currently supported:
- OpenAI
- Anthropic
Metadata
Release files for pdx 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdx-0.7.0.tar.gz | 23.9 kB | Without provenance | Details for pdx-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdx-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for pdx-0.7.0-py3-none-any.whl |
Total release size: 61.3 kB
Release files / pdx-0.7.0.tar.gz
| Download URL | pdx-0.7.0.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
614f32ec21d73a7f42868876c53982249cf246ab177fa20ad565b9696aafdfb0
|
|
BLAKE2b-256 checksum How to use checksums |
44e248901574f6e317824115bb5393e82e707cb50c9968eef002b479504d5f62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0
|
Release files / pdx-0.7.0-py3-none-any.whl
| Download URL | pdx-0.7.0-py3-none-any.whl |
|---|---|
| Size | 37.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
788704079aab8e50d9457755537f0f4a708fcf01b427d8473508231afb54ce72
|
|
BLAKE2b-256 checksum How to use checksums |
13ffb6fd406ad0227c7f749c6de638c9a54f9f31918145ee02d17f80ee00f9a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0
|
Security for pdx 0.7.0
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.