Agent Kurama is a lightweight research agent designed to run entirely on your local machine using LangChain and Ollama. It provides a private, feature-rich research environment powered by local large language models (LLMs). The agent integrates a broad suite of professional research tools, allowing it to pull data from Wikipedia, DuckDuckGo, Arxiv, Crossref, Europe PMC, and Open Library. It also supports Unpaywall for locating open-access links, alongside essential utilities for mathematics and date lookups.
By leveraging ChromaDB, Agent Kurama maintains a persistent memory system that stores and retrieves relevant research snippets. It can automatically append findings to a Markdown report, making it simple to organize and export your discoveries.
The agent is highly customizable. You can enable AskNews for real-time news updates, integrate SerpAPI for Google Search, or route queries through SearxNG for private metasearch. It also features a built-in long-text summarizer. The entire workflow is automated, covering analysis, query generation, research, reasoning, tool execution, report generation, and final previews.
save_md_plus).save_md_locally) and long-text summarization (summarize_text).brew install ollama
ollama serve
agent.py):ollama pull gpt-oss:120b-cloud
retriever.py):ollama pull nomic-embed-text
If the gpt-oss:120b-cloud model is unavailable, edit agent.py to use a standard model such as llama3:8b or qwen2:7b:
llm = ChatOllama(model="llama3:8b", temperature=0.7)
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Create a .env file to configure AskNews, request headers, and optional web search tools. This prevents runtime errors during tool execution.
ASKNEWS_CLIENT_ID=your_client_id
ASKNEWS_CLIENT_SECRET=your_client_secret
If you do not need news features, remove asknews_search from the tools=[...] list in agent.py and delete the import line from tools.getNews import asknews_search.
SERPAPI_API_KEY=your_serpapi_key
If not using this, remove serp_search from tools=[...] and delete from tools.serpSearch import serp_search.
SEARX_INSTANCE_URL=https://your_searx_instance_url
SEARX_TOP_K_RESULTS=5
If not using this, remove searx_search from tools=[...] and delete from tools.SearxNG import searx_search.
[email protected]
[email protected]
Start the agent by running:
python agent.py
The terminal will display:
Ask Kurama 🦊
Enter your research question. Kurama will proceed through several stages: analysis → prompt generation → research → reasoning → information gathering → tool usage → report saving → report preview.
./chromadb_store folder (created automatically). Delete this folder to reset the agent's memory../LocalStore directory (created automatically).The tests/ directory contains validation cases. Install pytest and run the suite:
pip install -U pytest
pytest -k "not asknews" # Use this to skip news tests if your .env is not configured
"Model not found" – Ensure you have executed ollama pull gpt-oss:120b-cloud and ollama pull nomic-embed-text. If a specific model is missing from the library, update agent.py to a model you have downloaded (e.g., llama3:8b).
"AskNews Error / Missing env" – Ensure ASKNEWS_CLIENT_ID and ASKNEWS_CLIENT_SECRET are present in your .env file, or disable the AskNews tool in the code.
"Ollama not running" – Execute ollama serve to start the background service. On macOS, you can also launch the Ollama application.
ChromaDB issues – If you encounter database errors, delete the chromadb_store folder and restart the agent to initialize a fresh database.
Tongyi DeepResearch: 30B Agent Model Beats GPT and Claude on Search Benchmarks
Space Adventure Story Voice Mode: Build an AI-Powered Voice Game
NeuralAgent: An Open-Source AI Agent for Native Desktop Automation
Checkmate: Open-Source Server Monitoring with Uptime Alerts
Grok CLI: AI-Powered Terminal Assistant for Files and Bash Commands
Build AI Agent Interfaces Faster with agents-ui-kit
Transformers Library: Installation, Pipeline API, and Model Examples
Zettlr Setup and Developer Guide (macOS, Windows, Linux)
Flameshot CLI Guide: Capture, Edit, and Upload Screenshots Rapidly
ConEmu: A Highly Customizable Windows Terminal with Tabs and Split Panes
KVoiceWalk: Clone Any Voice for Kokoro TTS Using Random Walks
Ditto Clipboard Manager: Never Lose Your Copied Text Again