Files
Jordan Ritter e64acdc091 fix: langgraph-python starter agent — 3 root causes fixed, verified locally (#3921)
## Root causes (all verified locally with docker build + run)

1. **PermissionError**: non-root `USER app` can't create
`.langgraph_api` directory — fix: `chown -R app:app /app` before `USER
app`
2. **ImportError**: relative imports (`from .tools`) fail when
`langgraph_cli` loads modules — fix: absolute imports (`from
src.agents.tools`)
3. **ValueError**: `tools.py` file collides with `tools/` directory —
fix: rename to `tool_wrappers.py`

## Verified
```
docker build -t test-lgp-starter .
docker run --rm -e OPENAI_API_KEY=test -e PORT=10003 -p 10003:10003 test-lgp-starter
# {"status":"ok","integration":"langgraph-python","agent":"ok"}
```
2026-04-14 17:20:19 -07:00
..