incidentfox

Self Learning AI Agent — AI skill for Claude Code

AI community

Self-learning AI agents that get smarter from your Slack, docs, meetings, and code.

How to install Self Learning AI Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open incidentfox/self-learning-ai-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Self Learning AI Agent does

Self-learning AI agents that get smarter from your Slack, docs, meetings, and code. RAPTOR trees + knowledge graph + multi-strategy RAG. Drop into any Slack channel — it starts learning automatically.

Alternatives in AI

  • Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
  • Agentcall — AgentCall lets AI Agents join meetings with voice, video & screen-share to build together 169 ★
  • Chat Plus — Make your ai chat smarter 123 ★

README

Self-Learning AI Agents

**AI agents that learn from your team's Slack, meetings, docs, and code — and get smarter every day.**

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)

Add the bot to any Slack channel. It scans history, extracts knowledge, and starts answering questions — no manual setup required. New conversations are picked up daily, checked for conflicts with existing knowledge, and committed with human approval. The knowledge base just grows.

Under the hood: RAPTOR hierarchical trees, a knowledge graph, multi-strategy retrieval (semantic + BM25 + graph traversal), and 5 proactive behaviors that make the agent feel like a team member, not a search box.


Quick Start

git clone https://github.com/incidentfox/self-learning-ai-agent.git
cd self-learning-ai-agent

cp .env.example .env
# Edit .env — set OPENAI_API_KEY and ANTHROPIC_API_KEY

make dev          # Starts postgres + config-service + learning-engine + agent-service
make dev-slack    # Also starts slack-bot (needs SLACK_BOT_TOKEN + SLACK_APP_TOKEN)
make dev-web      # Also starts web-ui on http://localhost:3000

Prerequisites

  • Docker and Docker Compose
  • An OpenAI API key (for embeddings) + Anthropic API key (for completions)
  • For Slack: a Slack app with Socket Mode

What It Does

Self-Learning Loop

  1. Onboard — Bot scans channel history, extracts knowledge, builds a RAPTOR tree
  2. Answer — @mention the bot. It answers using multi-strategy RAG retrieval.
  3. Learn daily — New messages → extract → conflict check → auto-approve or queue for review
  4. Correct — Say "actually, it's X not Y" in a thread → bot detects and learns
  5. Escalate — Low confidence → asks designated buddies in a private channel

Proactive Behaviors

  • Daily digest — Summary of questions answered, knowledge learned, corrections
  • Stale knowledge alerts — Flags knowledge past its freshness threshold
  • **Contra