new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

LangChain & LangGraph · all subjects

errors/deep agents

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

mda troubleshooting - Python

Python mda troubleshooting: `project root ... is not a directory` - pass a directory path to mda dev or mda deploy. `no agent entry file found` - add agent.py at project root. `mda dev cannot find uv` - install uv so mda dev can resolve local LangGraph dev server. `No LangSmith API key found` - set LANGSMITH_API_KEY or add it to project .env. Deploy fails with 401 or 403 - confirm API key belongs to workspace with beta access. Deploy reports missing model provider API key - add provider key (e.g., OPENAI_API_KEY) to .env, export in shell, or configure as LangSmith workspace secret. Deploy reports Context Hub conflict - Context Hub repo changed during deploy; re-run mda deploy. Build exceeds 200 MB - remove generated artifacts or large files before deploying. Deployment reaches BUILD_FAILED or DEPLOY_FAILED - open printed deployment URL in LangSmith and inspect revision logs.

mda troubleshooting - TypeScript

TypeScript mda troubleshooting: `project root ... is not a directory` - pass a directory path to mda dev or mda deploy. `no agent entry file found` - add agent.ts or agent.tsx at project root. `No LangSmith API key found` - set LANGSMITH_API_KEY or add it to project .env. Deploy fails with 401 or 403 - confirm API key belongs to workspace with beta access. Deploy reports missing model provider API key - add provider key (e.g., OPENAI_API_KEY) to .env, export in shell, or configure as LangSmith workspace secret. Deploy reports Context Hub conflict - Context Hub repo changed during deploy; re-run mda deploy. Build exceeds 200 MB - remove generated artifacts or large files before deploying. Deployment reaches BUILD_FAILED or DEPLOY_FAILED - open printed deployment URL in LangSmith and inspect revision logs.

Authentication failure response codes

Authentication failures return HTTP 401. For LangSmith API-key authentication, confirm clients send `x-api-key`. For Supabase, confirm clients send `Authorization: Bearer <access_token>`, that `project_ref` matches the Supabase project, and that callers cannot access another user's threads (which would return 403).

Give your agent this brain