No project description provided
Project description
GUM (General User Models)
Documentation
We have some early auto-generated docs here: docs/gum.md
This is very much an alpha release---things will get a lot cleaner and less buggy very soon. In the mean time, feel free to follow the instructions below.
Installation
[!WARNING] This repository uses GPT 4.1 as a placeholder. However, we STRONGLY encourage users to deploy their own local models to serve GUMs. Our paper uses Qwen 2.5 VL and Llama 3.3. We use the OpenAI ChatCompletions API, but awesome open source inference projects like vLLM support the endpoint.
Install from source for now (package coming soon!) As of now, we've only tested MacOS:
git clone https://github.com/GeneralUserModels/gum
cd gum
pip install -e .
Usage
- Basic setup:
# Make sure to set OPENAI API ENV variables
import asyncio
from gum import gum
from gum.observers import Screen
async def main():
async with gum("Omar Shaikh", Screen()):
await asyncio.Future() # run forever (Ctrl-C to stop)
if __name__ == "__main__":
asyncio.run(main())
- Using the CLI:
gum start --user-name "your_name"
- Setting up an MCP:
Check out this repository for using GUMs with MCP.
Project Structure
gum/: Main package directorygum.py: Core functionality and gum classesmodels.py: Database models and schemasdb_utils.py: Database utilitiesobservers/: Observer implementationscli.py: Command-line interfaceprompts/: Prompt templates
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License
Citation and Paper!
If you're interested in reading more, please check out our paper!
Creating General User Models from Computer Use
@article{shaikh2025gums,
title={Creating General User Models from Computer Use},
author={Shaikh, Omar and Sapkota, Shardul and Rizvi, Shan and Horvitz, Eric and Park, Joon Sung and Yang, Diyi and Bernstein, Michael S.},
journal={arXiv preprint},
year={2025}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gum_ai-0.1.0.tar.gz.
File metadata
- Download URL: gum_ai-0.1.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a77adb0f63eb75fb3e1c5b168464b12dc745249d1efc0b298d2507d9776e56c2
|
|
| MD5 |
b0d3627994ae1af5b8d6cb1d448d4e46
|
|
| BLAKE2b-256 |
54ab0db69580cbea524c919a9dcc7d84184414c7038cba086a228a6b9b81851e
|
File details
Details for the file gum_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gum_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f607abbc91e52523a0f1b26da76eaff6abfb3174484cfe1e09b84fdf457bfca9
|
|
| MD5 |
5aaf0f23b53c1205524a38b1639ff787
|
|
| BLAKE2b-256 |
9b9c47b474214461c325b835efa7cba3bb81cc04784a9fe6e5b585a08fb52de7
|