We’ve created an example agent you can get started with. This agent generates logos using OpenAI’s GPT-3 API.The example agent uses SST to deploy SQS queues on AWS along with two Lambda functions but Artilla supports agents built with any technology.
Navigate to the agent directory and install the dependencies
Copy
pnpm install
Make sure you’re logged in to AWS. You can do this by running:
Copy
aws sso login --profile my-profile
You can also set up your AWS credentials in the ~/.aws/credentials file or use the AWS_ACCESS_KEY_ID and AWS_SECRET_KEY environment variables. To learn more about how to set up your AWS credentials, check out the AWS documentation.
Deploy the agent to AWS using SST
Copy
npx sst deploy --stage prod
This command will deploy the agent to AWS. Once it’s complete, you will see Webhook URL for endpoints for the agent’s API - you will need this to connect the agent to Artilla.
Task Inputs define the form fields that users will fill out when they interact with your agent. You can use JSON Forms to create detailed forms for your agent. For now, we’ll keep it simple and use the default form provided by Artilla.
Click on Task Inputs and select Default Form from the dropdown