# Organizations

> An organization is a security company's private workspace in Vigil. It holds the company's people, sites, devices, chats and agents, and its settings and usage.

Source: https://vigilsecure.net/docs/concepts/organizations/

An organization is one security company's workspace in Vigil. Everything you set up belongs
to it: your [users](https://vigilsecure.net/docs/concepts/users.md) and their [roles](https://vigilsecure.net/docs/concepts/roles.md), your
[sites](https://vigilsecure.net/docs/concepts/sites.md), [beacons](https://vigilsecure.net/docs/concepts/beacons.md) and
[devices](https://vigilsecure.net/docs/concepts/devices.md), your [chats](https://vigilsecure.net/docs/concepts/communication.md),
[agents](https://vigilsecure.net/docs/concepts/agents.md) and [artifacts](https://vigilsecure.net/docs/concepts/artifacts.md).

An organization is a hard boundary. Nothing in it is visible to another organization, and
every permission is checked against membership of the organization the data belongs to.

Its settings are under **Directory → Organization** in the console.

## One company, one organization

Create one organization for your company, and model your clients as
[sites](https://vigilsecure.net/docs/concepts/sites.md) inside it. A person can belong to several organizations and
switch between them from the organization switcher at the bottom of the sidebar, which is
useful for a group with separate operating companies.

To create one, see [Set up your organization](https://vigilsecure.net/docs/setup/set-up-your-organization.md).

## General

The **General** tab holds how your organization appears across Vigil:

- **Organization photo**: your logo.
- **Name**: shown in the console and on your guards' devices.
- **Website**, **Address** and **Company size**: optional.

Changing these needs the **Edit organization** permission, which the owner role has.

## Features

The **Features** tab lists optional parts of Vigil and whether each is enabled for your
organization. Features that are still being rolled out are switched on by Vigil.
[Cameras](https://vigilsecure.net/docs/concepts/cameras.md) is one of them.

## Usage

The **Usage** tab shows what your organization used in a month and what it costs. Choose
**This month** or **Last month**.

| Panel              | What it shows                                                                                                |
| ------------------ | ------------------------------------------------------------------------------------------------------------ |
| **Agent spend**    | The total spend and number of runs, and the same for each agent with its share. Failed runs are not charged. |
| **Infrastructure** | The number of sites, beacons, devices and cameras, the monthly price of each, and the cost.                  |
| **Total**          | Agent spend plus a month of the infrastructure.                                                              |

Agent spend is based on the amount of text an agent reads and writes while it works, at
the same rate whichever AI model is used. Infrastructure is charged for a full month at the
current price.

What you see depends on your role. Agent spend needs the **View agent runs** permission,
each infrastructure row needs permission to view that kind of record, and the total is shown
only to people who can view all of them, which by default means admins and owners. The
cameras row appears when the cameras feature is enabled. For pricing, contact
[admin@vigilsecure.net](mailto:admin@vigilsecure.net).

## Search the organization

Choose the search button in the sidebar, or press Ctrl+K (⌘K on a Mac), to search sites,
beacons, devices, users, agents and roles by name, and to jump to a page or an action such
as **Add site** or **Invite a user**. You only see results your role lets you read.

## Leave or delete an organization

- **Leave**: from the list of organizations you see after signing in, choose **Leave
  organization**. You lose access straight away; what you wrote stays. The last owner cannot
  leave until somebody else holds the owner role.
- **Delete**: on the **Advanced** tab, an owner can choose **Delete organization**. Everybody
  loses access at once, its agents stop running, its invitations stop working and its
  devices can no longer reach it. Vigil keeps its messages, sites and history instead of
  erasing them, but the organization cannot be brought back from the console.

To hand a company over, give somebody else the owner role first, then leave.

## Related

- [Set up your organization](https://vigilsecure.net/docs/setup/set-up-your-organization.md)
- [Frequently asked questions](https://vigilsecure.net/docs/faq.md#your-company-and-your-data)
