A FastAPI LangGraph-compatible server backed by GaussDB.
Project description
LangGraph GaussDB FastAPI
A FastAPI server that implements key LangGraph Platform-compatible endpoints with async GaussDB persistence.
Install
python -m pip install langgraph-gaussdb-fastapi
To run the packaged Chainlit prototype too:
python -m pip install "langgraph-gaussdb-fastapi[chainlit]"
Run
Set the database connection with environment variables, then start the server:
LG_DB_HOST=127.0.0.1 \
LG_DB_USER=remote_user \
LG_DB_PASSWORD=your-password \
LG_DB_NAME=langgraph \
langgraph-gaussdb-fastapi
The default graph config now comes from the packaged server_config.json. You can still override it with LG_GRAPH_CONFIG.
{
"dependencies": [],
"graphs": {
"echo": "graph.example_graph:graph",
"qwen_tools": "graph.qwen_tools_graph:graph"
}
}
Health checks are available at / and /ok.
Chainlit
The distribution includes the Chainlit prototype under the package namespace plus a launcher script:
LANGGRAPH_SERVER_URL=http://127.0.0.1:2026 \
langgraph-gaussdb-chainlit --headless --host 0.0.0.0 --port 8010
You can also run the packaged smoke test directly:
python -m langgraph_gaussdb_fastapi.chainlit_app.smoke_test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langgraph_gaussdb_fastapi-0.2.0.tar.gz.
File metadata
- Download URL: langgraph_gaussdb_fastapi-0.2.0.tar.gz
- Upload date:
- Size: 43.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b73c677149260d6407c296b5990ccba13a8fa39226d1e31f5466ef9caf36e61
|
|
| MD5 |
023d436a56f4911e6e00348e745139cb
|
|
| BLAKE2b-256 |
63e93b62d7ba4492dc217abfca46c6b7a734bc80267768c1198b7904cf7449a7
|
File details
Details for the file langgraph_gaussdb_fastapi-0.2.0-py3-none-any.whl.
File metadata
- Download URL: langgraph_gaussdb_fastapi-0.2.0-py3-none-any.whl
- Upload date:
- Size: 52.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
063caa03175f7cb47fdc62ebd7ecf13ae0831b2d4ef26172b817d576ddec91fe
|
|
| MD5 |
390f56993ad07b5d7a1a19f0172f9bb1
|
|
| BLAKE2b-256 |
32f318f27c8e08cb077c9ebf1c2016e3bbb790609d79efa18d7fb9dd36080b05
|