# Use Hanzo AI with GitHub Copilot — Hanzo AI > Extend your GitHub Copilot workflow with Hanzo AI for access to additional models and capabilities via the API. Use Hanzo for tasks Copilot can't handle. [Integrations](https://hanzo.ai/integrations)/GitHub Copilot 🐙Platforms & Editors # Use Hanzo AI with GitHub Copilot Extend your GitHub Copilot workflow with Hanzo AI for access to additional models and capabilities via the API. Use Hanzo for tasks Copilot can't handle. Base URL: `https://api.hanzo.ai/v1` API Key: Get yours at [hanzo.ai/signup](https://hanzo.ai/signup) · Fully OpenAI-compatible · 500+ models available 🐙 Created by [GitHub / Microsoft](https://github.com) License: Proprietary · [View source on GitHub →](https://github.com/features/copilot) Hanzo AI is OpenAI-compatible, so existing GitHub Copilot code works with zero refactoring. We deeply appreciate the GitHub / Microsoft team for building and maintaining this open-source project. ## Hanzo API alongside Copilot python ``` # Use GitHub Copilot in editor, Hanzo API in code from openai import OpenAI # Hanzo for programmatic access client = OpenAI( base_url="https://api.hanzo.ai/v1", api_key="your-hanzo-api-key", ) # Access 500+ models not in Copilot response = client.chat.completions.create( model="zen4-pro", messages=[{"role": "user", "content": "Review this code..."}], ) ``` ## GitHub Actions with Hanzo typescript ``` // In CI: use Hanzo AI for code review import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.hanzo.ai/v1", apiKey: process.env.HANZO_API_KEY, }); const review = await client.chat.completions.create({ model: "zen4-pro", messages: [{ role: "user", content: `Review this PR diff: ${diff}`, }], }); ``` ## GitHub Actions workflow yaml ``` name: AI Code Review on: [pull_request] jobs: review: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: AI Review env: HANZO_API_KEY: ${{ secrets.HANZO_API_KEY }} run: | pip install openai python scripts/ai_review.py ``` ## API key setup bash ``` # Add to GitHub repo secrets # Settings > Secrets > Actions > New secret # Name: HANZO_API_KEY # Value: your-hanzo-api-key ``` ## Ready to get started? Create a free account and get your API key. 100K API calls/month free forever. [Get API Key — Free](https://hanzo.ai/signup)[Browse Models](https://hanzo.ai/models) ## More integrations [OpenAI Python SDK](https://hanzo.ai/integrations/openai-sdk)[Anthropic SDK](https://hanzo.ai/integrations/anthropic-sdk)[LangChain](https://hanzo.ai/integrations/langchain)[LlamaIndex](https://hanzo.ai/integrations/llamaindex)[Vercel AI SDK](https://hanzo.ai/integrations/vercel-ai-sdk)[Hugging Face](https://hanzo.ai/integrations/huggingface)[AutoGen](https://hanzo.ai/integrations/autogen)[CrewAI](https://hanzo.ai/integrations/crewai)[DSPy](https://hanzo.ai/integrations/dspy)[Haystack](https://hanzo.ai/integrations/haystack)[Cursor](https://hanzo.ai/integrations/cursor)[Continue.dev](https://hanzo.ai/integrations/continue-dev)[Docker](https://hanzo.ai/integrations/docker)[Kubernetes](https://hanzo.ai/integrations/kubernetes)[Python](https://hanzo.ai/integrations/python)[TypeScript](https://hanzo.ai/integrations/typescript)[Go](https://hanzo.ai/integrations/go)[Rust](https://hanzo.ai/integrations/rust)