# Build your first agent in 5 minutes

You can build an agent for Superhuman Go in only a few minutes, without leaving your browser. This quick tutorial walks you through building, deploying, and testing your agent end-to-end.

## Before you begin

Before you can start coding, there are a few things you need:

**Superhuman Account** : If you don't already have one, sign up for a free account here: [id.superhuman.com/signup](https://id.superhuman.com/signup)

**Grammarly for Chrome** : Install it from the [Chrome web store](https://chromewebstore.google.com/detail/grammarly-ai-writing-assi/kbfnbcaeplbcioakkpcpgfkobkghlhen). Once installed, click on the Grammarly icon in the extension toolbar and enable the option **Use Superhuman Go**.

```
Google Chrome only

Although other browsers support Chrome extensions (Arc, Opera, etc), only Google Chrome is supported at this time.
```

## Create the agent

Superhuman Go agents are built using Packs. Follow the steps below to create a Pack that will work as an agent.

Visit <https://pack.new> to open the Pack Studio web editor and create a new Pack. Select the option **Start with an empty Pack**.

The Pack Studio is an online IDE for building and managing Packs. It's also possible to build them locally and upload them with the Packs CLI.

Delete all of the original code and replace it with the code shown.

This code:

- Imports the SDK
- Initializes a Pack definition
- Adds a skill, which the agent can use to answer questions

```
import * as sdk from "@codahq/packs-sdk";

export const pack = sdk.newPack();

pack.addSkill({
  name: "SecretPassword",
  displayName: "Secret password",
  description: "Tell the secret password.",
  prompt: `
    When the user asks for the secret password,
    tell them it's "foobar".
  `,
  tools: [],
});
```

Click the **Build** button to compile and upload the Pack.

Building the Pack creates a new version, which acts as a checkpoint for your code.

When prompted to **Create a test doc**, dismiss the dialog with the **X** icon in the upper right.

It can be useful to test your agent's tools in a Coda doc, where you can more precisely control the inputs and view the outputs, but this agent doesn't have any tools.

Click on the name of the Pack in the upper left, and rename it to "**Secret**".

The **Listing** and **Agent Listing** tabs have additional fields you can set, such as the icon, description, etc.

______________________________________________________________________

Your Pack is now built, deployed, and ready to use as an agent. You can close the Pack Studio.

## Install the agent

Follow the steps below to install your agent in Superhuman Go.

Open any website ([textarea.org](https://textarea.org) is great for testing agents).

Slide your mouse to the right of the page, and click the Superhuman Go icon that slides out.

Click the **+** icon labeled **More agents**.

In the search box, type **Secret**.

Click on the tile for the **Secret** agent.

Click the **Agree and open agent** button at the bottom.

______________________________________________________________________

The agent should be added to your bench and selected, with a puzzle piece icon and the label **Secret**.

## Test the agent

Start chatting with your agent and test if it responds correctly.

In the chat box, type:

```
Who are you?
```

It should respond saying that it is the "Secret agent".

Reply with the message:

```
What is the password?
```

It should respond with "foobar"

______________________________________________________________________

You've built and tested your first agent, congrats! 🎉

## Next steps

The agent you just built was pretty simple, but agents can do so much more. Explore the full set of features using the resources below:

- Try some of the [Example agents](../examples/) to explore what else you can build.
- Read the documentation on [Skills](../features/skills/), [Tools](../features/tools/), and [Context](../features/context/) to learn more about the capabilities of the platform.
