Skip to content

Private Beta

Building, testing, and publishing agents are only available to a limited set of developers at this time.
The following documentation provides an early preview of the SDK, and the specifics are subject to change.

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:

Grammarly Account

If you don’t already have one, sign up for a free account here: grammarly.com/signup

Individual accounts only

At the moment, you can only use agents with individual Grammarly accounts. If you have an account on a team plan (Pro or Enterprise), it won’t be compatible. As a workaround, select another email address and create a new Grammarly account on the Free plan.

Coda account

If you don't already have one, sign up for a free account here: coda.io/signup

Ensure the emails match

Please ensure that you use the same email address to sign up for both Coda and Grammarly. The email address is the key being used to link both accounts.

Grammarly for Chrome

Install it from the Chrome web store. 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 Coda Packs. Follow the steps below to create a Coda 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.

A screenshot initial dialog shown in the Pack Studio.

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 coda from "@codahq/packs-sdk";

export const pack = coda.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.

A screenshot of the Pack Studio, highlighting the location of the build button.

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.

A screenshot of the Pack Studio, showing the dialog presented after building the first version.

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.

A screenshot of the Pack Studio, highlighting where to click to rename the Pack.


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

Install the agent

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

Open any website (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.

A screenshot of the Superhuman Go logo sliding out from the right of the screen.

Click the + icon labeled More agents.

A screenshot of Superhuman Go, highlighting the button to add new agents.

In the search box, type Secret.

Click on the tile for the Secret agent.

A screenshot of Superhuman Go, highlighting the search box and the agent tile.

Click the Agree and open agent button at the bottom.

A screenshot of Superhuman Go, highlighting the button to install an agent.


The agent should be added to your bench and selected, with a puzzle piece icon extension-outline Created with Sketch. 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".

A screenshot of a conversation with the Secret agent, responding with it's name.

Reply with the message:

What is the password?

It should respond with "foobar"

A screenshot of a conversation with the Secret agent, responding with the password.


You've built and tested your fist 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 to explore what else you can build.
  • Read the documentation on Skills, Tools, and Context to learn more about the capabilities of the platform.