Laboratory of Computational Intelligence (LABIC – ICMC/USP)
Agents4Gov is a research and development project from LABIC – Institute of Mathematics and Computer Sciences (ICMC/USP) focused on building LLM-based tools to support and modernize public sector services. The project emphasizes local Large Language Models (LLMs) for privacy, data anonymization, and the development and evaluation of tools for use in government and institutional environments.
Agents4Gov is built on top of the Open WebUI framework, which serves as the base environment for loading and running tools.
Before starting, ensure you are using Python 3.11 to avoid compatibility issues.
To install and run Open WebUI:
# Install Open WebUI
pip install open-webui
# Start the server
open-webui serveAfter starting, the Open WebUI interface will be available at: 👉 http://localhost:8080
In the same environment, clone the Agents4Gov repository:
git clone https://github.com/icmc-usp/Agents4Gov.gitThe tools/ directory inside the repository contains all implemented tools.
Once Open WebUI is running:
- Access the Tools module in the Open WebUI interface.
- Use the Import Tool option to add any of the tools from the
Agents4Gov/tools/directory. - Each tool has its own documentation and configuration guide within its folder.
Example:
ls Agents4Gov/tools/Each subdirectory corresponds to an individual tool that can be imported, executed, and evaluated directly within Open WebUI.
Agents4Gov/
├── tools/ # Implemented tools for public services
├── data/ # Example or anonymized datasets
├── docs/ # Documentation and evaluation reports
├── config/ # Model and system configuration files
└── README.md
- Develop and evaluate LLM-based tools focused on public sector innovation.
- Ensure privacy-preserving AI development using local LLMs and anonymized data.
- Provide a modular and extensible framework for integrating intelligent tools into public service environments.
This project is licensed under the MIT License. See the LICENSE file for details.