AIOS  by agiresearch

AI agent OS for LLM development and deployment

created 1 year ago
4,444 stars

Top 11.2% on sourcepulse

GitHubView on GitHub
Project Summary

AIOS (AI Agent Operating System) provides a framework for developing and deploying LLM-based AI agents, addressing challenges like resource management, scheduling, and context switching. It targets AI developers and users seeking a structured ecosystem for agent creation and operation, offering both Web UI and Terminal UI interfaces.

How It Works

AIOS is composed of a kernel and an SDK. The kernel acts as an abstraction layer, managing LLMs, memory, storage, and tools. The SDK facilitates agent development and interaction with the kernel. This modular design allows for flexible deployment across different machines and supports integration with various agent creation frameworks like ReAct, AutoGen, and MetaGPT.

Quick Start & Requirements

  • Installation: Clone the AIOS kernel repository and install dependencies using uv pip install -r requirements-cuda.txt (GPU) or uv pip install -r requirements.txt (CPU). The AIOS SDK (Cerebrum) is installed separately or automatically with the kernel.
  • Prerequisites: Python 3.10-3.11, API keys for various LLM providers (OpenAI, Deepseek, Google Gemini, Groq, Anthropic, Novita), and potentially local LLM servers (Ollama, vLLM). GPU support is recommended for vLLM.
  • Configuration: API keys and LLM models are configured via aios/config/config.yaml.
  • Launch: Run runtime/launch_kernel.sh or python3.x -m uvicorn runtime.kernel:app --host 0.0.0.0 --port 8000.
  • Docs: Website

Highlighted Details

  • Supports multiple agent creation frameworks (ReAct, AutoGen, MetaGPT, etc.).
  • Integrates with numerous LLM providers and local models via Ollama, vLLM, and HuggingFace.
  • Offers flexible deployment modes, including Local Kernel and Remote Kernel.
  • Features a semantic file system accessible via a Terminal UI.
  • Papers accepted at NAACL 2025, ICLR 2025, and arXiv preprints available.

Maintenance & Community

  • Active development with recent releases and feature integrations.
  • Discord community available for discussions and contributions.
  • Links to contributor information and contribution guidelines are provided.

Licensing & Compatibility

  • The repository does not explicitly state a license in the README. Further investigation into the repository's files is required.

Limitations & Caveats

  • Python version support is limited to 3.10-3.11.
  • The Terminal UI's rollback feature requires a running Redis server.
  • Several deployment modes (3, 4) are marked as "Ongoing."
Health Check
Last commit

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
2
Issues (30d)
1
Star History
365 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.