This repository contains AGENTS.md, a comprehensive guide designed to help AI coding agents (like Claude, Cursor AI, GitHub Copilot, etc.) assist developers in building applications with Box Node SDK v10+.
AGENTS.md is a structured reference document that provides AI agents with:
- Quick Start instructions - Get developers productive in 4 steps
- Best practices - Avoid common pitfalls with Box Node SDK v10+
- Authentication patterns - Developer Token, JWT, CCG examples
- Common operations - Upload, download, search, pagination
- Error handling - Box API status codes and how to handle them
- Service Account guidance - Critical collaboration setup
- Security requirements - What to never commit, token lifecycle
- Safety guidelines - When to ask before executing commands
- Project navigation - Where to find authentication, file operations, config
Primary: AI coding agents (Claude, Cursor, Copilot, etc.) helping developers
Secondary: Developers who want to understand what guidance their AI assistant is following
When an AI agent is helping with Box SDK development, it references AGENTS.md to:
- Recommend correct syntax - Use v10+ async/await, not v3 callbacks
- Prevent common errors - Service Account collaboration issues, expired tokens
- Suggest secure patterns - Environment variables, never hardcoded secrets
- Navigate codebases efficiently - Know where to find auth, file operations, config
- Ask when appropriate - Recognize when to request developer input vs. proceeding
Getting from zero to working Box SDK app in minutes
- Developer Token (testing, 60min expiry)
- JWT (production, Service Account)
- CCG (production, Client Credentials Grant)
Critical concept: Service Account needs explicit collaboration to access existing content
Code examples for upload, download, folder creation, search, pagination
How to handle 401, 403, 404, 409, 429, 500/503 status codes
What to protect, when agents should ask permission vs. proceed
To use AGENTS.md:
- Copy it to your own Box SDK project
- Reference it when working with AI coding assistants
- Customize it for your specific project needs
- Use it as a template for creating similar agent guides
This guide follows the Cursor IDE convention where AGENTS.md in the workspace root is automatically loaded as context for AI agents. If you use Cursor:
- Copy
AGENTS.mdto your project root - The Cursor AI agent will automatically reference it
- Get accurate Box SDK v10+ guidance without extra prompting
ISC
Version: 1.0 | SDK Version: v10+ | Last Updated: Feb 2026