Skip to main content

No project description provided

Project description

GUM (General User Models)

arXiv

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

  1. 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())
  1. Using the CLI:
gum start --user-name "your_name"
  1. Setting up an MCP:

Check out this repository for using GUMs with MCP.

Project Structure

  • gum/: Main package directory
    • gum.py: Core functionality and gum classes
    • models.py: Database models and schemas
    • db_utils.py: Database utilities
    • observers/: Observer implementations
    • cli.py: Command-line interface
    • prompts/: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gum_ai-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gum_ai-0.1.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

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

Hashes for gum_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a77adb0f63eb75fb3e1c5b168464b12dc745249d1efc0b298d2507d9776e56c2
MD5 b0d3627994ae1af5b8d6cb1d448d4e46
BLAKE2b-256 54ab0db69580cbea524c919a9dcc7d84184414c7038cba086a228a6b9b81851e

See more details on using hashes here.

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

Hashes for gum_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f607abbc91e52523a0f1b26da76eaff6abfb3174484cfe1e09b84fdf457bfca9
MD5 5aaf0f23b53c1205524a38b1639ff787
BLAKE2b-256 9b9c47b474214461c325b835efa7cba3bb81cc04784a9fe6e5b585a08fb52de7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page