Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@
"v3/integrations/cline",
"v3/integrations/codex-cli",
"v3/integrations/continue-dev",
"v3/integrations/opencode"
"v3/integrations/opencode",
"v3/integrations/open-code-review",
"v3/integrations/pi"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions integration-logo/open-code-review-icondoc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions integration-logo/pi-icondoc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions v3/integrations/open-code-review.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
title: "Open Code Review"
icon: "/integration-logo/open-code-review-icondoc.svg"
description: "Use Open Code Review with Eden AI to review your code with 500+ AI models through one API."
---

import { TechArticleSchema } from "/snippets/TechArticleSchema.mdx";

<TechArticleSchema
title={"Open Code Review"}
description={"Use Open Code Review with Eden AI to review your code with 500+ AI models through one API."}
path="v3/integrations/open-code-review"
articleSection="Coding Agents"
about={"AI Code Review Integration"}
proficiencyLevel="Intermediate"
keywords={["Eden AI", "AI API", "Open Code Review", "Alibaba", "Code Review"]}
datePublished="2026-07-16T00:00:00Z"
dateModified="2026-07-16T00:00:00Z"
/>

Use Open Code Review with Eden AI to review your code with 500+ AI models through one API.

## Overview

Open Code Review (`ocr`) is Alibaba's open-source AI code-review tool. It reviews commits and pull requests through a unified provider system, and **Eden AI ships as a built-in provider preset** — supply a key and review your code with OpenAI, Anthropic, Google, Mistral and 500+ models, behind one key, with EU-based, GDPR-aligned inference and unified billing.

Check warning on line 25 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L25

Did you really mean 'Alibaba's'?

## Installation

<CodeGroup>
```bash npm
npm install -g @alibaba-group/open-code-review
```

```bash Install script
curl -fsSL https://raw.githubusercontent.com/alibaba/open-code-review/main/install.sh | sh
```
</CodeGroup>

## Configuration

Eden AI is a built-in preset, so you only need a key. Configure it interactively:

<CodeGroup>
```bash Interactive
ocr config provider # select "edenai"

Check warning on line 45 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L45

Did you really mean 'ocr'?

Check warning on line 45 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L45

Did you really mean 'edenai'?
ocr config model # pick an Eden AI model, e.g. anthropic/claude-sonnet-5

Check warning on line 46 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L46

Did you really mean 'ocr'?
```
</CodeGroup>

Or write the config directly (scripts / CI):

<CodeGroup>
```bash CLI
ocr config set provider edenai

Check warning on line 54 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L54

Did you really mean 'ocr'?

Check warning on line 54 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L54

Did you really mean 'edenai'?
ocr config set providers.edenai.api_key YOUR_EDEN_AI_API_KEY

Check warning on line 55 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L55

Did you really mean 'ocr'?
ocr config set providers.edenai.model anthropic/claude-sonnet-5

Check warning on line 56 in v3/integrations/open-code-review.mdx

View check run for this annotation

Mintlify / Mintlify Validation (edenai) - vale-spellcheck

v3/integrations/open-code-review.mdx#L56

Did you really mean 'ocr'?
```
</CodeGroup>

The `edenai` preset supplies the base URL (`https://api.edenai.run/v3`) and the OpenAI-compatible protocol automatically. Run `ocr llm providers` to list all built-in providers. If `EDEN_AI_API_KEY` is set in your environment, `ocr` picks it up automatically.

## Available Models

Pick any Eden AI model using the `provider/model` format:

**OpenAI**
- `openai/gpt-5.5`
- `openai/gpt-5-mini`

**Anthropic**
- `anthropic/claude-sonnet-5`
- `anthropic/claude-opus-4-8`

**Google**
- `google/gemini-2.5-pro`
- `google/gemini-3.5-flash`

**Mistral**
- `mistral/mistral-large-2512`
- `mistral/mistral-small-2603`

## Environment Variables

<CodeGroup>
```bash .env
EDEN_AI_API_KEY=your_api_key_here
```
</CodeGroup>

## Next Steps

- [Chat Completions](/v3/llms/chat-completions) - Core LLM endpoint
- [List LLM Models](/v3/llms/listing-models) - Browse available providers and models
- [OpenAI SDK (Python)](/v3/integrations/openai-sdk-python) - Direct SDK usage
96 changes: 96 additions & 0 deletions v3/integrations/pi.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
title: "Pi"
icon: "/integration-logo/pi-icondoc.svg"
description: "Use Pi with Eden AI to power your coding agent (and Flue) with 500+ AI models through one API."
---

import { TechArticleSchema } from "/snippets/TechArticleSchema.mdx";

<TechArticleSchema
title={"Pi"}
description={"Use Pi with Eden AI to power your coding agent (and Flue) with 500+ AI models through one API."}
path="v3/integrations/pi"
articleSection="Coding Agents"
about={"Coding Agent Integration"}
proficiencyLevel="Intermediate"
keywords={["Eden AI", "AI API", "Pi", "Flue", "Coding Agent"]}
datePublished="2026-07-16T00:00:00Z"
dateModified="2026-07-16T00:00:00Z"
/>

Use Pi with Eden AI to power your coding agent (and Flue) with 500+ AI models through one API.

## Overview

Pi is an MIT-licensed coding agent whose model catalog also powers Flue. Pi lets extensions register custom model providers, so you can add Eden AI with a small extension — no fork, no core change — and reach models from OpenAI, Anthropic, Google, Cohere, Meta and more behind one key, with EU-based, GDPR-aligned inference. The same provider flows through to Flue.

## Installation

<CodeGroup>
```bash Install script
curl -fsSL https://pi.dev/install.sh | sh
```

```bash npm
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
```
</CodeGroup>

## Quick Start

Register Eden AI as a custom provider from a Pi extension:

<CodeGroup>
```typescript extension.ts
import { pi } from "@earendil-works/pi-coding-agent";

pi.registerProvider("edenai", {
name: "Eden AI",
api: "openai-completions",
baseUrl: "https://api.edenai.run/v3",
apiKey: process.env.EDEN_AI_API_KEY,
models: [
"openai/gpt-5.5",
"openai/gpt-5-mini",
"anthropic/claude-sonnet-5",
"mistral/mistral-small-2603",
],
});
```
</CodeGroup>

Then select any `edenai/<model>` in Pi. The same catalog is available in Flue.

## Available Models

Access models from multiple providers using the `provider/model` format:

**OpenAI**
- `openai/gpt-5.5`
- `openai/gpt-5-mini`

**Anthropic**
- `anthropic/claude-sonnet-5`
- `anthropic/claude-haiku-4-5`

**Google**
- `google/gemini-2.5-pro`
- `google/gemini-3.5-flash`

**Mistral**
- `mistral/mistral-large-2512`
- `mistral/mistral-small-2603`

## Environment Variables

<CodeGroup>
```bash .env
EDEN_AI_API_KEY=your_api_key_here
```
</CodeGroup>

## Next Steps

- [Chat Completions](/v3/llms/chat-completions) - Core LLM endpoint
- [List LLM Models](/v3/llms/listing-models) - Browse available providers and models
- [OpenAI SDK (Python)](/v3/integrations/openai-sdk-python) - Direct SDK usage
Loading