Change personality to opencode agent and add interactive mode

This commit is contained in:
2026-03-03 19:46:41 -05:00
parent 3b0b1b2d20
commit e3ee142f2a
4 changed files with 52 additions and 51 deletions

View File

@ -4,11 +4,11 @@ The general system behind what you will become soon.
## Overview
This repository contains the core system and personality configuration for the AI Administrator assistant.
This repository contains the core system and personality configuration for the AI Administrator assistant, powered by OpenCode.
## Structure
- `personality.md` - Defines the personality and characteristics of the AI administrator
- `.opencode/agents/ernie.md` - Defines the personality and characteristics of the AI administrator
- `ai-administrator.sh` - Shell script to run the AI with the configured personality
## Usage
@ -19,4 +19,21 @@ Run the AI Administrator with:
./ai-administrator.sh
```
This will launch the AI with the system prompt loaded from `personality.md`.
This will launch the AI with the system prompt loaded from the ernie agent configuration.
### Options
- **Interactive mode** (default): Opens an interactive chat session
```bash
./ai-administrator.sh
```
- **Non-interactive mode**: Runs a single command and exits
```bash
./ai-administrator.sh --non-interactive "your prompt here"
```
- **With prompt argument**: Pass a prompt directly
```bash
./ai-administrator.sh "your prompt here"
```