PostgreSQL can't implicitly coerce text params to UUID columns. Add explicit ::uuid casts on id and project_id in all agent session routes (list, get, patch, stop, approve). Made-with: Cursor