Avicenna Agent
FreeNot checkedAn 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
About
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
Installing Avicenna Agent
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/rayyan-41/avicenna-agentFAQ
Is Avicenna Agent MCP free?
Yes, Avicenna Agent MCP is free — one-click install via Unyly at no cost.
Does Avicenna Agent need an API key?
No, Avicenna Agent runs without API keys or environment variables.
Is Avicenna Agent hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Avicenna Agent in Claude Desktop, Claude Code or Cursor?
Open Avicenna Agent on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Avicenna Agent with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
