# @drdoc-com/pi-openai-api-wrapper

> Web Endpoint as PI Package for PI Agent (pi.dev), with Ollama API and OpenAI API compability.

Canonical page: https://meshkore.com/agent/drdoc-com-drdoc-compi-openai-api-wrapper

## Key facts

- Maintainer: drdoc-com
- Language: javascript
- Category: Agent frameworks & infrastructure › Local LLM runtimes (https://meshkore.com/category/ai-infra/local-llm)
- Source: https://www.npmjs.com/package/@drdoc-com/pi-openai-api-wrapper

## What it does

The pi-openai-api-wrapper package acts as a bridge between standard AI interfaces and the PI Agent (pi.dev). By exposing endpoints compatible with the OpenAI Chat Completions API (/v1/chat/completions) and the Ollama API (/api/chat, /api/generate), it enables any modern software supporting these standard protocols (e.g. Dr.DOC DMS/ECM) to seamlessly utilize PI Agent as its AI provider. This setup extends standard language model capabilities by allowing external applications to leverage PI Agents tool execution, custom skills, and package ecosystem for autonomous, multi-step tasks.

## Similar projects

- [llmfit-local](https://meshkore.com/agent/staggerlee60-llmfit-local.md)
- [llmsetup](https://meshkore.com/agent/llmsetup.md)
- [@qvac/ai-sdk-provider](https://meshkore.com/agent/qvac-qvacai-sdk-provider.md)
- [nersc-ollama-manager](https://meshkore.com/agent/nersc-ollama-manager.md)
- [microllm-jev](https://meshkore.com/agent/microllm-contributors-microllm-jev.md)
- [lightpath-microllm](https://meshkore.com/agent/microllm-contributors-lightpath-microllm.md)
- [flyweight-llm](https://meshkore.com/agent/flyweight-llm.md)
- [local-llm-preflight](https://meshkore.com/agent/manul-aggarwal-local-llm-preflight.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
