Copyright © 2025 Eric Moore and CIRIS L3C | Apache 2.0 License
Core Identity, Integrity, Resilience, Incompleteness, and Signalling Gratitude
A type-safe, auditable AI agent framework with built-in ethical reasoning
BETA RELEASE 1.6.4-stable | Release Notes | Documentation Hub
Academic paper https://zenodo.org/records/17195221 Philosophical foundation https://ciris.ai/ciris_covenant.pdf
CIRIS lets you run AI agents that explain their decisions, defer to humans when uncertain, and maintain complete audit trails. Currently powering Discord community moderation, designed to scale to healthcare and education.
CIRIS wraps LLM calls with:
- Multiple evaluation passes - Every decision gets ethical, common-sense, and domain checks
- Human escalation - Uncertain decisions defer to designated "Wise Authorities"
- Complete audit trails - Every decision is logged with reasoning
- Type safety - Minimal
Dict[str, Any]usage, none in critical paths - Identity system - Agents have persistent identity across restarts
- Privacy compliance - Built-in DSAR/GDPR tools for data discovery, export, and deletion
- Commons Credits - Track non-monetary contributions that strengthen community (not currency, not scorekeeping)
Philosophy: "No Untyped Dicts, No Bypass Patterns, No Exceptions" - See CLAUDE.md
Engine Documentation: ciris_engine/README.md - Technical architecture and implementation details
Get CIRIS running in minutes without Docker:
curl -sSL https://ciris.ai/install.sh | bashThis installs both CIRISAgent and CIRISGUI with all dependencies, then opens the web interface at http://localhost:3000.
→ Standalone Installation Guide - Full options, troubleshooting, and manual setup
Via pip (Recommended):
# Install from PyPI
pip install ciris-agent
# Start with API adapter and built-in web UI
ciris-agent --adapter api --port 8000
# Or use Discord adapter
ciris-agent --adapter discord --guild-id YOUR_GUILD_ID
# Load multiple adapters together
ciris-agent --adapter api --adapter redditFrom Source (Development):
# 1. Clone and install
git clone https://github.com/CIRISAI/CIRISAgent.git
cd CIRISAgent
pip install -r requirements.txt
# For development: pip install -r requirements-dev.txt
# 2. Start with Discord adapter
python main.py --adapter discord --guild-id YOUR_GUILD_ID
# 3. Or start API mode
python main.py --adapter api --port 8000
# 4. Load multiple adapters together
python main.py --adapter api --adapter reddit→ Complete Installation Guide - Detailed setup, configuration, and deployment
CIRIS supports both built-in and modular adapters that can be loaded via --adapter flag or CIRIS_ADAPTER environment variable.
| Adapter | Type | Description | Usage |
|---|---|---|---|
| CLI | Communication | Interactive command-line interface | --adapter cli |
| API | Communication | RESTful HTTP API server (FastAPI) | --adapter api --port 8000 |
| Discord | Communication | Discord bot integration | --adapter discord --guild-id ID |
| Adapter | Type | Description | Required Configuration | Usage |
|---|---|---|---|---|
| Communication + Tools | Reddit integration for r/ciris monitoring and interaction. Supports posting, commenting, content removal, user lookups, and passive observation. | CIRIS_REDDIT_CLIENT_IDCIRIS_REDDIT_CLIENT_SECRETCIRIS_REDDIT_USERNAMECIRIS_REDDIT_PASSWORD |
--adapter reddit |
|
| SQL External Data | Tools | DSAR/GDPR compliance tools for SQL databases. Supports data discovery, export, anonymization, and deletion across multiple database types (SQLite, PostgreSQL, MySQL, MSSQL). | Database connection config (see docs) | Loaded automatically via tool system |
| Mock LLM | LLM Provider | Testing mock LLM service that simulates AI responses without external API calls. Not for production use. | None (optional delay/failure rate) | --adapter mockllm or --mock-llm |
| Geo Wisdom | Wise Authority | Geographic navigation guidance using OpenStreetMap for routing and geocoding. | None (uses public OSM API) | Loaded automatically for navigation domains |
| Weather Wisdom | Wise Authority | Weather forecasting and alerts using NOAA National Weather Service API. | None (uses public NOAA API) | Loaded automatically for weather domains |
| Sensor Wisdom | Wise Authority | Home automation and IoT sensor integration via Home Assistant. Actively filters out medical sensors. | CIRIS_HOMEASSISTANT_URLCIRIS_HOMEASSISTANT_TOKEN |
Loaded automatically for sensor domains |
Via Command Line:
# Single adapter
python main.py --adapter api
# Multiple adapters
python main.py --adapter api --adapter reddit
# With configuration
export CIRIS_REDDIT_CLIENT_ID="your_client_id"
export CIRIS_REDDIT_CLIENT_SECRET="your_secret"
python main.py --adapter redditVia Environment Variable:
export CIRIS_ADAPTER="api,reddit"
python main.pyPriority and Behavior:
- Communication adapters can run simultaneously (e.g., API + Reddit + Discord)
- Reddit adapter defaults to lower priority than API for message handling
- Wise Authority adapters load automatically when their domain is needed
- Mock LLM disables real LLM services when loaded (testing only)
✅ 22 core services with message bus architecture ✅ 4GB RAM target for edge deployment ✅ Thousands of tests with comprehensive coverage ✅ SonarCloud quality gates passing ✅ Currently powering Discord moderation at agents.ciris.ai
Quick Links:
- Quick Start Guide - Get running in 5 minutes
- Architecture Overview - System design (22 services)
- API Reference - REST API documentation
- Developer Guide - Contributing and extending
- Read the Architecture Guide - Understand the three-legged stool
- Follow Type Safety Rules - Minimal
Dict[str, Any]usage - See CONTRIBUTING.md for setup
- Issues: GitHub Issues
- Security: SECURITY.md
- Quality:
CIRIS: Core Identity, Integrity, Resilience, Incompleteness, and Signalling Gratitude Ethical AI with human oversight, complete transparency, and deployment reliability.
Ready to build trustworthy AI? → Get started →