Guidance for coding assistants working in this repository.
- notebooks/: Jupyter notebook examples (agents, rag, evals)
- apps/: application-style demos
- workshops/: self-paced workshop content
- partners/: partner-contributed examples
- .github/workflows/tests.yml: CI checks via pre-commit
Repository-level checks:
python -m pip install pre-commit
pre-commit run --all-filesNotebook workflow (typical):
python -m venv .venv
source .venv/bin/activate
pip install -U notebook
jupyter notebookCommon variables used in notebooks:
- MONGODB_URI (or equivalent MongoDB Atlas URI variable)
- Provider keys as required by notebook (for example OPENAI_API_KEY, ANTHROPIC_API_KEY)
Always read notebook setup cells before running and export required variables in your shell/kernel.
Use the official MongoDB agent skills from https://github.com/mongodb/agent-skills whenever the task is MongoDB-specific and a matching skill exists.
Use EDD.md as a schema source of truth when a notebook/app evolves into a larger multi-file project with stable entities and indexes.
For small, self-contained notebook examples, EDD.md is optional.
When updating MongoDB client initialization, keep or add appName for observability. Accepted project formats include both:
- hyphen style: devrel-medium-primary-secondary-optional
- dot style: devrel.showcase.notebook.agent.example