feat: migrate agent to LangGraph and improve CMU Maps routing #3

Merged
Jc-965 merged 0 commits from langgraph-implementation into main 2026-06-23 21:38:10 +00:00
Jc-965 commented 2026-06-19 02:54:21 +00:00 (Migrated from codeberg.org)

Summary

  • Replace the custom agent loop with a LangGraph StateGraph.
  • Add graph nodes for model responses, MCP tool execution, post-processing, and streaming.
  • Separate prompts, tool loading, response guards, and deterministic CMU Maps logic into dedicated modules.
  • Load CMU building names, codes, and aliases from buildings.json.
  • Improve location matching, direction generation, and false map-failure handling.
  • Update dependencies, tests, and API integration for the new architecture.

Why

This makes the agent workflow easier to maintain and extend while improving CMU Maps coverage and producing more reliable location and routing responses.

## Summary - Replace the custom agent loop with a LangGraph `StateGraph`. - Add graph nodes for model responses, MCP tool execution, post-processing, and streaming. - Separate prompts, tool loading, response guards, and deterministic CMU Maps logic into dedicated modules. - Load CMU building names, codes, and aliases from `buildings.json`. - Improve location matching, direction generation, and false map-failure handling. - Update dependencies, tests, and API integration for the new architecture. ## Why This makes the agent workflow easier to maintain and extend while improving CMU Maps coverage and producing more reliable location and routing responses.
krishsaxena commented 2026-06-21 16:00:41 +00:00 (Migrated from codeberg.org)

@Jc-965 please account for recent changes to main and resolve conflicts

@Jc-965 please account for recent changes to main and resolve conflicts
Sign in to join this conversation.
No description provided.