diff --git a/404.html b/404.html index b5470adf28..bdf978b739 100644 --- a/404.html +++ b/404.html @@ -23,7 +23,7 @@ - +
diff --git a/about-langflow.html b/about-langflow.html index e583c39ab4..0c81fbc7fe 100644 --- a/about-langflow.html +++ b/about-langflow.html @@ -23,7 +23,7 @@ - + diff --git a/agent-tutorial.html b/agent-tutorial.html index 15328194b1..00b08bfdfa 100644 --- a/agent-tutorial.html +++ b/agent-tutorial.html @@ -23,7 +23,7 @@ - + diff --git a/agents-tools.html b/agents-tools.html index 9732b9b914..0d57b56ecc 100644 --- a/agents-tools.html +++ b/agents-tools.html @@ -23,7 +23,7 @@ - + diff --git a/agents.html b/agents.html index 72143a0b9b..e26482ae8b 100644 --- a/agents.html +++ b/agents.html @@ -23,7 +23,7 @@ - + @@ -130,6 +130,21 @@ For more information, see Agent instructions and inputIn the Agent Instructions (system_prompt) field, you can provide custom instructions that you want the Agent component to use for every conversation.
These instructions are applied in addition to the Input (input_value), which can be entered directly or provided through another component, such as a Chat Input component.
Langflow Agents have built-in memory enabled by default that allows them to remember previous messages in a conversation. +This memory acts as a rolling chat history window, ensuring the Agent can reference earlier exchanges and maintain context without requiring a separate Message History component.
+The Agent’s internal chat history is stored in the Langflow database, just like the Message History helper component. +The default storage option in Langflow is a SQLite database stored in your system's cache directory:
+/Users/<username>/.langflow/data/database.dbC:\Users\<name>\AppData\Roaming\com.Langflow\data\langflow.db<path_to_venv>/lib/python3.12/site-packages/langflow/langflow.db (Python version may vary)<path_to_clone>/src/backend/base/langflow/langflow.dbIf your Langflow deployment has LANGFLOW_DATABASE_URL set to PostgreSQL, the Agent memory will use the PostgreSQL database.
+Each conversation is associated with a session ID, so messages are grouped and retrieved per session.
+This means your chat history is saved and can be accessed or retrieved later, even if you refresh or revisit the flow.
The number of stored messages can be configured in the Number of Chat History Messages field in the Agent component.
Agents are most useful when they have the appropriate tools available to complete requests.
An Agent component can use any Langflow component as a tool, including other agents and MCP servers.
@@ -150,7 +165,7 @@ For example, some models support additional modes, arguments, or features like cThe Agent component outputs a Response (response) that is Message data containing the agent's raw response to the query.
Typically, this is passed to a Chat Output component to return the response in a human-readable format. -It can also be passed to other components if you need to process the response further before, or in addition to, returning it to the user.