fix: native Python agent for Render deployment#53
Conversation
The langgraph-api Docker image requires PostgreSQL (DATABASE_URI) which blocked Render deployment. Switch to serving the agent directly via FastAPI + ag_ui_langgraph, matching the Shadify reference pattern. - Replace Dockerfile.agent with native Python runtime on Render - Add BoundedMemorySaver for memory-safe checkpointing (200 thread cap) - Switch frontend from LangGraphAgent to LangGraphHttpAgent (AG-UI protocol) - Remove langgraph-api, langgraph-cli deps (-25 packages) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The LLM consistently builds aircraft with the wing as the fuselage (long axis along X instead of Z), causing pitch and roll to appear swapped. Add explicit axis conventions, correct geometry patterns, and flight dynamics rotation mapping to the visualization skill. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR ReviewOverviewSolid PR. Replaces the Findings1.
Consider adding a secondary guard: while len(self.storage) > self.max_threads and self._insertion_order:2.
3.
4. Dockerfile.agent deleted but The Dockerfile is removed — if What looks good
VerdictShip it with the |
Prevent infinite loop if _insertion_order empties before storage shrinks below max_threads due to external deletions.
Summary
langchain/langgraph-apiDocker image with native FastAPI +ag_ui_langgraphserver, eliminating the PostgreSQL dependency that blocked Render deploymentBoundedMemorySaver(200 thread cap, FIFO eviction) for memory-safe checkpointing on Render's 512MB starter planLangGraphAgenttoLangGraphHttpAgent(AG-UI protocol)Test plan
/healthreturns{"status":"ok"}/health🤖 Generated with Claude Code