Skip to content

Pharns/AgenticOS

Repository files navigation

AgenticOS

Deterministic AI Agent Orchestration Framework

License: MIT Python 3.10+

AgenticOS is a portable, auditable AI agent operating layer for running AI-assisted workflows safely. It provides deterministic routing, structured logging, and multi-provider support for security-conscious environments.


Quick Start

# Clone and install
git clone https://github.com/Pharns/AgenticOS.git
cd AgenticOS
./install.sh

# Verify installation
./scripts/aos doctor

# Run your first command
aos q "What is a buffer overflow?"

Features

  • Unified CLI (aos) — Single command for all operations
  • Multi-Provider Support — Claude, Codex, and Gemini
  • Auto-Routing — Keyword and AI-powered profile selection
  • Audit-Grade Logging — JSON logs for every execution
  • Health Validation — 40+ checks with auto-fix capability
  • Project Isolation — Per-project configurations
  • Memory Persistence — Session continuity across invocations

Usage Examples

# Quick questions (Gemini)
aos q "Explain SQL injection"

# Development tasks (Codex)
aos d "Fix the authentication bug"

# GRC/Compliance writing (Claude)
aos g "Draft a password policy for SOC 2"

# Auto-route based on keywords
aos auto "Write a security policy"        # → grc
aos auto "Fix the login error"            # → dev

# Work on a specific project
aos -p myproject d "Add input validation"

Directory Structure

AgenticOS/
├── scripts/
│   ├── aos              # Unified CLI (start here)
│   ├── router           # Routing engine
│   ├── agent            # Execution engine
│   ├── doctor           # Health validation
│   └── memory           # Memory management
├── .agents/
│   ├── agents.yaml      # Profile definitions
│   ├── workflows.yaml   # Workflow definitions
│   ├── router_auto_rules.json
│   ├── prompts/         # System prompts
│   ├── logs/            # Execution logs
│   └── memory/          # Persistent memory
├── docs/                # Documentation
└── install.sh           # Installer

Documentation

Document Description
User Guide Complete reference
Quick Start Get started in 5 minutes
Core Commands Command reference
Auto-Routing Routing system details
Design Philosophy Why AgenticOS works this way

Requirements

  • Python 3.10+
  • At least one AI provider CLI:
    • claude (Anthropic)
    • codex (OpenAI)
    • gemini (Google)

Security Model

  • No auto-execution — Generated code is never auto-executed
  • User-triggered only — Only explicit commands run
  • No secrets in repo — Credentials in .env (gitignored)
  • Full audit trail — Every action logged with context
  • Deterministic — Same inputs produce same behavior

Design Philosophy

AgenticOS chooses:

  • Explicit contracts over intelligence
  • Ordered rules over scoring
  • Determinism over convenience
  • Boring correctness over novelty

If behavior is unclear, AgenticOS will fail or explain — never guess.


License

MIT License. See LICENSE for details.


Author

Pharns GénécéPortfolio · GitHub · LinkedIn

About

Deterministic AI agent orchestration framework — explainable routing, audit-grade logging, and governed execution across multiple LLM providers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors