
This page aims to document Python protocols and usage (e.g. cloud, desktop).
Looking for Javascript/Typescript instructions?
Overview
Universal Intelligence (aka UIN) aims to make AI development accessible to everyone through a simple interface, which can optionally be customized to grow with you as you learn, up to production readiness.
It provides both a standard protocol, and a library of components implementating the protocol for you to get started —on any platform
.
🧩 AI made simple. spacehendrix
Learn more by clicking the most appropriate option for you:
I'm new to building agentic apps
Welcome! Before jumping into what this project is, let's start with the basics.
What is an agentic app?
Agentics apps are applications which use AI. They typically use pretrained models, or agents, to interact with the user and/or achieve tasks.
What is a model?
Models are artificial brains, or neural networks in coding terms. 🧠
They can think, but they can't act without being given the appropriate tools for the job. They are trained to produce a specific output, given a specific input. These can be of any type (often called modalities —eg. text, audio, image, video).
What is a tool?
Tools are scripted tasks, or functions in coding terms. 🔧
They can't think, but they can be used to achieve a pre-defined task (eg. executing a script, making an API call, interacting with a database).
What is an agent?
Agents are robots, or simply put, models and tools connected together. 🤖
🤖 = 🧠 + [🔧, 🔧,..]
They can think and act. They typically use a model to decompose a task into a list of actions, and use the appropriate tools to perform these actions.
What is ⚪ Universal Intelligence?
UIN is a protocol aiming to standardize, simplify and modularize these fundamental AI components (ie. models, tools and agents), for them to be accessible to any developer, and distributed on any platform.
It provides three specifications: Universal Model, Universal Tool, and Universal Agent.
UIN also provides a set of ready-made components and playgrounds for you to get familiar with the protocol and start building in seconds.
Universal Intelligence can be used across all platforms (cloud, desktop, web, mobile).
See next: How to make a simple AI application 📖
I have experience in building agentic apps
Universal Intelligence standardizes, simplifies and modularizes the usage and distribution of artifical intelligence, for it to be accessible by any developers, and distributed on any platform.
It aims to be a framework-less agentic protocol, removing the need for proprietary frameworks (eg. Langchain, Google ADK, Autogen, CrewAI) to build simple, portable and composable intelligent applications.
It does so by standardizing the fundamental building blocks used to make an intelligent application (models, tools, agents), which agentic frameworks typically (re)define and build upon —and by ensuring these blocks can communicate and run on any hardware (model, size, and precision dynamically set; agents share resources).
It provides three specifications: Universal Model, Universal Tool, and Universal Agent.
This project also provides a set of community-built components and playgrounds, implementing the UIN specification, for you to get familiar with the protocol and start building in seconds.
Universal Intelligence protocols and components can be used across all platforms (cloud, desktop, web, mobile).
Agentic Framework vs. Agentic Protocol
How do they compare?
Agent frameworks (like Langchain, Google ADK, Autogen, CrewAI), each orchestrate their own versions of so-called building blocks. Some of them implement the building blocks themselves, others have them built by the community.
UIN hopes to standardize those building blocks and remove the need for a framework to run/orchestrate them. It also adds a few cool features to these blocks like portability.
For example, UIN models are designed to automatically detect the current hardware (cuda, mps, webgpu), its available memory, and run the appropriate quantization and engine for it (eg. transformers, llama.cpp, mlx, web-llm). It allows developers not to have to implement different stacks to support different devices when running models locally, and (maybe more importantly) not to have to know or care about hardware compatibility, so long as they don't try to run a rocket on a gameboy 🙂
Get Started
Tip
An online Google Colab Playground is now available to help introduce you to making AI applications using Universal Intelligence! ⚡
Get familiar with the composable building blocks, using the default community components.
# Choose relevant install for your device
pip install "universal-intelligence[community,mps]" # Apple
pip install "universal-intelligence[community,cuda]" # NVIDIA
# Log into Hugging Face CLI so you can download models
huggingface-cli login
🧠 Simple model
from universal_intelligence import Model # (or in the cloud) RemoteModel [free], PaidRemoteModel [paid, higher perf]
model = Model() # (or in the cloud) RemoteModel(credentials='openrouter-api-key')
result, logs = model.process("Hello, how are you?")
Note
Models may run locally or in the cloud.
See Documentation>Community Components>Remote Models for details.
Preview:

- Remote Model (cloud-based)

🔧 Simple tool
from universal_intelligence import Tool
tool = Tool()
result, logs = tool.print_text("This needs to be printed")
Preview: