AI agent with document learning, vector search, and conversational AI.
aux4 aux4 pkger install aux4/ai-agentIndex a document or folder for semantic search. Files are tracked by MD5 hash — unchanged files are automatically skipped on re-learn.
aux4 ai agent learn <doc> # Learn a file
aux4 ai agent learn ./docs/ # Learn all files in a folder
aux4 ai agent learn doc.txt --storage .contextSupported file types: .md, .txt, .pdf, .json, .csv, .docx, .pptx
aux4 ai agent search "query"
aux4 ai agent search --format json --limit 3 "query"aux4 ai agent forget # Forget all documents
aux4 ai agent forget doc.txt # Forget a specific file
aux4 ai agent forget ./docs/ # Forget all files from a folderaux4 ai agent ask "What is X?"
aux4 ai agent ask --stream true "Explain Y"aux4 ai agent chat "Hello"aux4 ai agent image "A sunset over mountains" --image output.pngLearned documents are stored in .context/ by default. Use --storage <dir> to customize.