> 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/deploying/cloud/development.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Development

Iterate quickly against a transient cloud session

For building and testing, the SDK creates a **transient session** on demand. You connect, run inference, and the session idles out when you stop — nothing to provision or tear down.

### Connect and run

Provide a Pop when you open the session so EyePop can schedule the right compute before any media is processed.

{% 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 %}

A new transient session is created each time you connect with a Pop, and the pipeline it created is deleted when you disconnect. The SDK does not delete the session; it idles out on its own once you stop using it. Models load on first use, so the first request carries a cold start — when you need production latency, promote the same Pop to a persistent [Deployment](https://docs.eyepop.ai/deploying/cloud/deployment.md).

For video, streaming, image groups, and visualization, see [Running Inference](https://docs.eyepop.ai/sdks/python/inference.md) in the Python SDK or [Running Inference](https://docs.eyepop.ai/sdks/node/inference.md) in the Node SDK.

### Next steps

* [Deployment](https://docs.eyepop.ai/deploying/cloud/deployment.md) — promote to a persistent session with no cold start
* [Pops](https://docs.eyepop.ai/platform/pop.md) — chain abilities into a pipeline
* [Quickstart](https://docs.eyepop.ai/readme.md) — the shortest walkthrough from zero


---

# 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/deploying/cloud/development.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.
