This is a simple agent that can help you with understanding source code and answering questions about it and performing tasks related to it.
Before you begin, ensure you have the following installed:
- Bun: Version 1.2.4 or higher
The .env.example
file has examples of the environment variables you need to set in your local .env
file. If you're importing this project into Agentuity, copy the .env.example
file to .env
and then run agentuity project import
.
Before using Agentuity, you need to authenticate:
agentuity login
This command will open a browser window where you can log in to your Agentuity account.
To create a new agent in your project:
agentuity agent new
Follow the interactive prompts to configure your agent.
Run your project in development mode with:
agentuity dev
This will start your project and open a new browser window connecting your Agent to the Agentuity Console in Live Mode, allowing you to test and debug your agent in real-time.
When you're ready to deploy your agent to the Agentuity Cloud:
agentuity deploy
This command will bundle your agent and deploy it to the cloud, making it accessible via the Agentuity platform.
βββ agents/ # Agent definitions and implementations
βββ node_modules/ # Dependencies
βββ .agentuity/ # Agentuity configuration files
βββ package.json # Project dependencies and scripts
βββ agentuity.yaml # Agentuity project configuration
Your project configuration is stored in agentuity.yaml
. This file defines your agents, development settings, and deployment configuration.
You can set environment variables for your project:
agentuity env set KEY=VALUE
For sensitive information, use secrets:
agentuity env set --secret KEY=VALUE
For comprehensive documentation on the Agentuity JavaScript SDK, visit: https://agentuity.dev/SDKs/javascript
If you encounter any issues:
- Check the documentation
- Join our Discord community for support
- Contact the Agentuity support team
This source code is free to use and modify under the terms of the MIT license.