---
title: "AI Programming Interface (AIPI)"
description: "An AI Programming Interface (AIPI) functions like a traditional API, but instead of executing static server-side code, it facilitates interactions with Large Language Models (LLMs) through hosted prompts, producing non-deterministic outcomes."
canonical_url: "https://promptmetheus.com/resources/llm-knowledge-base/ai-programming-interface-aipi"
---

> Index of every page on this site: [llms.txt](https://promptmetheus.com/llms.txt)

An AI Programming Interface (AIPI) functions like a traditional API, but instead of executing static server-side code, it facilitates interactions with [Large Language Models (LLMs)](https://promptmetheus.com/resources/llm-knowledge-base/large-language-model-llm) through hosted [prompts](https://promptmetheus.com/resources/llm-knowledge-base/prompt), producing non-deterministic outcomes.

AIPIs server as abstraction layers over general [LLM APIs](https://promptmetheus.com/resources/llm-knowledge-base/llm-api), where every endpoint is tailored for a specific task. While they usually accept user input, that doesn't always have to be the case.

In its simplest form, an AIPI endpoint can simply merge input data into a predefined [one-shot prompts](https://promptmetheus.com/resources/llm-knowledge-base/one-shot-prompt), complete it with a call to an LLM API, and return the result. In more complex scenarios, an endpoint might retrieve data from external sources, [vector stores](https://promptmetheus.com/resources/llm-knowledge-base/vector-store), etc., and trigger one or more [AI agents](https://promptmetheus.com/resources/llm-knowledge-base/ai-agent) to generate a response.

## Sitemap

See the full [sitemap](https://promptmetheus.com/sitemap.md) for all pages.
