bd8e1432e5
- Implemented the assistant bot with basic command handling and LLM routing. - Created configuration file for the assistant bot with personality, behavior, and LLM settings. - Added system prompt for the assistant bot to define its capabilities and limitations. - Developed registration script for creating Matrix bot users via Synapse admin API. - Introduced common development scripts for agent management (start, stop, list, logs). - Scaffolded new agent creation script to streamline the addition of new agents. - Implemented agent removal script to disable agents without deleting data.
40 lines
1.6 KiB
Bash
40 lines
1.6 KiB
Bash
# ============================================================
|
|
# Copy this to .env and fill in your values.
|
|
# NEVER commit .env to git.
|
|
# ============================================================
|
|
|
|
# ── Matrix ───────────────────────────────────────────────────
|
|
MATRIX_HOMESERVER=https://matrix-af2f3d.organic-machine.com
|
|
MATRIX_SERVER_NAME=matrix-af2f3d.organic-machine.com
|
|
|
|
# Admin token — solo necesario para correr cmd/register
|
|
# Obtenerlo desde Element > Settings > Help & About > Access Token
|
|
MATRIX_ADMIN_TOKEN=syt_...
|
|
|
|
# Tokens de cada bot — generados por cmd/register
|
|
MATRIX_TOKEN_ASSISTANT=syt_...
|
|
MATRIX_TOKEN_DEVOPS=syt_...
|
|
|
|
# ── LLM providers ────────────────────────────────────────────
|
|
OPENAI_API_KEY=sk-...
|
|
ANTHROPIC_API_KEY=sk-ant-... # opcional, para cuando añadas el devops-bot con Claude
|
|
|
|
# ── SSH (para devops-bot, cuando lo añadas) ──────────────────
|
|
SSH_PRIVATE_KEY_PATH=/home/ubuntu/.ssh/id_ed25519
|
|
SSH_MONITOR_KEY_PATH=/home/ubuntu/.ssh/id_ed25519
|
|
|
|
# ── Infrastructure hosts (para devops-bot) ───────────────────
|
|
PROD_HOST_1=10.0.1.10
|
|
PROD_HOST_2=10.0.1.11
|
|
STAGING_HOST=10.0.2.10
|
|
MONITORING_HOST=10.0.3.10
|
|
BASTION_HOST=bastion.example.com
|
|
|
|
# ── Matrix rooms (opcionales — el assistant-bot opera en DMs) ─
|
|
MATRIX_ROOM_DEVOPS=
|
|
MATRIX_ROOM_ALERTS=
|
|
MATRIX_ROOM_LOGS=
|
|
MATRIX_ROOM_ADMIN=
|
|
MATRIX_ROOM_AUDIT=
|
|
MATRIX_ROOM_AGENTS_INTERNAL=
|