Skip to main content

New LangGraph Project

CI Integration Tests Open in - LangGraph Studio

This template demonstrates a simple chatbot implemented using LangGraph, designed for LangGraph Studio. The chatbot maintains persistent chat memory, allowing for coherent conversations across multiple interactions.

Graph view in LangGraph studio UI

The core logic, defined in src/agent/graph.py, showcases a straightforward chatbot that responds to user queries while maintaining context from previous messages.

What it does

The simple chatbot:

  1. Takes a user message as input
  2. Maintains a history of the conversation
  3. Generates a response based on the current message and conversation history
  4. Updates the conversation history with the new interaction

This template provides a foundation that can be easily customized and extended to create more complex conversational agents.

Getting Started

Assuming you have already installed LangGraph Studio, to set up:

  1. Create a .env file.
cp .env.example .env
  1. Define required API keys in your .env file.
  1. Customize the code as needed.
  2. Open the folder in LangGraph Studio!

How to customize

  1. Modify the system prompt: The default system prompt is defined in configuration.py. You can easily update this via configuration in the studio to change the chatbot's personality or behavior.
  2. Select a different model: We default to Anthropic's Claude 3 Sonnet. You can select a compatible chat model using provider/model-name via configuration. Example: openai/gpt-4-turbo-preview.
  3. Extend the graph: The core logic of the chatbot is defined in graph.py. You can modify this file to add new nodes, edges, or change the flow of the conversation.

You can also quickly extend this template by:

  • Adding custom tools or functions to enhance the chatbot's capabilities.
  • Implementing additional logic for handling specific types of user queries or tasks.
  • Integrating external APIs or databases to provide more dynamic responses.

Development

While iterating on your graph, you can edit past state and rerun your app from previous states to debug specific nodes. Local changes will be automatically applied via hot reload. Try experimenting with:

  • Modifying the system prompt to give your chatbot a unique personality.
  • Adding new nodes to the graph for more complex conversation flows.
  • Implementing conditional logic to handle different types of user inputs.

Follow-up requests will be appended to the same thread. You can create an entirely new thread, clearing previous history, using the + button in the top right.

For more advanced features and examples, refer to the LangGraph documentation. These resources can help you adapt this template for your specific use case and build more sophisticated conversational agents.

LangGraph Studio also integrates with LangSmith for more in-depth tracing and collaboration with teammates, allowing you to analyze and optimize your chatbot's performance.

Release files for xlsx-to-sdif 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xlsx-to-sdif 0.1.6
File Size Uploaded
xlsx_to_sdif-0.1.6.tar.gz 48.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xlsx-to-sdif 0.1.6
File Interpreter ABI Platform
xlsx_to_sdif-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 102.3 kB

Release files / xlsx_to_sdif-0.1.6.tar.gz

Download URL xlsx_to_sdif-0.1.6.tar.gz
Size 48.5 kB
Tags Source
SHA-256 checksum
How to use checksums
daf0c944dbdbf61bf30dd72d70bb564cfa415796cafca26727efba40f87faedc
BLAKE2b-256 checksum
How to use checksums
440239475f6e6f60fbbe074b328bb5f0128473c829fd15f14f97b43120506132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 21, 2025.

Transparency log

Release files / xlsx_to_sdif-0.1.6-py3-none-any.whl

Download URL xlsx_to_sdif-0.1.6-py3-none-any.whl
Size 53.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ceaf062de5e772644a2206fe64fb40a5988f214f086011717f96cdf616046902
BLAKE2b-256 checksum
How to use checksums
da64a3e5c71fefc169bbdbf624e1729d422aa9ed9abff05de73dca87c47380e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 21, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page