# How it works

dyrector.io consists of 2 major components:

* **an agent** that's installed on your environment where you want to deploy images – crane is the agent that communicates with Kubernetes API and dagent is the agent for communication with Docker API, both written in Go –,
* **and a platform** (UI developed in React.js, Next.js. Backend developed in Node.js, Nest.js). Communication between the agents and the platform takes place in gRPC with TLS encryption. The data is managed in a PostgreSQL database mapped by Prisma ORM.

### dyrector.io cloud (alpha access)

![](https://315393028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCNvxW8k55ZlpJfMk8Oep%2Fuploads%2F1AINKE1uejciOowIZN2Q%2Fdyrector-io-cloud-hosted-architecture-dark.png?alt=media\&token=db553c02-fafc-435e-ac51-5d9d9b8fb3af)

{% hint style="warning" %}
Alpha is suggested for non-production purposes. If you want to use it for production, reach out to us at [**hello@dyrector.io**](mailto:hello@dyrector.io).
{% endhint %}

### Self-managed

![](https://315393028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCNvxW8k55ZlpJfMk8Oep%2Fuploads%2FzSHBZaQJl3oZ1aRrJxmh%2Fdyrector-io-self-hosted-architecture-dark.png?alt=media\&token=6a390698-845e-4478-9581-4a1c8f98e087)

Self-hosted dyrector.io is free and will always be, without feature and usage restrictions.

![](https://static.scarf.sh/a.png?x-pxid=04316d37-a90c-4df6-9ca9-cc75bd843ba9)
