Add Pi Research Agent package
CI / Lint & Type Check (push) Canceled after 0s
CI / Test (push) Canceled after 0s

Autonomous research agent with web search, source analysis, and report synthesis.
Built on Pi agent core. Available as CLI, programmatic API, and MCP server.

Features:
- 4 built-in tools: web_search, read_url, save_note, synthesize_report
- CLI with TUI and print modes
- Programmatic API via ResearchAgent class
- MCP server with 3 tools: research, quick_search, read_url
- Skills system for custom research behavior
- Automatic .env file loading for API keys
- Configurable max turns, output formats (markdown/JSON/bullet)
- Automatic report saving to research-output/
This commit is contained in:
Emil
2026-06-04 18:12:11 +03:00
parent dc7b547f62
commit e196593c84
50 changed files with 3552 additions and 21 deletions
+77
View File
@@ -0,0 +1,77 @@
{
"name": "@earendil-works/pi-research-agent",
"version": "0.78.0",
"description": "Autonomous research agent with web search, source analysis, and report synthesis. MCP-compatible.",
"type": "module",
"bin": {
"pi-research": "dist/cli.js",
"pi-research-mcp": "dist/mcp-cli.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"clean": "shx rm -rf dist",
"build": "tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js dist/mcp-cli.js",
"test": "vitest --run",
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@earendil-works/pi-agent-core": "^0.78.0",
"@earendil-works/pi-ai": "^0.78.0",
"@earendil-works/pi-tui": "^0.78.0",
"@modelcontextprotocol/sdk": "1.29.0",
"chalk": "5.6.2",
"typebox": "1.1.38",
"undici": "8.3.0",
"yaml": "2.9.0",
"zod": "3.25.67"
},
"devDependencies": {
"@types/node": "24.12.4",
"shx": "0.4.0",
"typescript": "5.9.3",
"vitest": "3.2.4"
},
"keywords": [
"research-agent",
"ai",
"llm",
"web-search",
"autonomous",
"agent",
"mcp",
"model-context-protocol",
"deep-research",
"report-generation",
"tavily"
],
"author": {
"name": "Pi Research Team",
"url": "https://github.com/earendil-works/pi"
},
"license": "MIT",
"homepage": "https://github.com/earendil-works/pi/tree/main/packages/research-agent#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/earendil-works/pi.git",
"directory": "packages/research-agent"
},
"bugs": {
"url": "https://github.com/earendil-works/pi/issues"
},
"engines": {
"node": ">=22.19.0"
}
}