ActionKit Playground
Try ActionKit in the Playground, a sandbox to test chatting with an agent that has access to ActionKit tools.
Last updated
Was this helpful?
Try ActionKit in the Playground, a sandbox to test chatting with an agent that has access to ActionKit tools.
Last updated
Was this helpful?
Get the source on GitHub
Find the source code for ActionKit Playground on our GitHub repository.
To run the ActionKit Playground locally, you will need the following:
Node.js ≥ v22 and pnpm
available in $PATH (Install instructions)
OpenAI API Key
Paragon Project ID and Signing Key
Start by cloning the source of Playground locally:
Install the dependencies with pnpm:
Next, create a local SQLite database by running the migration script:
Then, copy the .env.example
into a .env.local
file:
In the .env.local
file, provide your values for OPENAI_API_KEY, PARAGON_SIGNING_KEY, and NEXT_PUBLIC_PARAGON_PROJECT_ID.
Finally, run Playground:
Playground will start locally on port 3000 by default.
The Playground is intended to help guide development of your own integration-enabled agents.
Try connecting integrations that will be relevant to your customers and iterating on system prompts that reflect the goals of the agents you are building.
Here's how to start using the Playground:
When you click on an integration, the Connect Portal will appear. In your app, you can place the Connect Portal wherever your users will find integrations.
Note: Only Active integrations that are supported by ActionKit will appear in the sidebar.
To start a new chat with new context, click the top-left navigation menu and select New chat. You can also navigate a history of previous chats in the sidebar.
This means that your Signing Key was not correctly formatted or supplied.
Make sure that you have a .env.local
file (copied from .env.example
) that includes a value for PARAGON_SIGNING_KEY. The value should be on one line, separated with \n
.
Check your browser console (Inspect Element > Console).
If you are seeing 401 responses from the Paragon API, double-check the values for your NEXT_PUBLIC_PARAGON_PROJECT_ID and PARAGON_SIGNING_KEY.
Verify that ActionKit-compatible integrations have been added to your Paragon project and are Active.
Check the shell / terminal window where you are running pnpm dev
to see any possible errors.
If you are getting rate limit errors associated with your OpenAI account, the chat may stop or fail to save once the conversation reaches a certain length, or if you select too many tools at once.
Resolution: Keep message contents smaller in size and restrict tools to only those that are necessary to a given message.