Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# 🧠 SGR Deep Research - Open-Source Schema-Guided Reasoning System


## SGR Deep Research is an agent-driven research system with a chat interface. It is can run with small LLMs for a fully local mode.

This project is developed by the **neuraldeep** community. It is inspired by the Schema-Guided Reasoning (SGR) work and [SGR Agent Demo](https://abdullin.com/schema-guided-reasoning/demo) delivered by "LLM Under the Hood" community and AI R&D Hub of [TIMETOACT GROUP Österreich](
https://www.timetoact-group.at)
This project is developed by the **neuraldeep** community. It is inspired by the Schema-Guided Reasoning (SGR) work and [SGR Agent Demo](https://abdullin.com/schema-guided-reasoning/demo) delivered by "LLM Under the Hood" community and AI R&D Hub of [TIMETOACT GROUP Österreich](https://www.timetoact-group.at)

If you have any questions - feel free to reach out to [Valerii Kovalskii](https://www.linkedin.com/in/vakovalskii/).


Web Interface Video

https://github.com/user-attachments/assets/9e1c46c0-0c13-45dd-8b35-a3198f946451
Expand Down
20 changes: 20 additions & 0 deletions config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,23 @@ execution:
prompts:
prompts_dir: "prompts" # Directory with prompts
system_prompt_file: "system_prompt.txt" # System prompt file

# Logging Settings
logging:
config_file: "logging_config.yaml" # Logging configuration file path

mcp:

# Limit on the result of MCP tool invocation.
# A balanced constant value: not too large to avoid filling the entire context window with potentially unimportant data,
# yet not too small to ensure critical information from a single MCP fits through
context_limit: 15000

# https://gofastmcp.com/clients/transports#mcp-json-configuration-transport
transport_config:
mcpServers:
deepwiki:
url: "https://mcp.deepwiki.com/mcp"

context7:
url: "https://mcp.context7.com/mcp"
45 changes: 45 additions & 0 deletions logging_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# SGR Deep Research - Logging Configuration
# Based on Python logging.config dictionary schema
# https://docs.python.org/3/library/logging.config.html#configuration-dictionary-schema

version: 1
disable_existing_loggers: false

formatters:
standard:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(message)s'

handlers:
console:
class: logging.StreamHandler
level: INFO
formatter: standard
stream: ext://sys.stdout

console_error:
class: logging.StreamHandler
level: ERROR
formatter: standard
stream: ext://sys.stderr

loggers:
# Main application logger - all our modules inherit from it
root:
level: INFO
handlers: [ console, console_error ]


sgr_deep_research:
level: INFO

sgr_deep_research.agents:
level: INFO

httpx:
level: WARNING

mcp:
level: WARNING

urllib3:
level: WARNING
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ dependencies = [
"pydantic-settings>=2.10.1",
"fastapi>=0.116.1",
"uvicorn>=0.35.0",
"lxml<6"
"lxml<6",
"fastmcp>=2.12.4",
"jambo>=0.1.3.post2",
]

[project.urls]
Expand Down
1 change: 0 additions & 1 deletion services/README.md

This file was deleted.

1 change: 1 addition & 0 deletions services/api_service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ENV UV_COMPILE_BYTECODE=1 \
UV_PYTHON_DOWNLOADS=0 \
UV_PROJECT_ENVIRONMENT=/opt/venv


WORKDIR /app

COPY requirements.txt ./
Expand Down
Loading