Skip to main content

examples for using Pixie

Project description

Pixie Examples

MIT License Python Version Discord

This repository contains a collection of example applications integrated with Pixie SDK for interactive debugging.

Get Started

You can play with the demo site here withou any setup.

1. Setup

Clone this repository:

Install pixie-examples python package:

pip install pixie-examples

Create a .env file with your API keys:

# .env
OPENAI_API_KEY=...
# Add other API keys as needed for specific examples

Start the Pixie server:

pixie

2. Debug with Web UI

Visit gopixie.ai to interact with and debug your applications through the web interface.

Important Links

Examples Catelog

Quickstart

  • Basic Example: Simple hello world application to get started with Pixie SDK

Pydantic AI Examples

  • Bank Support: Multi-turn chatbot for banking customer support
  • Flight Booking: Multi-agent system for flight booking
  • Question Graph: Graph-based question answering system
  • SQL Generation: Multi-step workflow for generating SQL queries
  • Structured Output: Examples of structured data handling

OpenAI Agents SDK Examples

  • Customer Service: Multi-agent customer service system
  • Financial Research Agent: Multi-step financial research workflow
  • LLM-as-a-Judge: Evaluation and judging patterns
  • Routing: Agent routing and handoffs

LangChain Examples

  • Basic Agent: Simple LangChain agent integration
  • Customer Support: Customer support chatbot
  • Personal Assistant: Multi-agent personal assistant
  • SQL Agent: SQL query generation with LangChain

LangGraph Examples

  • RAG System: Retrieval-augmented generation with LangGraph
  • SQL Agent: SQL agent built with LangGraph state machines

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

pixie_examples-0.2.6.dev5.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixie_examples-0.2.6.dev5-py3-none-any.whl (50.5 kB view details)

Uploaded Python 3

File details

Details for the file pixie_examples-0.2.6.dev5.tar.gz.

File metadata

  • Download URL: pixie_examples-0.2.6.dev5.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for pixie_examples-0.2.6.dev5.tar.gz
Algorithm Hash digest
SHA256 261bb2438be08fede0a9df0cb7e39e57a9449f67e5c708c03b4711d675a19cce
MD5 a9c66b060895c841bcb48c613bd47dc4
BLAKE2b-256 129329519407fbfabfdd4fdbbe96b9ad5a1671bbd9b718084f2d5e8f653f0dd4

See more details on using hashes here.

File details

Details for the file pixie_examples-0.2.6.dev5-py3-none-any.whl.

File metadata

  • Download URL: pixie_examples-0.2.6.dev5-py3-none-any.whl
  • Upload date:
  • Size: 50.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.1 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for pixie_examples-0.2.6.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a008b0a1c8f11e5f4f5ddc26b17a521cf8c1130c284fd745dd6ac3b48dc2e7
MD5 bffc8cf89d9a88761aeb8a2bc205ab74
BLAKE2b-256 d0468cfda8829da7b06e799dc1778b55d958e8f34d65ac2700a21ce101f9b79a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page