# Prerequisites

### Prerequisites

* Node.js environment
* Installed Skynet package

Before you begin, configure your `.env` file. Here is an example:

{% code lineNumbers="true" %}

```
# Network Configuration
PROVIDER_RPC=your_provider_rpc_url_here

# Wallet Configuration
AGENT_PRIVATE_KEY=your_private_key_here
AGENT_ADDRESS=your_wallet_address_here

# IPFS CONFIG for managing budgets

LIGHTHOUSE_API_KEY=
IPFS_PROJECT_ID=
IPFS_PROJECT_SECRET=

# Project Configuration
PROJECT_ID=

# Resource Budget (Defaults to 5)
DEFAULT_RESOURCE_BUDGET=5
```

{% endcode %}

### Installation

Install the Skynet package:

```bash
npm i @decloudlabs/skynet
```


---

# Agent Instructions: 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:

```
GET https://documentation.skynet.io/skynet/build-your-project-on-skynet/interact-with-ai-service-to-create-an-agent/prerequisites.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
