digitalocean-labs avatar

ai-services

Configure DigitalOcean Gradient AI serverless inference and Agent Development Kit. Use when adding L

by digitalocean-labs|Open Source

AI Services Skill

Configure DigitalOcean Gradient AI Platform for App Platform applications.

What This Skill Does

  • Configures Serverless Inference for direct LLM API calls
  • Sets up Agent Development Kit (ADK) for full AI agents
  • Handles model access key credential patterns
  • Provides SDK examples (Python, Node.js, cURL)

Quick Start

# Add to .do/app.yaml
envs:
  - key: MODEL_ACCESS_KEY
    scope: RUN_TIME
    type: SECRET
    value: ${MODEL_ACCESS_KEY}
  - key: INFERENCE_ENDPOINT
    value: https://inference.do-ai.run

Key Decisions This Skill Makes

DecisionDefaultRationale
API compatibilityOpenAI SDKIndustry standard, easy migration
Credential storageGitHub SecretsSecure, AI never sees keys
Default modelllama3.3-70b-instructBest quality/speed balance

Files

  • SKILL.md — Complete skill documentation with decision tree
  • reference/serverless-inference.md — SDK setup and API reference
  • reference/agent-development-kit.md — ADK workflow and features

Integration

DirectionSkillIntegration
designerAdd AI env vars to app spec
deploymentStore model keys in GitHub Secrets
devcontainersTest AI locally

Related Skills

  • designer — Create app specs with AI components
  • deployment — Deploy AI-enabled applications