alicewiki
v0.1.4
Published
Terminal AI agent that fetches Wikipedia API
Readme

AliceWiki
A terminal AI agent that fetches information from Wikipedia API using LangChain.
Installation
npm install -g alicewikiConfiguration
Create a .env file in your project directory:
# Required - at least one API key
OPENAI_API_KEY=your_key
# or
ANTHROPIC_API_KEY=your_key
# or
GOOGLE_API_KEY=your_key
# Add default provider
DEFAULT_PROVIDER=openai # openai, anthropic, googleNote: Place your
.envfile in the directory by doingnpm config get prefixand then go to lib/node_modules/alicewiki/ and place your .env there
Usage
# Interactive mode
aw
# One-liner mode
aw who is mary sue?Commands (Interactive Mode)
/help- Show help/switch <provider>- Switch LLM provider/quit- Exit
Requirements
- Node.js 18+
- npm
- An API key for OpenAI, Anthropic, or Google
