Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Avicenna Agent

БесплатноНе проверен

An incomplete but interesting implementation of my very own AI Agent, powered by several MCP servers. This project served as the stepping stone into the world o

GitHubEmbed

Описание

An incomplete but interesting implementation of my very own AI Agent, powered by several MCP servers. This project served as the stepping stone into the world of agentic development for me.

README

A two-pane terminal cockpit for producing long-form, structurally-guaranteed notes in an Obsidian vault.

What Avicenna Does

Avicenna is not a chatbot. It is a single-purpose instrument for generating long-form notes. The terminal is split:

  • Left panel (Metadata) — vault card, pre-flight checklist, per-heading completion grid, pipeline stage stepper, word count, tool-call tracker.
  • Right panel (Chat) — push a topic, watch the run narrate itself, get final confirmation.

Once bound to a vault, avicenna note "some topic" runs a full pipeline: routing, pre-flight, parallel section generation, assembly, word count, TOC, tagging, formatting, linking and MOC update — all gated by deterministic PowerShell contract tokens, never by model prose.

Installation

# Prerequisites: Python 3.10+, Git
git clone https://github.com/rayyan-41/avicenna-agent.git
cd avicenna-agent
python -m venv .venv
source .venv/Scripts/activate  # Git Bash on Windows
pip install -e .

Quick Start

1. Scaffold a vault

avicenna init ~/my-vault

2. Configure a provider

Create a .env file in the project root:

MISTRAL_API_KEY=your_mistral_api_key_here

Or let the TUI's onboarding screens handle it on first launch.

3. Launch

avicenna

Type a topic and press Enter.

The Pipeline

User Topic
    -> Routing Stage -> Pre-flight Stage -> Manifest Stage
    -> Sections Stage (parallel one_shot per heading)
    -> Assembly Stage -> Word Count Stage -> TOC Stage
    -> Tagging Stage -> Formatter -> Linker -> MOC Stage
    -> Note written to vault

Slash Commands

/agent <name>, /agents, /note <topic>, /vault, /mcp, /clear, /help, /save

Headless Mode

avicenna --no-tui
avicenna note "The Ottoman Conquest of the Balkans" --vault ~/my-vault

MCP Integration

Supports the Model Context Protocol. Ships with zero servers by default.

avicenna mcp list
avicenna mcp path

See docs/MCP_GUIDE.md for the full guide.

Development

See AVICENNA.md. Run tests:

pip install -e ".[dev]"
pytest tests/ --asyncio-mode=auto

from github.com/rayyan-41/avicenna-agent

Установка Avicenna Agent

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/rayyan-41/avicenna-agent

FAQ

Avicenna Agent MCP бесплатный?

Да, Avicenna Agent MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Avicenna Agent?

Нет, Avicenna Agent работает без API-ключей и переменных окружения.

Avicenna Agent — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Avicenna Agent в Claude Desktop, Claude Code или Cursor?

Открой Avicenna Agent на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Avicenna Agent with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai