Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/automators-com/aigent
Generate tests for you application using an autonomous AI agent
https://github.com/automators-com/aigent
agent ai javascript playwright python test-automation testing typescript
Last synced: about 16 hours ago
JSON representation
Generate tests for you application using an autonomous AI agent
- Host: GitHub
- URL: https://github.com/automators-com/aigent
- Owner: automators-com
- License: gpl-3.0
- Created: 2024-10-10T12:21:53.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-30T14:35:36.000Z (16 days ago)
- Last Synced: 2024-11-14T16:31:07.214Z (about 17 hours ago)
- Topics: agent, ai, javascript, playwright, python, test-automation, testing, typescript
- Language: Python
- Homepage:
- Size: 182 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automators Agent
## Pre-requisites
Before you begin, ensure that you have [pipx](https://pipx.pypa.io/stable/installation) installed.
> **Note:** Python 3.13 (which the default homebrew pipx install depends on) is not yet supported by us (see https://github.com/automators-com/agent/issues/7). We would suggest using `pip install pipx` in the interim.
You also need to have playwright installed:
```bash
pip install --upgrade pip
pip install playwright
playwright install
```## Installation
1. Install the agent using pipx:
```bash
python -m pipx install automators-agent
```
2. Initialize the agent:```bash
agent init
```3. Update the `.env` file to include an OpenAI API key. Edit the prompt in the `config.toml` file and then start the agent:
```bash
agent start
```## Setting up development environment
Clone the repository:
```bash
git clone https://github.com/automators-com/agent.git
cd agent
```Install the dependencies:
```bash
pip install uv
uv sync --all-extras --dev
```Install playwright:
```bash
playwright install chromium
# npx playwright install chromium
```## Environment Variables
Create a `.env` file in the root of the project with the following content:
```bash
OPENAI_API_KEY=""
OPENAI_MODEL="gpt-4o"
HEADLESS=true
LOG_LEVEL="INFO"
```## Usage
Run the agent:
```bash
uv run agent start
```