Skip to main content
System Prompts for LangGraph Nodes. These multi-line strings define the core persona, instructions, and few-shot examples for the LLM agents operating within the orchestrator’s state machine. They are dynamically interpolated at runtime using str.format() to inject the chosen frameworks and context variables.

react_agent.prompts.SYSTEM_PROMPT_EXTRACTION

Information Extraction prompt used at the very beginning of the graph execution. Its purpose is strictly to classify intent (translation type) and extract the raw code.

react_agent.prompts.SYSTEM_PROMPT_SCHEMA_INSPECTOR

Schema inspection prompt used prior to code translation. Guides the agent to use the MCP tools to interact with live relational and NoSQL databases.

react_agent.prompts.build_system_prompt

View Source Dynamically build the system prompt based on the specific translation pair. This function assembles a comprehensive system prompt by combining the base persona, rules, and dynamic framework configurations retrieved from the file system snippets. It injects the exact C# and Java dependencies (like pom.xml or .csproj values) directly into the prompt context so the LLM understands the exact versions it is translating for.