Open-source monorepo for AI-powered development - npm packages and development skills for building with You.com's AI capabilities.
Build with You.com's AI capabilities across your entire workflow:
- 📦 NPM Packages - Ready-to-use integrations for popular frameworks (MCP, AI SDK, Teams.ai)
Production-ready packages for building, testing, and shipping agentic workflows:
CLI tool and shared TypeScript utilities for You.com API - provides command-line interface and type-safe building blocks used by MCP and AI SDK packages. Documentation →
MCP Server giving AI agents real-time web search, AI answers, and content extraction via Model Context Protocol. Documentation →
Vercel AI SDK plugin for You.com web search and AI agents - zero server setup, works with any model provider. Documentation →
Use Claude models (Opus, Sonnet, Haiku) in Microsoft Teams.ai apps - drop-in replacement for OpenAI with full streaming support. Documentation →
Project-specific development patterns and workflows are in .claude/skills/:
- documentation - Documentation standards (thin AGENTS.md philosophy, TSDoc strategy, README.md tone)
- mcp-patterns - MCP server patterns (Zod schemas, error handling, logging, response format)
- ai-sdk-patterns - Vercel AI SDK patterns (input schemas, API key handling, response format)
- teams-anthropic-patterns - Teams.ai patterns (Memory API, Anthropic SDK, MCP client setup)
These skills are used by AI coding assistants when contributing to dx-toolkit packages. View development guide →
Prerequisites:
- Bun >= 1.2.21: Installation guide
- GitHub CLI (recommended):
brew install gh(macOS) or other platforms
Development setup:
# Clone repository
git clone git@github.com:youdotcom-oss/dx-toolkit.git
cd dx-toolkit
# Install dependencies
bun install
# Set up environment variables
cp .env.example .env
# Edit .env and add your YDC_API_KEY
source .env
# Authenticate with GitHub (if using gh CLI)
gh auth login
# Build all packages
bun run build
# Run all tests
bun test
# Run all quality checks
bun run checkTroubleshooting tests: If you get API key errors when running tests:
- Verify
.envfile exists withYDC_API_KEY=your-key - Run
source .envto load environment variables - Try running tests again:
bun test
For comprehensive development guidelines, see AGENTS.md.
This toolkit uses Bun workspaces. Commands can run at workspace-level (all packages) or package-level (specific package).
Run from repository root to affect all packages:
bun install # Install dependencies for all packages
bun run build # Build all packages
bun test # Test all packages
bun run check # Run all quality checks (biome + types + package)
bun run check:write # Auto-fix all issues across all packagesFrom Root - Two patterns available:
# Pattern 1: Root shortcuts (defined in root package.json)
bun run dev:mcp # Start MCP server in STDIO mode
bun run start:mcp # Start MCP server in HTTP mode
bun run test:mcp # Test MCP server only
# Pattern 2: Direct package commands with bun --cwd
bun --cwd packages/mcp dev # Start MCP server in dev mode
bun --cwd packages/mcp start # Start MCP server in HTTP mode
bun --cwd packages/mcp test # Test MCP server
bun --cwd packages/mcp check # Run quality checks
# Use bun --cwd for any package script:
bun --cwd packages/api test
bun --cwd packages/ai-sdk-plugin build
bun --cwd packages/teams-anthropic checkFrom Package Directory:
cd packages/mcp
bun dev # Start in development mode
bun test # Run tests
bun run check # Check code quality- API Package README - CLI tool and shared utilities for You.com API
- MCP Server README - User-focused setup and usage guide with API examples
- AI SDK Plugin README - Vercel AI SDK integration guide
- Teams Anthropic README - Microsoft Teams.ai integration guide
Contributions are welcome! See CONTRIBUTING.md for guidelines.
- AGENTS.md - Comprehensive development guidelines for maintainers and agentic IDEs
MIT - See LICENSE for details
- Issues: GitHub Issues
- Email: support@you.com
- Web: You.com Support
Built with ❤️ by You.com