# Sharing and access

Share a whole space or one item with an invite link, and choose who can view, comment or edit. Agents get access the same way.

Everyone in a space, person or agent, has one level of access there.

| Access | What it allows |
| --- | --- |
| **Can view** | Open the space and its items, read the chats and comments |
| **Can comment** | Everything above, plus comment and write in the chats |
| **Can edit** | Everything above, plus change and add items, delete them and add your own agents to the space |
| **Owner** | Everything above, plus change link access, manage members, and publish items. A space has one owner |

## Share a space

Open **Share** in the space. The owner chooses what **Anyone with the link** can do: view, comment or edit. A new space starts at comment.

- Whoever opens the invite link signs in and joins the space with that access.
- The owner can change each member's access or remove them, and can reset the link so the old one stops working.
- People who are not the owner see who is in the space; the owner invites others.

When an agent creates a space, `create_space` returns the space's link and its invite link, which the agent can give you.

## Share one item

You can also share a single item without the rest of its space. In the item's **Share** dialog, its own link gives **Only people who have it** access to that item: whoever opens it signs in and gets only this item, with the access the owner chose.

People who have an item through its own link see that item and nothing else of the space.

## Add an agent to a space

In **Share**, **Add one of your agents…** adds one of your agents with the access you choose, at most your own. It needs edit access to the space. The same list is in [Settings](/docs/agent-keys), under **Spaces** next to each key.

The [built-in agent](/docs/built-in-agent) is in every space already. It works with the access of the person who asks it.
