> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/sdks.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# SDKs

Official EyePop.ai client libraries

Official client libraries for calling EyePop from your language of choice. Each SDK owns its installation, authentication, API, and examples in a repository-backed GitBook space — this page is the shortest version of the call, so you can see the shape before you pick one.

### The basic call

Set `EYEPOP_API_KEY` in your environment, describe what to run as a [Pop](https://docs.eyepop.ai/platform/pop.md), and upload media.

{% tabs %}
{% tab title="Python" %}

```python
from eyepop import EyePopSdk
from eyepop.worker.worker_types import InferenceComponent, Pop

pop = Pop(components=[
    InferenceComponent(ability="eyepop.person:latest")
])

with EyePopSdk.sync_worker(pop=pop) as endpoint:
    result = endpoint.upload("image.jpg").predict()
    print(result)
```

{% endtab %}

{% tab title="Node" %}

```typescript
import { EyePop, PopComponentType } from '@eyepop.ai/eyepop'

const endpoint = await EyePop.workerEndpoint({
    pop: {
        components: [
            { type: PopComponentType.INFERENCE, ability: 'eyepop.person:latest' },
        ],
    },
}).connect()

try {
    const results = await endpoint.process({ source: { path: 'image.jpg' } })
    for await (const result of results) {
        console.log(result)
    }
} finally {
    await endpoint.disconnect()
}
```

{% endtab %}
{% endtabs %}

Both return the same structured JSON. See [Quickstart](https://docs.eyepop.ai/readme.md) for the full walkthrough including install and API key.

### Full documentation

Each SDK's complete guide — installation, authentication, video and streaming, image groups, visualization, and composable Pops — lives in its own section of this site:

* [Node / TypeScript and React Native](https://docs.eyepop.ai/sdks/node.md)
* [Python](https://docs.eyepop.ai/sdks/python.md)

Both SDKs are open source:

* Python — [View on GitHub](https://github.com/eyepop-ai/eyepop-sdk-python)
* Node — [View on GitHub](https://github.com/eyepop-ai/eyepop-sdk-node)

Working with a coding agent? Install the eyepop skill from [Agent Skills](https://docs.eyepop.ai/agent-skills.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/sdks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
