# DigitalOcean Gradient™ AI Platform Concepts – DigitalOcean Documentation > Explanations and definitions of core concepts in Gradient AI Platform. - [Best Practices for Context Management when Generating Code with AI Agents](https://docs.digitalocean.com/products/gradient-ai-platform/concepts/context-management/index.html.md): Improve AI output quality by carefully managing LLM context. - [Agent Instructions Best Practices for DigitalOcean Gradient™ AI Platform](https://docs.digitalocean.com/products/gradient-ai-platform/concepts/agent-instructions/index.html.md): Write effective agent instructions to align responses with your goals, minimize hallucinations, and enhance performance. - [Function Instructions Best Practices for DigitalOcean Gradient™ AI Platform](https://docs.digitalocean.com/products/gradient-ai-platform/concepts/function-instructions/index.html.md): Write concise and actionable function instructions by defining purpose, specifying outputs, ensuring concise descriptions, and addressing constraints with structured examples. - [Prompt Writing Best Practices for DigitalOcean Gradient™ AI Platform](https://docs.digitalocean.com/products/gradient-ai-platform/concepts/prompts/index.html.md): Write effective prompts to maintain a neutral tone, ask focused questions, simplify complexity, and enhance clarity with examples or screenshots. - [Effectively Group Agents in Workspaces for DigitalOcean Gradient™ AI Platform](https://docs.digitalocean.com/products/gradient-ai-platform/concepts/workspaces/index.html.md): Learn to how you can effectively group agents in workspaces for various purposes. - [Chunking Best Practices for Knowledge Base Indexing in DigitalOcean Gradient™ AI Platform](https://docs.digitalocean.com/products/gradient-ai-platform/concepts/chunking-strategies/index.html.md): Choose and configure chunking strategies to improve retrieval accuracy, reduce hallucinations, and optimize token usage when indexing knowledge bases.