Pezzo is an open-source AI development toolkit designed to streamline prompt design, version management, publishing, collaboration, troubleshooting, observability and more. Our mission is to empower individuals and teams to harness the power of AI with confidence.
Click here to sign up for early access to Pezzo Cloud! 🌩️
🎛️ Centralized Prompt Management: Manage all AI prompts in one place for maximum visibility and efficiency.
🚀 Streamlined Prompt Design, Publishing & Versioning: Create, edit, test and publish prompts with ease.
🔍 Observability: Access detailed prompt execution history, stats and metrics (duration, prompt cost, completion cost, etc.) for better insights.
🛠️ Troubleshooting: Effortlessly resolve issues with your prompts. Time travel to retroactively fine-tune failed prompts and commit the fix instantly.
💰 Cost Transparency: Gain comprehensive cost transparency across all prompts and AI models.
💡 Simplified Integration: Reduce code overhead by 90% by consuming your AI prompts using the Pezzo Client, regardless of the model provider.
Click here to navigate to the Official Pezzo Documentation.
In the documentation, you can find information on how to use Pezzo, its architecture, as well as a tutorial for getting up and running with a simple demo app.
This section is useful for contributors who want to run Pezzo locally in development mode.
- Node.js 18+
- Docker
- (Recommended) GraphQL Language Feature Support VSCode Extension
Install NPM dependencies by running:
npm install
Pezzo relies on Postgres, InfluxDB and Supertokens. You can spin it up using Docker Compose:
docker-compose -f docker-compose.dev.yaml up
Generate the Prisma client:
npx nx prisma:generate server
Deploy Prisma migrations:
npx dotenv-cli -e apps/server/.env -- npx prisma migrate deploy --schema apps/server/prisma/schema.prisma
Run the server:
npx nx serve server
The server is now running. In the background, graphql-codegen has generated GraphQL types based on the actual schema. These can be found at libs/graphql/src/@generated. This provides excellent type safety across the monorepo.
In development mode, you want to run graphql-codegen
in watch mode, so whenever you make changes to the schema, types are generated automatically. In a separate Terminal tab, run:
npm run graphql:codegen:watch
Finally, you are ready to run the Pezzo Console:
npx nx serve console
That's it! Pezzo is now accessible at http://localhost:4200 🚀
We welcome contributions from the community! Please feel free to submit pull requests or create issues for bugs or feature suggestions.
If you want to contribute but not sure how, join our Discord and we'll be happy to help you out!
Please check out CONTRIBUTING.md before contributing.
This repository's source code is available under the Apache 2.0 License.