Skip to main content

pypi docker docker pulls AGPLv3

A simple open-source prompt management platform.

The best way to build agents and prompt-based applications.

Explore the docs »

Available in: Python

⭐️ Why PromptDesk?

PromptDesk is 100% free and open-source minimalist tool to facilitate the creation, organization, integration, and evaluation of prompts, prompt-based applications, agents and Large Language Models (LLMs).

Alt Text

We recommend starting with the Quickstart guide. You can also jump straight to the Build Prompts or start integrating prompts in python with Integrate Prompts guides.

✨ Features

  • 👨‍💻 OpenAI-like minimalist prompt builder
  • 🥸 Prompt variable and logic support with Handlebars.js syntax
  • 📊 Complete audit log of all API calls
  • 🌐 Unlimited vendor-agnostic LLM API integrations
  • 📦 Environment variables support
  • 🚀 Easy to set up and integrate (5 minutes)
  • 👨‍💻 Community-driven

🚀 Getting Started

PromptDesk is available as a hosted web application and as a Docker image. You can get started immediately by visiting the PromptDesk Login and creating an account. Hosting is provided for free by the MongoDB and DigitalOcean Startup Programs.

Hosted Web Application

wget https://raw.githubusercontent.com/promptdesk/promptdesk/main/quickstart/docker-compose.yml

Start the Docker container:

docker compose up

Open your web browser and navigate to http://localhost:8080/ to access the PromptDesk application. Initial setup will require a valid OpenAI API key for installation testing purposes.

👨‍💻 Python Integration

To install PromptDesk, use pip:

pip install promptdesk

Usage

You can call the prompt you build in the application by using the generate method.

from promptdesk import PromptDesk

pd = PromptDesk(
    #defaults to os.environ.get("PROMPTDESK_API_KEY")
    api_key = "YOUR_PROMPTDESK_API_KEY"
    #defaults to https://app.promptdesk.ai
    service_url = "http://localhost:8080"
)

story = pd.generate("short-story", {
    "setting": "dark and stormy night",
    "character": "lonely farmer",
    "plot": "visited by a stranger"
})

print(story)

For more information about PromptDesk, please refer to the following resources:

Release files for promptdesk 0.2.7

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

Source distribution (sdist)

Source distribution for promptdesk 0.2.7
File Size Uploaded
promptdesk-0.2.7.tar.gz 7.4 kB Details

Built distribution (wheel)

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

Total release size:15.7 kB

Release files / promptdesk-0.2.7.tar.gz

Download URL promptdesk-0.2.7.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fd03f5d36e69c0e25724dc472cf177036b6cb49b730616031424236c92b77957
BLAKE2b-256 checksum
How to use checksums
d264f75f441007bbba477508083d986c3e107f1a42defee5f84a903ee05b4eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / promptdesk-0.2.7-py3-none-any.whl

Download URL promptdesk-0.2.7-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc12f275af681e61994cd3f63d738bfffbdd42a42090f56815d3976af81dcd48
BLAKE2b-256 checksum
How to use checksums
b47d60338141f5622184b63ea2719c1911d8a26358f54096bae5ee39970b5cdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.0

2 release files

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