> For the complete documentation index, see [llms.txt](https://superlouis.gitbook.io/tzombies/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://superlouis.gitbook.io/tzombies/setup/completium.md).

# Completium

Completium is a set of tools to support smart contract development with the [Archetype language](https://archetype-lang.org/). We installed completium in the previous section, but it must be initialised.

{% hint style="info" %}
Running `npx completium-cli` will run the locally installed completium client interface package. For convenience, the command can be aliased with:

```bash
alias ccli="npx completium-cli"
```

Then, subsequent calls to `ccli` are shorthands for `npx completium-cli`
{% endhint %}

```bash
ccli init
```

This will create the local configuration and default accounts.&#x20;

### Sandbox

A sandbox is a local simulated blockchain for testing and development purposes.

Completium-cli uses the `oxheadalpha/flextesa` container with a single node and bootstrapped accounts. With Docker running, ensure you have an up-to-date sandbox container:

```bash
docker pull oxheadalpha/flextesa:latest
```

Start the blockchain sandbox:

```bash
ccli start sandbox
```

## Useful commands

Start/stop the sandbox container (a new blockchain will be created at each restart)

```bash
ccli start sandbox
ccli stop sandbox
```

Switch environments (sandbox, ghostnet...)

```bash
ccli switch endpoint
```

Switch account (used for next call):

```bash
ccli switch account
```

Other commands will explained throughout the tutorial. You can always refresh your memory with `ccli help`.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://superlouis.gitbook.io/tzombies/setup/completium.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
