Commit b1675a5
feat: replace direct-Postgres checkpointer with HTTP proxy
Replace AsyncPostgresSaver with HttpCheckpointSaver that proxies all
LangGraph checkpoint operations through the agentex backend API.
Agents no longer need DATABASE_URL or a direct Postgres connection.
- Add _http_checkpointer.py: BaseCheckpointSaver subclass using httpx
- Update checkpointer.py: create_checkpointer() returns HttpCheckpointSaver
- Remove langgraph-checkpoint-postgres and psycopg[binary] deps
- Add langgraph-checkpoint (base types only, no DB driver)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a447e5b commit b1675a5
File tree
5 files changed
+672
-8
lines changed- src/agentex/lib/adk
- _modules
5 files changed
+672
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments