---
id: "P:cAlgo.API.Plugin.AlgoRegistry"
kind: "property"
type: "T:cAlgo.API.Plugin"
url: "https://help.ctrader.com/ctrader-algo/references/General/Plugin/AlgoRegistry/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Plugin.AlgoRegistry

Member of [Plugin](https://help.ctrader.com/ctrader-algo/references/General/Plugin/index.md).

## AlgoRegistry

Provides access to installed Algorithms.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Plugins cannot run in the CLI: ctrader-cli runs cBots only.
- Cloud: Plugins cannot run in the cloud: it runs cBots only.

C#:

```csharp
public AlgoRegistry AlgoRegistry {get;}
```

Python:

```python
api.AlgoRegistry: AlgoRegistry
```

### Returns

`AlgoRegistry` — 

### Examples

C#:

```csharp
Print("Installed algos: {0}, cBots: {1}", AlgoRegistry.Count, AlgoRegistry.GetCount(AlgoKind.Robot));
if (AlgoRegistry.Exists("Sample Trend cBot", AlgoKind.Robot))
    Print("Sample Trend cBot is installed");
```

Python:

```python
api.Print(f"Installed algos: {api.AlgoRegistry.Count}, cBots: {api.AlgoRegistry.GetCount(AlgoKind.Robot)}")
if api.AlgoRegistry.Exists("Sample Trend cBot", AlgoKind.Robot):
    api.Print("Sample Trend cBot is installed")
```

