---
layout: default
---

# Resumen: Agentes LangChain v1

<div class="mt-6 text-xs space-y-3">

<v-click>
<div class="border-l-4 border-blue-500 pl-4 bg-blue-50 dark:bg-blue-900/20 p-2">
  <code class="font-bold">createAgent</code> - Punto de entrada principal
</div>
</v-click>

<v-click>
<div class="border-l-4 border-green-500 pl-4 bg-green-50 dark:bg-green-900/20 p-2">
  <code class="font-bold">model</code> - String ("mistral:mistral-large-latest") o instancia ChatModel
</div>
</v-click>

<v-click>
<div class="border-l-4 border-purple-500 pl-4 bg-purple-50 dark:bg-purple-900/20 p-2">
  <code class="font-bold">systemPrompt</code> - String o SystemMessage
</div>
</v-click>

<v-click>
<div class="border-l-4 border-orange-500 pl-4 bg-orange-50 dark:bg-orange-900/20 p-2">
  <code class="font-bold">tools</code> - Array de tools definidas con Zod
</div>
</v-click>

<v-click>
<div class="border-l-4 border-red-500 pl-4 bg-red-50 dark:bg-red-900/20 p-2">
  <code class="font-bold">checkpointer</code> - MemorySaver | SqliteSaver | PostgresSaver
</div>
</v-click>

<v-click>
<div class="border-l-4 border-cyan-500 pl-4 bg-cyan-50 dark:bg-cyan-900/20 p-2">
  <code class="font-bold">middleware</code> - Array para customización (prompts, límites, HITL)
</div>
</v-click>

<v-click>
<div class="border-l-4 border-yellow-500 pl-4 bg-yellow-50 dark:bg-yellow-900/20 p-2">
  <code class="font-bold">stream()</code> - updates | values | messages
</div>
</v-click>

</div>
