Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosGolemDE: Leben als IT-Freiberufler – zwei Perspektiven(24.09.2026 um 07:03 Uhr)
Sichere ProgrammierungOpenChamber 2.0: Skills ändern, Agent läuft weiter(24.09.2026 um 09:04 Uhr)
Sichere ProgrammierungBuilding Enterprise dApps with Smart Contracts and REST APIs(21.09.2026 um 11:34 Uhr)
Sichere ProgrammierungJavaScript Array Methods: 7 Essential Methods Every Developer Needs(24.09.2026 um 08:51 Uhr)
Sichere ProgrammierungCross-Chain Bridge Risk Assessment: Gauntlet(24.09.2026 um 08:53 Uhr)
Sichere ProgrammierungWe spent thirteen weeks about to buy a bigger database(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungHow to Choose a CDN for Asia in 2026: 7 Providers Compared(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungMy deploy said Success. It went to a URL nobody visits.(24.09.2026 um 09:00 Uhr)
YouTube Security VideosGolemDE: Leben als IT-Freiberufler – zwei Perspektiven(24.09.2026 um 07:03 Uhr)
Sichere ProgrammierungOpenChamber 2.0: Skills ändern, Agent läuft weiter(24.09.2026 um 09:04 Uhr)
Sichere ProgrammierungBuilding Enterprise dApps with Smart Contracts and REST APIs(21.09.2026 um 11:34 Uhr)
Sichere ProgrammierungJavaScript Array Methods: 7 Essential Methods Every Developer Needs(24.09.2026 um 08:51 Uhr)
Sichere ProgrammierungCross-Chain Bridge Risk Assessment: Gauntlet(24.09.2026 um 08:53 Uhr)
Sichere ProgrammierungWe spent thirteen weeks about to buy a bigger database(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungHow to Choose a CDN for Asia in 2026: 7 Providers Compared(24.09.2026 um 08:54 Uhr)
Sichere ProgrammierungMy deploy said Success. It went to a URL nobody visits.(24.09.2026 um 09:00 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

ReAct vs Tool Calling: Why Your LLM Should Decide — But Never Execute

When learning LangChain or building AI agents, one question confused me early on: If LLMs can decide which tool to use, why do we still execute the tool ourselves in code? At first glance, this feels redundant — but understanding this …

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




When learning LangChain or building AI agents, one question confused me early on:




If LLMs can decide which tool to use, why do we still execute the tool ourselves in code?




At first glance, this feels redundant — but understanding this distinction is critical if you want to build production-grade agentic systems.



Let’s break down ReAct vs Tool Calling, and why tool execution must stay outside the LLM.






ReAct: Reason + Act (Old but Important)



In the ReAct pattern, the LLM produces plain text reasoning, like:




Thought: I need the length of the word "LangChain"

Action: get_text_length

Action Input: LangChain`




As developers, we:




  • Parse the text

  • Decide whether the action is valid

  • Execute the tool

  • Feed the result back to the model



Problems with ReAct:




  • Text parsing is brittle

  • Hard to validate or audit

  • Easy to hallucinate actions

  • Difficult to scale reliably



ReAct was powerful — but not safe or structured enough for production.






Tool Calling: Structured Decisions, Safer Systems



Tool calling improves on ReAct by letting the LLM return structured intent, for example:



{

"tool_calls": [

{

"name": "get_text_length",

"args": { "text": "LangChain" }

}

]

}



Here’s the key shift:




The LLM is not executing the tool —

it is requesting the tool to be executed.




This is not a limitation.

This is a feature.






Why the LLM Should NOT Execute Tools



Even with tool calling, the execution is handled by your code (agent runtime). Why?



Because LLMs:




  • Cannot safely execute code

  • Should not access databases or APIs directly

  • Must not trigger irreversible actions (calls, payments, emails)



Instead, we separate responsibilities:




LLM → decides intent

Runtime → validates + executes

LLM → reasons on the result




This separation enables:




  • Security & sandboxing

  • Retry and timeout logic

  • Observability (LangSmith, tracing)

  • Deterministic behavior

  • Compliance and auditability



This is why, in LangChain examples, when you observe invoking the tool manually — not because the LLM can’t decide, but because it shouldn’t execute.






Mental Model That Finally Clicked for Me



Wrong model




“LLM decides and executes tools”




Correct model




LLM decides → system executes → LLM reasons




This is the same pattern used in:




  • LangGraph

  • Multi-agent workflows

  • Production AI systems

  • Real-world agent platforms






Why This Matters in Real Systems



If you’re building:




  • AI agents

  • RAG pipelines

  • Conversational bots

  • Outbound calling agents

  • Workflow automation



You must keep execution outside the model.




LLMs reason.

Systems act.







Closing



ReAct taught us how agents think.

Tool calling teaches us how agents behave safely.



Once this clicked for me, agent architectures finally made sense.



If you’re learning LangChain or building agentic systems, I’d love to hear:

what part confused you the most at first?

SOC Incident Playbook: Vulnerability Remediation & Verification
title: Detect Exploitation - ReAct vs Tool Calling: Why Your LLM Should Decide — But Never Execute
id: 1b63489c-c928-4c91-8b1b-1dae3fa67a86
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "ReAct vs Tool Calling: Why You" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich ReAct vs Tool Calling: Why Your LLM Shou.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ReAct vs Tool Calling: Why Your LLM Should Decide — But Never Execute

Thematisch verwandte Begriffe: ReAct, Tool, Calling, Your · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96772 | A security flaw has been discovered in Intelliants Subrion CMS up to 4.2…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick