Skip to content

Instantly share code, notes, and snippets.

View Forwall100's full-sized avatar
🥺
still learning

Eremey Forwall100

🥺
still learning
View GitHub Profile
@abdullin
abdullin / schema-guided-reasoning.py
Last active October 18, 2025 11:20
Demo for a Schema-Guided Reasoning (Business Assistant)
"""
This Python code demonstrates Schema-Guided Reasoning (SGR) with OpenAI. It:
- implements a business agent capable of planning and reasoning
- implements tool calling using only SGR and simple dispatch
- uses with a simple (inexpensive) non-reasoning model for that
To give this agent something to work with, we ask it to help with running
a small business - selling courses to help to achieve AGI faster.