Skip to content

Comments

Feature/alex end to end#1

Merged
AtomicAlexD merged 9 commits intomainfrom
feature/alex_end_to_end
Oct 15, 2025
Merged

Feature/alex end to end#1
AtomicAlexD merged 9 commits intomainfrom
feature/alex_end_to_end

Conversation

@AtomicAlexD
Copy link
Member

This pull request introduces two new CLI chat applications demonstrating DSPy fundamentals: a simple single-agent chat app (src/app.py) and a more advanced multi-agent orchestration app (src/multi.py). Both apps feature a rich terminal UI using the rich library, integrate external tools (weather, dice, coin flip), and showcase DSPy’s ReAct agent capabilities. The multi-agent app further demonstrates expert agent orchestration and intelligent routing.

New DSPy Chat Applications:

  • Added src/app.py: A single-agent DSPy chat app with a conversational interface, tool usage (weather, dice, coin flip), and context/history management. The app uses DSPy’s ReAct agent and provides a rich CLI experience.
  • Added src/multi.py: An advanced multi-agent DSPy chat app that introduces expert agents (Weather Expert, Games Expert) and an orchestrator agent to intelligently route user questions to the appropriate expert. Also features a rich CLI, tool integration, and conversation history.

Tool and Agent Integration:

  • Both apps integrate external tools for weather lookup (using Open-Meteo API), dice rolling, and coin flipping, with robust error handling and result formatting. [1] [2]
  • In src/multi.py, specialized expert agents are created for weather and games, each with custom signatures and personalities, and are orchestrated by a top-level agent for intelligent routing.

User Experience Enhancements:

  • Both apps use the rich library for visually appealing panels, markdown rendering, and status spinners, enhancing the CLI chat experience. [1] [2]
  • Conversation history is maintained and can be displayed on demand, improving usability and transparency. [1] [2]

DSPy Fundamentals Demonstrated:

  • Apps showcase DSPy Signatures, Predictors, ReAct agent tool usage, and context/history management, making them educational examples for learning DSPy. [1] [2]

@AtomicAlexD AtomicAlexD merged commit c1b8935 into main Oct 15, 2025
1 check passed
@AtomicAlexD AtomicAlexD deleted the feature/alex_end_to_end branch October 15, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant