ADAPT-Chase's picture
Add files using upload-large-folder tool
fbf3c28 verified

OUI-MAX

Custom, clean-slate extensions and ops for Open WebUI + Ollama.

Goals

  • Unconstrained admin tooling: safe-by-context (container/VM), not sandboxed.
  • Deterministic defaults: minimal, known-good toolset enabled automatically.
  • Infra-as-code: versioned changes and rollout scripts.

Structure

  • scripts/ – bootstrap and migration helpers
  • .github/ – issues, PR templates, repo hygiene
  • tools/ – Open WebUI tool modules (admin, research, agents)
    • New: ollama (local LLM client), agents (two‑agent orchestrator)

Getting Started

  • Create a feature branch: git checkout -b feature/<short-desc>
  • Make changes; open a PR to dev
  • Merge to main for release

Autonomous Duo Agents (Qwen3‑8B via Ollama)

  • Ensure Ollama serves Qwen3‑8B (e.g., ollama pull qwen3:8b).
  • In Open WebUI, run: agents.duo(objective="<your goal>", max_turns=6).
  • Env overrides: OUI_DEFAULT_MODEL, OLLAMA_URL.

Research Mode (No Constraints)

  • Guardrails disabled by default via OUI_DISABLE_GUARDS=1 in .env.
  • Dangerous tools are marked “unsafe” (e.g., apt, run_bash_command, shell, proc). Use RBAC in Open WebUI before publicizing to all users.

Project Overview

OUI-MAX provides a wide range of tools, which are registered with Open WebUI. The capabilities can be broken down into these categories:

  • System Management: Full control over system packages (apt), process management (proc), and system information (system).
  • File & Directory Operations: Comprehensive, unguarded file system access (files) for reading, writing, moving, and deleting files, plus an in-place editor for textual modifications.
  • Execution & Networking: Ability to run arbitrary code and commands via python_runner, shell, and run_bash_command. It can also make HTTP requests via oui_http and fetcher.
  • Orchestration & Automation: Tools for executing multi-step plans (compose), running background jobs (scheduler), and creating collaborative agents (agents).
  • Web Research: A suite of tools for interacting with the web, including search (web_search), crawling (crawler), scraping (scraper), and parsing feeds/sitemaps (rss, sitemap).
  • Version Control: Git and GitHub integration (git_tools, gh_tools) for managing codebases and pull requests.
  • Database Administration: Direct read/write access to the Open WebUI SQLite database (db_admin).

Current Status

The project is under active development. According to the operations_history.md, the most recent updates (as of 2025-09-02) include:

  • Deployment: The database seeding process was improved to "upsert" tools, meaning it updates them without wiping existing data. This is a less destructive and more robust deployment method.
  • New Features: Two significant tools were added: ollama for direct interaction with the Ollama API, and agents for orchestrating two collaborating AI agents.
  • Guardrails: The security guardrail system was updated to be disable-able via the OUI_DISABLE_GUARDS=1 environment variable.
  • Bug Fixes: A bug in the research.quick tool was fixed.