From 3e91813cff18580476809a2ee09847b4a0bd9b8c Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 11 Sep 2026 11:22:06 -0600 Subject: [PATCH] feat: removed temperature specification in deep-research and finding-verifier agents to make them more univerally usable --- assets/agents/deep-research/graph.yaml | 50 +++++++++++------------ assets/agents/finding-verifier/graph.yaml | 3 +- 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/assets/agents/deep-research/graph.yaml b/assets/agents/deep-research/graph.yaml index 043fb7f..4aa2b25 100644 --- a/assets/agents/deep-research/graph.yaml +++ b/assets/agents/deep-research/graph.yaml @@ -13,7 +13,7 @@ description: | node type (script, llm, rag, map, agent, input, approval, end) and both static fan-out and dynamic map fan-out. -version: "1.0" +version: '1.0' global_tools: - web_search_coyote.sh @@ -24,8 +24,8 @@ mcp_servers: - ddg-search conversation_starters: - - "How does HTTP/3 differ from HTTP/2?" - - "Summarize recent advances in solid-state battery chemistry" + - 'How does HTTP/3 differ from HTTP/2?' + - 'Summarize recent advances in solid-state battery chemistry' settings: max_loop_iterations: 40 @@ -34,15 +34,14 @@ settings: max_concurrency: 4 initial_state: - research_feedback: "" + research_feedback: '' research_attempts: 0 - local_context: "" - local_sources: "" + local_context: '' + local_sources: '' start: parse_request nodes: - parse_request: id: parse_request type: script @@ -52,10 +51,10 @@ nodes: ask_topic: id: ask_topic type: input - question: "What would you like me to research?" - validation: "len(input) > 0" + question: 'What would you like me to research?' + validation: 'len(input) > 0' state_updates: - topic: "{{input}}" + topic: '{{input}}' next: bootstrap_research bootstrap_research: @@ -77,7 +76,7 @@ nodes: are precise, self-contained queries (each one is sent on its own to a separate research worker, so they must be answerable without each other's context). - prompt: "Research topic: {{topic}}" + prompt: 'Research topic: {{topic}}' tools: [] output_schema: type: object @@ -99,19 +98,19 @@ nodes: type: rag documents: - ./knowledge/ - query: "{{topic}}" + query: '{{topic}}' top_k: 6 chunk_size: 1000 chunk_overlap: 100 state_updates: - local_context: "{{output.context}}" - local_sources: "{{output.sources}}" + local_context: '{{output.context}}' + local_sources: '{{output.sources}}' next: research_each_question research_each_question: id: research_each_question type: map - over: "{{questions}}" + over: '{{questions}}' as: question branch: research_one_question collect_into: question_findings @@ -152,9 +151,8 @@ nodes: - mcp:ddg-search max_iterations: 10 max_attempts: 2 - temperature: 0.1 state_updates: - finding: "{{output}}" + finding: '{{output}}' combine_findings: id: combine_findings @@ -180,7 +178,7 @@ nodes: - classify_source max_iterations: 15 state_updates: - source_assessment: "{{output}}" + source_assessment: '{{output}}' next: critique critique: @@ -220,7 +218,7 @@ nodes: {{source_assessment}} tools: [] state_updates: - critique: "{{output}}" + critique: '{{output}}' next: reflexion_gate reflexion_gate: @@ -245,7 +243,7 @@ nodes: Produce the final report following your instructions. timeout: 300 state_updates: - report: "{{output}}" + report: '{{output}}' next: verify_sources verify_sources: @@ -269,14 +267,14 @@ nodes: Accept this report? Pick "accept" or "reject", or type specific feedback to send the research back for another pass. options: - - "accept" - - "reject" + - 'accept' + - 'reject' routes: - "accept": end_accepted - "reject": end_rejected + 'accept': end_accepted + 'reject': end_rejected on_other: incorporate_feedback state_updates: - decision: "{{choice}}" + decision: '{{choice}}' incorporate_feedback: id: incorporate_feedback @@ -286,7 +284,7 @@ nodes: end_accepted: id: end_accepted type: end - output: "{{report}}" + output: '{{report}}' end_rejected: id: end_rejected diff --git a/assets/agents/finding-verifier/graph.yaml b/assets/agents/finding-verifier/graph.yaml index 58472a4..5e91756 100644 --- a/assets/agents/finding-verifier/graph.yaml +++ b/assets/agents/finding-verifier/graph.yaml @@ -147,9 +147,8 @@ nodes: - fs_grep max_iterations: 8 max_attempts: 2 - temperature: 0.1 state_updates: - verdict: "{{output}}" + verdict: '{{output}}' done: id: done