| Crates.io | goalie |
| lib.rs | goalie |
| version | 1.0.3 |
| created_at | 2025-09-28 23:09:17.029377+00 |
| updated_at | 2025-09-29 15:24:59.66727+00 |
| description | 🎯 AI-powered research assistant with GOAP planning, advanced reasoning, MCP protocol support, and Perplexity API integration - Rust wrapper for goalie npm package |
| homepage | |
| repository | https://github.com/ruvnet/goalie |
| max_upload_size | |
| id | 1858691 |
| size | 28,900 |
AI-powered research assistant with Goal-Oriented Action Planning (GOAP), advanced reasoning capabilities, and Model Context Protocol (MCP) integration for Claude Desktop.
Goalie combines intelligent search planning with the Perplexity API to deliver comprehensive research workflows. This Rust crate provides a native binary wrapper around the goalie npm package, offering seamless integration with both Rust and Node.js ecosystems.
cargo install goalie
npm install -g goalie
# or run directly
npx goalie@latest --help
Set up your Perplexity API key:
# Get your API key from https://perplexity.ai/settings/api
export PERPLEXITY_API_KEY="pplx-your-key-here"
# Or add to .env file:
echo 'PERPLEXITY_API_KEY="pplx-your-key-here"' >> .env
Start researching immediately:
goalie search "What are the latest developments in quantum computing?"
All commands are forwarded to the npm package goalie@1.2.1:
# Interactive search with GOAP planning
goalie search "latest developments in renewable energy"
# Raw search without planning
goalie query "climate change impacts 2024"
# Advanced reasoning modes
goalie reason --mode chain-of-thought "Should companies invest in AI?"
goalie reason --mode self-consistency "Is nuclear energy safe?" --samples 5
goalie reason --mode anti-hallucination --claims "AI will replace all jobs" --citations "..."
# Multi-agent research
goalie research "future of space exploration" --agents researcher,analyst,critic
# MCP server for Claude integration
goalie start
# Configuration and diagnostics
goalie validate
goalie info
goalie --help
Start the MCP server for Claude Desktop integration:
goalie start
Then add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"goalie": {
"command": "goalie",
"args": ["start"],
"env": {
"PERPLEXITY_API_KEY": "your-api-key-here"
}
}
}
}
goap.search - Intelligent search with planninggoap.plan.explain - Explain GOAP planning processsearch.raw - Direct Perplexity searchreasoning.chain_of_thought - Multi-path reasoning analysisreasoning.self_consistency - Consensus-based verificationreasoning.anti_hallucination - Fact-checking with citationsreasoning.agentic_research - Multi-agent research workflowsGoal-Oriented Action Planning with A* pathfinding algorithm for intelligent research workflows:
Perplexity API integration with advanced features:
Four specialized reasoning modes:
goalie search "state of the art in large language models 2024"
goalie research "impact of AI on healthcare" --agents researcher,analyst,critic --parallel
goalie reason --mode anti-hallucination \
--claims "ChatGPT was released in 2022" \
--citations "OpenAI announced ChatGPT in November 2022"
v1.2.1 (Latest)
v1.2.0
The npm package is automatically published from the main repository:
# Update version
npm version patch|minor|major
# Publish to npm
npm publish
# Install latest version
npm install -g goalie@latest
MIT License - see LICENSE file for details.