Hasty Briefsbeta

Bilingual

Show HN: OpenAI Agents SDK demos made durable and scalable with Temporal

9 months ago
  • #Temporal
  • #Python-SDK
  • #OpenAI
  • This repository contains four standalone demos showcasing the OpenAI Agents Python SDK integrated with Temporal's durable execution.
  • Requirements include Python 3.10+, a locally running Temporal Server, and an OpenAI API key with sufficient quota.
  • Installation involves cloning the repository, installing dependencies with `uv sync`, and setting the OpenAI API key.
  • PDF generation dependencies are optional and require WeasyPrint and system-specific installations.
  • Demos include a haiku-generating agent, a weather tool agent, a research system generating markdown reports, and an interactive research workflow with PDF generation.
  • The interactive research workflow involves multiple agents for query analysis, clarification, planning, searching, writing, and PDF generation.
  • The repository structure includes workflows for each demo, research agent components, and utility scripts for running demos.
  • Code formatting and type checking can be performed using Black, isort, mypy, and pyright.
  • The project uses Temporal for workflow orchestration, OpenAI Agents SDK for NLP, and supports multi-agent systems and interactive workflows.
  • Licensed under MIT License.