Repository navigation
feat: demo database seed and multi-tool end-to-end demo - #41
Merged
Merged
Conversation
- Add tests verifying existence and execution of scripts/seed_demo_db.sql - Test multi-step reasoning workflow combining sql_readonly with calculator - Test offline execution mode of examples/demo.py
- Create scripts/seed_demo_db.sql with demo products and orders datasets - Implement examples/demo.py solving multi-step SQL querying + AST calculator problem - Support offline execution mode via FakeLLMClient alongside live LLM providers - Update integration tests in tests/integration/test_demo.py to verify seed and demo execution
getdownandcode
commented
Sep 29, 2026
getdownandcode
left a comment
Owner
Author
There was a problem hiding this comment.
Self-review: scripts/seed_demo_db.sql, examples/demo.py, and tests/integration/test_demo.py fully satisfy M12-T01 criteria with clean multi-step reasoning, offline testability, and ANSI standard SQL tables.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements Milestone 12 Task 1 (
M12-T01).Changes
scripts/seed_demo_db.sql: Seeds sampleproductsandorderstables with realistic data.examples/demo.py: End-to-end script demonstrating an autonomous ReAct agent resolving a multi-step analytical problem by querying a seeded database usingsql_readonlyand computing revenue + sales tax using thecalculatortool. Supports completely offline execution viaFakeLLMClientand live execution with Gemini or OpenAI when API keys are available.tests/integration/test_demo.py: Comprehensive tests verifying SQL seed execution, multi-tool agent reasoning workflow, and demo script offline execution.Verification