AI AgentsLangChain
How do you maintain conversation history across agent turns?
Question 305 of 324 · Updated
On this page
- Direct answer
- 1. Understand a turn, a message and a thread
- 2. Configure a checkpointer and invoke multiple turns
- 3. Send the new message, not the entire saved history
- Checkpointed state versus manually managed history
- 4. Preserve message order and tool-call correlation
- 5. Retrieve the authorized current state and history
- 6. Isolate conversations and coordinate concurrent requests
- 7. Tested Python implementation: completed-turn history repository
- 8. Recovery, duplicate requests and authoritative history
- 9. Choose appropriate persistence and retrieval boundaries
- 10. Production integration and verification plan
- Interview-ready answer
- Official documentation research leads and verification status
Direct answer#
Configure a LangChain agent with a checkpointer, supply the same authorized thread_id in the configurable invocation settings on each turn, and send the new user message rather than repeatedly submitting the entire conversation. The agent's messages state accumulates the conversation and intermediate tool observations according to the graph's message reducer. A checkpointer allows the runtime to retrieve prior thread state on later invocations. InMemorySaver is a convenient development checkpointer, but a durable backend is required when history must survive process restarts.
Treat a conversation thread as an application-owned security and ordering boundary. Authenticate the user, authorize access to the thread, preserve message order and tool-call correlation, and prevent concurrent or duplicate requests from silently corrupting history. Checkpointing does not establish authorization, guarantee external idempotency, or make a transcript equivalent to an immutable audit log.
Earlier lessons #55, #56 and #151 cover general checkpointing. LangChain source #15 (AI Agents #295) covers access to persistent state and stores from inside tools. This lesson specifically teaches multi-turn message accumulation, thread selection, history retrieval and completed-turn consistency. Message classes and content blocks, history trimming, summarization and the broader memory architecture are reserved for the following lessons.
1. Understand a turn, a message and a thread#
A user-visible conversation turn can contain more than two messages. In a simple chat exchange, a user message is followed by an assistant response. In an agent, the model may first request several tools, receive their results, and then produce a final response. These intermediate messages are important execution evidence even if the chat UI does not display them.
| Concept | Meaning |
|---|---|
| Message | A typed item in conversation state, such as a user request or a tool observation |
| Turn | A logical user request and the agent activity that responds to it |
| Invocation | One entry into the agent runtime; an interrupted turn may require additional invocations |
| Thread | The identity under which a graph maintains conversation state across invocations |
| Checkpoint | A persisted graph state snapshot and execution metadata at a supported runtime boundary |
| Display transcript | An authorized user-facing projection of the conversation |
Suppose a fictional customer asks, "Track order O-1." The agent obtains status evidence and says, "Order O-1 has shipped." The next user message is "Which order did you check?" With the same conversation state, the model can refer to O-1. A new thread has no entitlement to that earlier interaction.
A thread can contain several turns, and one turn can include several model and tool calls. Do not use a tool-call identifier as the thread ID. It serves a different purpose: associating a tool response with its corresponding model proposal.
This diagram is conceptual. Actual checkpoints may be created at multiple graph execution boundaries within a turn. A checkpoint is not necessarily written only after the final assistant response.
2. Configure a checkpointer and invoke multiple turns#
The modern LangChain create_agent interface accepts a checkpointer. The following example illustrates a minimal conversational agent without business tools, so its purpose is to isolate conversation continuity.
PYTHONfrom langchain.agents import create_agent from langgraph.checkpoint.memory import InMemorySaver checkpointer = InMemorySaver() agent = create_agent( model="openai:gpt-4o-mini", tools=[], checkpointer=checkpointer, system_prompt="Answer the user's fictional support conversation.", ) # The application has authenticated and authorized the caller first. config = {"configurable": {"thread_id": "demo-thread-1"}} first = agent.invoke( {"messages": [{"role": "user", "content": "My fictional order reference is O-1."}]}, config=config, ) second = agent.invoke( {"messages": [{"role": "user", "content": "Which order reference did I provide?"}]}, config=config, ) for message in second["messages"]: print(message.type, message.content)
The intended behavior is that the second invocation can use messages from the first. A model may still misinterpret or forget a fact despite receiving the history; the checkpointer preserves state, not factual model accuracy. Verify the actual messages and final outcome when testing a real deployment.
SDK verification: LangChain, langchain_core and langgraph were absent from the local Python environment. All framework-specific examples are illustrative and unexecuted. The standalone history repository in section 7 was actually executed with Python 3.13.5 and SQLite 3.46.1 and passed 15 checks. Verify the installed LangChain/LangGraph APIs, provider integration and message merge behavior before deployment. The model ID is illustrative, not a claim of live availability.
Reuse the checkpointer and authorized thread configuration across turns. Constructing a new InMemorySaver for every HTTP request would lose the earlier in-process state. A separate checkpointer instance in another process also does not automatically share the same memory. For application startup and shutdown, manage the chosen backend's lifecycle appropriately.
For an asynchronous host, the analogous invocation is await agent.ainvoke(..., config=config) using compatible asynchronous dependencies. Do not run blocking persistence operations on the event loop without an appropriate integration.
3. Send the new message, not the entire saved history#
In a checkpointed agent, the runtime loads the thread state and applies the new invocation input through the graph's state update semantics. The default agent messages channel uses message accumulation semantics rather than simply treating each turn as an unrelated fresh list.
In typical LangGraph message-state implementations, add_messages merges messages by identity: new IDs are appended and existing IDs may update the corresponding messages. This is more nuanced than concatenating two Python lists. Exact behavior, generated IDs and supported removal operations depend on the graph and installed version. An application should not assume the channel is an immutable append-only log.
| Pattern | Input on next invocation | Consequence |
|---|---|---|
| Checkpointed conversation | New user message and same authorized thread | Runtime continues from saved state |
| Stateless conversation | Full correctly ordered context supplied by trusted host | Host owns history assembly |
| Incorrect mixed approach | Repeated full transcript with fresh message IDs plus checkpointed state | Can duplicate messages and increase context usage |
| Message correction | Explicit supported update to an identified message | May replace an existing message rather than append |
| New conversation | New authorized thread identifier | No inherited history unless explicitly imported under policy |
Do not arbitrarily resend earlier assistant or tool messages with different IDs. The runtime may interpret them as additional messages. Do not accept a browser-supplied conversation array as authoritative state: a caller could insert fake assistant messages or tool observations. Accept the new authorized user input, then assemble or restore the history in trusted code.
A stable application request ID can help deduplicate retries at the ingress or transcript boundary. That request ID is not automatically a LangChain message ID, graph checkpoint ID or model tool-call ID. Define how each identity is assigned and used.
Checkpointed state versus manually managed history#
If a system does not use a checkpointer, it can maintain the complete conversation in an application-owned repository and supply the required history to the agent on each invocation. This approach is valid when the host explicitly owns the persistence and context assembly. The important principle is to choose an authority for the messages channel and avoid accidental double accumulation.
If both an application transcript and graph checkpoints are maintained, specify which record is authoritative for execution and which is a projection for display, search or support. They are not automatically committed in the same transaction.
The model-facing context may be a bounded projection of the stored conversation rather than the entire transcript. Detailed context trimming and summarization are addressed in later questions.
4. Preserve message order and tool-call correlation#
An agent transcript must retain enough structure to interpret tool results correctly. A common sequence is:
| Order | Message role | Meaning |
|---|---|---|
| 1 | User | Track fictional order O-1 |
| 2 | Assistant | Requests status with call ID c1 and delivery evidence with c2 |
| 3 | Tool | Result associated with c2 |
| 4 | Tool | Result associated with c1 |
| 5 | Assistant | Final response based on verified evidence |
| 6 | User | Follow-up question |
| 7 | Assistant | Final response to follow-up |
Independent tool calls can finish in a different order than their proposals. In the illustration, c2 returns before c1. Preserve correlation IDs rather than associating observations by completion position. The provider may impose particular ordering and grouping rules when serializing these messages; retain the required message sequence and verify the actual adapter contract.
A result for an unknown call ID is not evidence for an arbitrary preceding tool. A duplicate result for the same call may indicate retry duplication or incorrect dispatch. A new final answer should not be accepted as a fully completed turn when required tool results are still missing.
The actual LangChain messages and content-block interfaces are taught in source questions #26–28. Here the key invariant is that persisted history must allow the runtime to understand which events belong together.
Parallel execution in the diagram is illustrative; actual scheduling depends on provider requests, graph execution and application policy.
Do not flatten tool observations and user messages into one undifferentiated text field for future execution. A flattened chat transcript may be useful for an authorized display, but it is not necessarily suitable for replaying the original provider conversation.
5. Retrieve the authorized current state and history#
With a compatible checkpointed graph-backed agent, the current state can commonly be inspected using get_state with the same authorized configuration. Check the installed graph's state snapshot interface.
PYTHON# Illustrative: authenticate and authorize before calling get_state. snapshot = agent.get_state(config) messages = snapshot.values.get("messages", []) # A display projection only; actual visibility and content policy # must be decided by the trusted application. for message in messages: if message.type in ("human", "ai"): print(message.type, message.content)
This example is unexecuted. Filtering by message type alone is not a complete display policy: an AI message can contain tool proposals, internal metadata or content that should not be displayed. A production application must distinguish user-visible final responses from intermediate messages and project only authorized content.
Some graph interfaces also expose checkpoint history through get_state_history(config). That is a sequence of state snapshots, not a list of individual conversation turns. Snapshot ordering, pagination and returned metadata depend on the implementation. Iterating every snapshot and concatenating each snapshot's messages can repeatedly include the same earlier messages.
For a chat UI, retrieving the latest message state or a dedicated indexed transcript projection is often more useful than enumerating every checkpoint. For debugging or recovery, historical snapshots may be valuable if access controls and retention permit it.
A paused or failed invocation may have a checkpoint with an incomplete turn. Do not display it as a completed answer merely because messages exist. Use execution status, finalization evidence and the runtime's supported interrupt/resume semantics.
6. Isolate conversations and coordinate concurrent requests#
A thread identifier is a routing key, not an authentication credential. The application should maintain a trusted mapping from a server-generated thread identifier to its tenant, owner or explicitly authorized participant set.
| Caller | Requested thread | Decision |
|---|---|---|
| Alice, tenant A | Alice's thread T1 | Permit if current policy allows |
| Alice, tenant A | Alice's different thread T2 | Permit independently; do not merge history |
| Eve, tenant A | Alice's private T1 | Deny unless explicitly shared |
| Bob, tenant B | Alice's T1 | Deny |
| Unknown or revoked caller | Any private thread | Deny |
Do not derive thread identity solely from a user ID: one person may have several unrelated conversations. Do not reuse a static thread ID for every customer. Do not expose a raw checkpoint API with no ownership check. A globally unique opaque identifier reduces accidental collisions and guessing but does not replace authorization.
If two requests concurrently enter the same thread, each may reason from the same prior state. Without a documented conflict policy, their answers may be inconsistent or overwrite state. Choose a supported strategy such as single-flight per thread, an ordered queue, or optimistic version checks and explicit conflict handling. Verify the deployed LangChain/LangGraph runtime and checkpointer behavior rather than assume it serializes every concurrent invocation.
Across different threads, concurrency can often proceed independently subject to shared resource quotas. Avoid process-global mutable variables holding the current user, current thread or last conversation.
A request that times out at the browser can still be running on the server. A second submission should not automatically create a duplicate turn or rerun an external operation. Use application-owned request IDs and durable execution tracking appropriate to the workload.
7. Tested Python implementation: completed-turn history repository#
The following runnable teaching example uses Python's standard-library sqlite3 module. It stores completed turns in sequence, authorizes access to each thread, verifies a deliberately narrow tool-call event format, and rejects stale writes and changed duplicate requests.
It is not a LangGraph checkpointer, does not implement the LangChain message schema, and cannot resume an interrupted graph. Its purpose is to demonstrate application-level conversation history invariants that can be tested independently.
PYTHONimport json, sqlite3, sys, importlib.util from tempfile import TemporaryDirectory from pathlib import Path class Conflict(Exception): pass class Denied(Exception): pass # A deliberately narrow completed-turn format, not LangChain's message schema. def validate_turn(events): if len(events) < 2 or events[0]['role'] != 'user': raise ValueError('turn must start with user') pending, seen = set(), set() for i, e in enumerate(events[1:], 1): role = e['role'] if role == 'assistant': if pending: raise ValueError('missing tool results') calls = e.get('calls', []) if len(set(calls)) != len(calls) or seen.intersection(calls): raise ValueError('duplicate call ID') seen.update(calls); pending.update(calls) if not calls and i != len(events)-1: raise ValueError('unexpected intermediate final') elif role == 'tool': call = e.get('call_id') if call not in pending: raise ValueError('unmatched tool result') pending.remove(call) else: raise ValueError('unexpected role') if pending or events[-1]['role'] != 'assistant' or events[-1].get('calls'): raise ValueError('incomplete turn') class History: def __init__(self, path): self.db = sqlite3.connect(path) self.db.executescript('''CREATE TABLE IF NOT EXISTS threads( id TEXT PRIMARY KEY, tenant TEXT NOT NULL, owner TEXT NOT NULL); CREATE TABLE IF NOT EXISTS turns( thread TEXT NOT NULL, seq INTEGER NOT NULL, request TEXT NOT NULL, payload TEXT NOT NULL, PRIMARY KEY(thread,seq), UNIQUE(thread,request));''') def create(self, thread, tenant, owner): with self.db: self.db.execute('INSERT INTO threads VALUES(?,?,?)',(thread,tenant,owner)) def authorize(self, thread, tenant, owner): row = self.db.execute('SELECT tenant,owner FROM threads WHERE id=?',(thread,)).fetchone() if row != (tenant,owner): raise Denied('conversation unavailable') def read(self, thread, tenant, owner): self.authorize(thread,tenant,owner) rows = self.db.execute('SELECT payload FROM turns WHERE thread=? ORDER BY seq',(thread,)) return [event for (payload,) in rows for event in json.loads(payload)] def append(self, thread, tenant, owner, request, expected, events): validate_turn(events) payload = json.dumps(events, sort_keys=True, allow_nan=False) with self.db: self.db.execute('BEGIN IMMEDIATE') self.authorize(thread,tenant,owner) old = self.db.execute('SELECT seq,payload FROM turns WHERE thread=? AND request=?',(thread,request)).fetchone() if old: if old[1] != payload: raise Conflict('request payload changed') return old[0] seq = self.db.execute('SELECT coalesce(max(seq),0) FROM turns WHERE thread=?',(thread,)).fetchone()[0] if seq != expected: raise Conflict('stale history') self.db.execute('INSERT INTO turns VALUES(?,?,?,?)',(thread,seq+1,request,payload)) return seq+1 def rejects(kind, fn): try: fn() except kind: return raise AssertionError('expected rejection') with TemporaryDirectory() as tmp: path = Path(tmp)/'history.db' h = History(path); h.create('t1','a','alice'); h.create('t2','a','alice'); h.create('t3','b','bob') one = [{'role':'user','text':'Track O-1'}, {'role':'assistant','calls':['c1','c2']}, {'role':'tool','call_id':'c2','text':'in transit'}, {'role':'tool','call_id':'c1','text':'shipped'}, {'role':'assistant','text':'O-1 shipped'}] two = [{'role':'user','text':'Which order?'},{'role':'assistant','text':'O-1'}] assert h.read('t1','a','alice') == [] assert h.append('t1','a','alice','r1',0,one)==1 assert h.append('t1','a','alice','r2',1,two)==2 assert h.read('t1','a','alice')==one+two assert h.read('t2','a','alice')==[] and h.read('t3','b','bob')==[] rejects(Denied,lambda:h.read('t1','b','bob')) rejects(Denied,lambda:h.read('t1','a','eve')) rejects(Denied,lambda:h.append('t1','b','bob','r3',2,two)) assert h.append('t1','a','alice','r1',0,one)==1 rejects(Conflict,lambda:h.append('t1','a','alice','r1',0,two)) other=History(path) rejects(Conflict,lambda:other.append('t1','a','alice','r3',1,two)) rejects(ValueError,lambda:validate_turn(one[:3]+one[-1:])) rejects(ValueError,lambda:validate_turn(one[:2]+[{'role':'tool','call_id':'unknown'}]+one[3:])) rejects(ValueError,lambda:validate_turn(one[:3]+[one[2]]+one[3:])) h.db.close(); other.db.close(); h=History(path) assert h.read('t1','a','alice')==one+two h.db.close() print('15 checks passed') print(sys.version.split()[0],sqlite3.sqlite_version) print({p:importlib.util.find_spec(p) is not None for p in ['langchain','langchain_core','langgraph']})
Actual local execution output:
15 checks passed
3.13.5 3.46.1
{'langchain': False, 'langchain_core': False, 'langgraph': False}| Test | Verified behavior |
|---|---|
| Empty thread | Returns empty history |
| First completed turn | Stored as sequence 1 |
| Follow-up turn | Stored as sequence 2 |
| Accumulation | Ordered history equals first turn plus second turn |
| Other threads | Same-user different thread and other tenant's thread remain empty |
| Cross-tenant read | Denied |
| Cross-subject read | Denied |
| Cross-tenant append | Denied |
| Exact duplicate request | Returns original sequence without duplicating history |
| Same request ID, changed payload | Conflict |
| Stale expected sequence using separate connection | Conflict |
| Missing tool observation | Invalid completed turn rejected |
| Unknown tool-call ID | Rejected |
| Repeated tool observation | Rejected |
| Close and reopen SQLite database | Committed conversation remains available |
The assistant responses in the test are scripted strings, not generated by a model. The test confirms ordered history retrieval but does not establish that a real model uses the earlier messages correctly.
The code's SQLite transaction uses BEGIN IMMEDIATE to coordinate writes and checks the expected sequence within that transaction. The second-connection test reproduces a sequential stale-write scenario; it is not a simultaneous contention test or a throughput benchmark. SQLite lock handling, timeouts and multi-worker deployment require separate testing.
The request identifier deduplicates identical completed-turn payloads in this repository. It does not prevent duplicate model generation or business operations before the append call. A production ingress should establish the logical request identity before execution and track in-progress as well as completed requests. A changed generation for an already used request ID produces a conflict in this example.
The validator assumes cooperating callers supply well-formed event dictionaries with the documented roles and string call IDs. It is intentionally narrow: it is not a general message schema validator, does not validate every field or content type, rejects incomplete turns, and scopes call-ID uniqueness to one completed turn. The host must perform complete input validation and authorization. For production, use a foreign key or appropriate integrity mechanism linking turns to threads, validated identifiers, bounded payload sizes, indexed pagination, and an ownership policy that remains consistent during reads and writes. The synthetic example assumes thread ownership does not change during a read. It neither authenticates principals nor implements sharing, deletion, revocation transactions or robust connection cleanup on failure.
8. Recovery, duplicate requests and authoritative history#
Consider two requests that both start after completed turn sequence 2. The first appends sequence 3. The second attempts to append based on its stale expectation of sequence 2. Under the tested policy, that append is rejected rather than silently inserted as though it had seen the first request's result.
This is a model of optimistic conflict detection at the completed-turn repository. It does not assert that LangChain checkpointers implement the same compare-and-set interface. For an action-capable agent, rejecting a stale transcript write after execution is too late to prevent external side effects. Admit or queue requests before starting the operation, and enforce domain idempotency separately.
If a process fails midway through a real graph invocation, the latest checkpoint may contain an incomplete sequence of model and tool activity. Use the actual runtime's supported recovery path; do not manufacture a final assistant message or append a second copy of the user turn without determining the prior state.
An application maintaining a display transcript alongside checkpointed state should use stable correlation IDs to reconcile missing projections. If the graph state records a completed answer but the display projection was not written, the application may rebuild that authorized projection. If the graph has only partial execution evidence, preserve the incomplete status.
A checkpoint restore is not a rollback of business actions. If a mutation might already have committed, query the authoritative service using its durable logical operation identity before replaying the action or reporting success.
9. Choose appropriate persistence and retrieval boundaries#
InMemorySaver is appropriate for local demonstrations and unit tests of compatible graph behavior. It stores data in process memory; it is not durable across process restarts and does not share state automatically across worker processes.
For persistent production threads, select a durable checkpointer compatible with the installed graph runtime. Modern LangGraph integrations can support database-backed checkpointers, including PostgreSQL implementations; package availability, setup requirements, migrations, synchronous/asynchronous APIs and durability modes must be verified for the selected release. Manage the underlying database connections and schema through supported lifecycle and migration procedures.
| History requirement | Recommended boundary |
|---|---|
| Continue graph conversation | Checkpointed messages state |
| Render user-facing transcript | Authorized projection or bounded state retrieval |
| Resume interrupted execution | Compatible runtime checkpoint and recovery metadata |
| Store immutable compliance evidence | Dedicated audited event or domain repository |
| Retrieve preferences across threads | Explicit separately authorized memory/store mechanism |
| Search many conversations | Separate indexed, permission-aware transcript service |
A full checkpoint can contain execution data that should not appear in a chat UI. Apply data minimization and redaction before storage when supported and appropriate. Define retention, deletion, backup and access policies for checkpoint tables, transcript projections, artifacts and logs. Deleting a displayed conversation does not automatically prove every checkpoint and backup was deleted.
History accumulation also affects model context usage. A fictional conversation of ten turns, each containing 60 user tokens, 100 final answer tokens and 240 intermediate tool tokens, contains approximately 4,000 logical message tokens before protocol overhead and any system instructions. A follow-up request carrying the full conversation may resend those tokens. These are hypothetical values, not measured provider billing. Persisting messages and selecting what the model sees are different concerns. Later lessons cover history trimming and summarization; do not solve context pressure by arbitrarily removing required tool-call messages.
10. Production integration and verification plan#
Test the history contract independently, then exercise the exact installed LangChain/LangGraph runtime, checkpointer and model adapter.
| Test | Acceptance criterion |
|---|---|
| First invocation | New thread starts with expected initial state |
| Same-thread second invocation | Prior messages are present exactly as intended |
| New-thread invocation | No unrelated messages inherited |
| Tool-enabled turn | Tool proposals and results remain correctly correlated |
| Duplicate message ID | Actual merge/replacement semantics match application policy |
| Duplicate logical request | Ingress avoids duplicate execution; transcript remains consistent |
| Parallel requests to same thread | Documented admission or conflict policy applied |
| Separate concurrent threads | No history or identity cross-contamination |
| Current state retrieval | Authorized current messages and execution status returned |
| History snapshot retrieval | Snapshots interpreted correctly; no duplicate transcript reconstruction |
| Interrupted invocation | Incomplete state not displayed as completed answer |
| Durable restart | State restored using supported backend |
| Unauthorized thread ID | No checkpoint or transcript data disclosed |
| Checkpoint retention | Authorized removal and backup policy tested |
| Provider context projection | Actual message ordering and tool sequencing accepted |
Use a deterministic model substitute to check message accumulation and correlation in the real runtime, then conduct separately approved synthetic live-provider smoke tests. Test multiple worker processes with the intended persistence backend, simultaneous requests and failures at write or checkpoint boundaries. Do not infer those guarantees from the SQLite example.
Record safe thread aliases, logical request IDs, sequence or checkpoint revisions, conflict and recovery categories, model-call count and history sizes. Avoid logging full private conversations by default. Monitor duplicate turns, unauthorized retrieval attempts, stale writes, checkpoint failures and recovery latency. Check the actual user-visible transcript separately from execution state.
Interview-ready answer#
I maintain conversation history in LangChain by configuring an agent checkpointer and passing the same authorized thread_id across turns. I send only the new message on each checkpointed invocation and let the graph's messages reducer merge state. I preserve role, ordering and tool-call correlation rather than flattening intermediate evidence. I retrieve the current state through supported graph interfaces after checking thread ownership. InMemorySaver is suitable for development, while durable backends are needed for restart recovery. I enforce a same-thread concurrency policy, deduplicate logical requests and distinguish incomplete execution from a completed turn. I separately test graph persistence, provider message sequencing, conversation isolation and domain idempotency.
Official documentation research leads and verification status#
- LangChain agents
- LangChain short-term memory
- LangChain messages
- LangGraph persistence
- LangGraph graph API
- LangChain API reference
- Python sqlite3 documentation
Authorized offline research exception applied. These official documentation URLs are research leads, not live-accessed citations. The exact standalone SQLite teaching program was executed locally with Python 3.13.5 and SQLite 3.46.1; all 15 checks passed. LangChain, langchain_core and langgraph were absent, so SDK invocation, message reducer behavior, actual checkpointer persistence, provider behavior and supported current signatures were not executed or version-verified. The test uses synthetic completed turns and does not test real model generation, simultaneous database contention, distributed failover, graph recovery or actual business side effects. Mermaid blocks use standard triple-backtick fences; rendering and public website display were not verified.
References
- 1.LangChain agentsdocs.langchain.com
- 2.LangChain short-term memorydocs.langchain.com
- 3.LangChain messagesdocs.langchain.com
- 4.LangGraph persistencedocs.langchain.com
- 5.LangGraph graph APIdocs.langchain.com
- 6.LangChain API referencereference.langchain.com
- 7.Python sqlite3 documentationdocs.python.org
Related questions
Explore other topics:Forward Deployed EngineeringLarge Language ModelsRetrieval-Augmented GenerationMLOps