/>
v1.0.0 Now Available

Production AI Agent Runtime

Build, deploy, and manage autonomous AI agents with built-in memory management, safe tool sandboxing, and multi-provider LLM support.

6+ LLM Providers
100% Open Source
MIT License
Terminal
$ agentos chat --provider claude
Connected to Claude 3.5 Sonnet
🤖 AgentOS Chat Ready
You: Create a Python web scraper
AI: I'll create a web scraper for you...

Powerful Features

Everything you need to build and deploy production-ready AI agents

Security First

Command filtering blocks dangerous operations. Input validation prevents injection attacks. Optional Docker isolation for safe execution.

Interactive Chat

Real-time conversations with any LLM provider. Rich terminal UI with markdown rendering, syntax highlighting, and chat history.

Multi-LLM Support

Switch between OpenAI, Claude, Gemini, Cohere, GitHub Models, and local Ollama models with a single flag.

Process Management

SQLite-backed agent registry with status tracking, log aggregation, and graceful shutdown with SIGTERM/SIGKILL support.

Timeout Protection

Configurable timeouts prevent runaway processes. Resource limits ensure agents don't consume excessive system resources.

YAML Manifests

Define agents with simple YAML configuration files. Specify models, security settings, and custom blocked commands.

Supported LLM Providers

Connect to your favorite AI models with zero configuration

GitHub Models

Default

OpenAI

GPT-4, GPT-3.5

Anthropic

Claude 3.5

Google

Gemini 2.0

Cohere

Command

Ollama

Local

Get Started in Minutes

Simple installation process for Linux and Windows

1

Clone the repository

git clone https://github.com/agents-os/agentos.git
2

Navigate to the directory

cd agentos
3

Run the installer

python3 install_linux.py
4

Set up environment variables

cp .env.example .env && nano .env
1

Clone the repository

git clone https://github.com/agents-os/agentos.git
2

Navigate to the directory

cd agentos
3

Run the installer

python install_windows.py
4

Set up environment variables

copy .env.example .env && notepad .env

Quick Start Guide

Get your first agent running in under 5 minutes

1. Create Agent Manifest

name: my_assistant
model_provider: github
model_version: openai/gpt-4o-mini
isolated: false

DESTRUCTIVE_COMMANDS:
  - rm
  - sudo
  - rmdir

Save as agent.yaml

2. Run Your Agent

# Run a task
agentos run agent.yaml --task "create hello world"

# Monitor agents
agentos ps

# View logs
agentos logs my_assistant

3. Interactive Chat

# Chat with Claude
agentos chat --provider claude

# Use local Ollama (no API key!)
agentos chat --provider ollama

# Custom settings
agentos chat --provider openai --model gpt-4

CLI Commands

Powerful command-line interface for complete control

agentos run <manifest> --task "<task>" Run an agent with a specific task
agentos chat [--provider <name>] Start interactive chat mode
agentos ps List all running agents
agentos logs <agent_name> [--tail 50] View agent execution logs
agentos stop <agent_name> Stop a running agent
agentos prune Remove stopped agents

Ready to automate everything?

Join the community building the future of AI agents