initial commit: slides + practica_resueltos + README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-29 11:50:55 +02:00
commit 0aff31e2d3
203 changed files with 23207 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
---
layout: default
---
# Checkpointer: SqliteSaver
<div class="mt-4 text-xs">
<v-click>
**SqliteSaver**: Persistencia en SQLite (local)
```bash
npm install @langchain/langgraph-checkpoint-sqlite
```
</v-click>
<v-click>
```typescript
import { createAgent } from "langchain";
import { SqliteSaver } from "@langchain/langgraph-checkpoint-sqlite";
const checkpointer = SqliteSaver.fromConnString("./agent_memory.db");
await checkpointer.setup(); // Crear tablas
const agent = createAgent({
model: "mistral:mistral-large-latest",
tools: [weatherTool],
checkpointer,
});
// El estado persiste aunque reinicies la aplicación
```
</v-click>
<v-click>
<div class="mt-4 text-xs opacity-80">
Ideal para desarrollo local y aplicaciones de usuario único
</div>
</v-click>
</div>