import { Bot } from 'lucide-react'

export const metadata = {
  title: 'LibreFang - Documentation',
}

# LibreFang

LibreFang is an open-source Agent Operating System written in Rust. It provides full lifecycle management for AI agents — from creation and scheduling to communication and deployment — with 49 LLM drivers, 44 channel adapters connecting platforms like Telegram, Discord, Slack, and WeChat, plus MCP and A2A protocols for inter-agent collaboration.

Manage agents via CLI or the web dashboard, configure workflows and cron jobs, and let agents autonomously browse the web, call APIs, and run commands through Hands. All operations are protected by 16 layers of security with RBAC and audit logging.

**Website**: [https://librefang.ai/](https://librefang.ai/) <br/>
**Deploy**: [https://deploy.librefang.ai/](https://deploy.librefang.ai/) <br/>
**GitHub**: [https://github.com/librefang/librefang](https://github.com/librefang/librefang) <br/>
**Issues**: [https://github.com/librefang/librefang/issues](https://github.com/librefang/librefang/issues) <br/>
**Pull Requests**: [https://github.com/librefang/librefang/pulls](https://github.com/librefang/librefang/pulls) <br/>
**Discord**: [https://discord.gg/DzTYqAZZmc](https://discord.gg/DzTYqAZZmc) <br/>
**Discussions**: [https://github.com/librefang/librefang/discussions](https://github.com/librefang/librefang/discussions)

## Quick Links

- [Getting Started](/getting-started) — Install, configure, and run your first Agent
- [GitHub](https://github.com/librefang/librefang) — Source code

---

## Features

<div className="not-prose mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3">
  <div className="rounded-2xl border border-zinc-200 p-6 transition-all hover:border-zinc-300 hover:shadow-md dark:border-zinc-800 dark:hover:border-zinc-700">
    <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-emerald-500/10 text-emerald-600 dark:text-emerald-400">
      <Bot className="h-5 w-5" />
    </div>
    <h3 className="mt-4 text-sm font-semibold text-zinc-900 dark:text-white">15 Hands</h3>
    <p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Browser, Researcher, Clip, Lead, Collector, Predictor, Creator, DevOps, Trader, and more</p>
  </div>
  <div className="rounded-2xl border border-zinc-200 p-6 transition-all hover:border-zinc-300 hover:shadow-md dark:border-zinc-800 dark:hover:border-zinc-700">
    <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-sky-500/10 text-sky-600 dark:text-sky-400">
      <Bot className="h-5 w-5" />
    </div>
    <h3 className="mt-4 text-sm font-semibold text-zinc-900 dark:text-white">16-Layer Security</h3>
    <p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">WASM Sandbox, Merkle Hash Chain, Taint Tracking, SSRF Protection</p>
  </div>
  <div className="rounded-2xl border border-zinc-200 p-6 transition-all hover:border-zinc-300 hover:shadow-md dark:border-zinc-800 dark:hover:border-zinc-700">
    <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-violet-500/10 text-violet-600 dark:text-violet-400">
      <Bot className="h-5 w-5" />
    </div>
    <h3 className="mt-4 text-sm font-semibold text-zinc-900 dark:text-white">44 Channel Adapters</h3>
    <p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Telegram, Discord, Slack, Email, Webhooks, and more</p>
  </div>
  <div className="rounded-2xl border border-zinc-200 p-6 transition-all hover:border-zinc-300 hover:shadow-md dark:border-zinc-800 dark:hover:border-zinc-700">
    <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-amber-500/10 text-amber-600 dark:text-amber-400">
      <Bot className="h-5 w-5" />
    </div>
    <h3 className="mt-4 text-sm font-semibold text-zinc-900 dark:text-white">49 LLM Drivers</h3>
    <p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">OpenAI, Anthropic, Gemini, Groq, DeepSeek, Ollama, and more</p>
  </div>
  <div className="rounded-2xl border border-zinc-200 p-6 transition-all hover:border-zinc-300 hover:shadow-md dark:border-zinc-800 dark:hover:border-zinc-700">
    <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-rose-500/10 text-rose-600 dark:text-rose-400">
      <Bot className="h-5 w-5" />
    </div>
    <h3 className="mt-4 text-sm font-semibold text-zinc-900 dark:text-white">MCP & A2A Protocols</h3>
    <p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Model Context Protocol & Agent-to-Agent communication</p>
  </div>
  <div className="rounded-2xl border border-zinc-200 p-6 transition-all hover:border-zinc-300 hover:shadow-md dark:border-zinc-800 dark:hover:border-zinc-700">
    <div className="flex h-8 w-8 items-center justify-center rounded-lg bg-cyan-500/10 text-cyan-600 dark:text-cyan-400">
      <Bot className="h-5 w-5" />
    </div>
    <h3 className="mt-4 text-sm font-semibold text-zinc-900 dark:text-white">Open Source</h3>
    <p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">100% open source, Rust-based, self-hostable</p>
  </div>
</div>

