> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# register Compute Provider • TypeScript AI Agent SDK

> registerComputeProvider: API reference for registerComputeProvider

# registerComputeProvider

Function

> This function is defined in the [**compute**](https://praison.ai/docs/sdk/reference/typescript/modules/compute.md) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def registerComputeProvider(name: string, factory: Factory) -> void
```

### Returns

**Returns** `void`

The result of the operation.

## Uses

* `set`
* `resolveComputeProvider`
* `Agent`
* `registerToolPlace`
* `ComputeToolPlace`
* `factory`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/compute/index.ts#L37)
>
> `src/compute/index.ts` at line 37

***

## Related Documentation

> [card] [JS Providers](https://praison.ai/docs/docs/js/providers)

> [card] [JS Provider Registry](https://praison.ai/docs/docs/js/provider-registry)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.