> For the complete documentation index, see [llms.txt](https://docs.urbit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.urbit.org/urbit-os/kernel/lick.md).

# Lick

Guide to Lick, Arvo's IPC vane.

Urbit's [inter-process communication](https://en.wikipedia.org/wiki/Inter-process_communication) (IPC) module.

Lick manages IPC ports, and the communication between Urbit applications and [POSIX](https://en.wikipedia.org/wiki/POSIX) applications via these ports. Other Arvo modules and applications ask Lick to open an IPC port, notify it when something is connected or disconnected, and transfer data between itself and the Unix application.

The IPC ports Lick creates are Unix domain sockets (`AF_UNIX` address family) of the `SOCK_STREAM` type.

The format of the full message with header and data sent to and from the socket is as follows:

| 1 byte  | 4 bytes           | *n* bytes |
| ------- | ----------------- | --------- |
| version | jam size in bytes | jamfile   |

The version is currently `0`.

The [`+jam`](/hoon/stdlib/2p.md#jam)file contains a pair of `$mark` and `$noun`. The process on the host OS must therefore strip the first 5 bytes, [`+cue`](/hoon/stdlib/2p.md#cue) the jamfile, check the mark, and (most likely) convert the noun into a native data structure.

Here are some libraries that can cue/jam:

* [pynoun](https://github.com/urbit/tools)
* [nockjs](https://github.com/urbit/nockjs)
* [Rust Noun](https://github.com/urbit/noun)

Lick has no novel data types in its API apart from `$name`, which is just a path representing the name of a socket.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.urbit.org/urbit-os/kernel/lick.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
