Skip to main content

Module conversational

Module conversational 

Source
Expand description

Conversational compiler tools — NativeSkill implementations that power the multi-turn compiler agent.

Three tools are registered for conversational compilation:

  • uar.session.update_section — Parse a Markdown snippet and merge into the session’s partial IR
  • uar.session.check_completeness — Return which sections are present/missing
  • uar.session.compile — Trigger compilation when all sections are complete

These tools are designed to be called by the LLM orchestrator during a conversational compilation session. The LLM drives the conversation, asking the user for information, then calling these tools to update the session.

Structs§

CheckCompletenessTool
Tool that checks the completeness of a compilation session.
CompileSessionTool
Tool that triggers compilation of a complete session.
CompilerSessionStore
Thread-safe session store for conversational compilation.
UpdateSectionTool
Tool that parses a partial Markdown snippet and merges extracted sections into the session’s partial IR.

Constants§

COMPILER_AGENT_SYSTEM_PROMPT
The system prompt for the conversational compiler agent. This is used to initialize the LLM with knowledge of the UAR-AGENT-MD format.