Skip to content

MLAI-AUS-Inc/roo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

264 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Roo Standalone - AI Agent Service

A standalone FastAPI microservice for the Roo AI agent with PostgreSQL + pgvector for vector embeddings and a skills-based architecture.

Quick Start

# Install dependencies
pip install -r requirements.txt

# Run development server
uvicorn roo.main:app --reload

# Run with Docker
docker-compose up -d

Project Structure

roo-standalone/
β”œβ”€β”€ roo/                    # Main application
β”‚   β”œβ”€β”€ main.py             # FastAPI entrypoint
β”‚   β”œβ”€β”€ config.py           # Settings
β”‚   β”œβ”€β”€ agent.py            # Core agent
β”‚   β”œβ”€β”€ llm.py              # LLM client
β”‚   β”œβ”€β”€ database.py         # PostgreSQL + pgvector
β”‚   β”œβ”€β”€ embeddings.py       # Vector embeddings
β”‚   β”œβ”€β”€ slack_client.py     # Slack SDK
β”‚   β”œβ”€β”€ skills/             # Skill system
β”‚   └── clients/            # External API clients
β”œβ”€β”€ skills/                 # Skill definitions (*.md)
β”œβ”€β”€ tests/                  # Test suite
└── docker-compose.yml

Skills System

Skills are defined as markdown files in skills/. Each skill specifies:

  • Trigger keywords
  • Parameters to extract
  • Actions to perform (LLM, database, API calls)

See skills/connect_users.md for an example.

Environment Variables

Copy .env.example to .env and configure:

  • DATABASE_URL - PostgreSQL connection
  • SLACK_BOT_TOKEN - Slack bot token
  • OPENAI_API_KEY - For LLM and embeddings

About

MLAI's AI Agent and Assistant Roo with multiple skills for community management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors