MCPcopy Create free account

hub / github.com/OpenRaiser/NanoResearch / functions

Functions1,278 in github.com/OpenRaiser/NanoResearch

↓ 2,503 callersMethodget
(self, name: str)
nanoresearch/agents/tools.py:36
↓ 987 callersMethodappend
Append a message to the event log (never mutated later).
nanoresearch/agents/paper_condenser.py:81
↓ 460 callersMethodlog
(self, msg: str)
nanoresearch/agents/base.py:799
↓ 121 callersMethodread_text
(self, subpath: str)
nanoresearch/pipeline/workspace.py:357
↓ 98 callersMethodadd
(run_id: str, role: str, method: str, output_group: str, config: dict[str, Any] | None = None)
nanoresearch/agents/planning.py:354
↓ 93 callersMethodwrite_text
(self, subpath: str, text: str)
nanoresearch/pipeline/workspace.py:348
↓ 50 callersMethodwrite_json
(self, subpath: str, data: dict | list)
nanoresearch/pipeline/workspace.py:311
↓ 43 callersMethod_append_remediation_entry
( remediation_ledger: list[dict[str, Any]] | None, *, kind: str, status: str,
nanoresearch/agents/execution/repair_ledger.py:92
↓ 38 callersMethodfor_stage
Return model config for the given stage name.
nanoresearch/config.py:349
↓ 36 callersFunction_format_paper_number
Format numeric values for paper-facing prose/tables.
nanoresearch/agents/writing/grounding_tables.py:98
↓ 33 callersMethod_record_snapshot_batch
( self, *, mutation_kind: str, scope: str, snapshots: list[dict[str, A
nanoresearch/agents/execution/repair_ledger.py:143
↓ 32 callersMethodgenerate
Call the LLM configured for this agent's stage.
nanoresearch/agents/base.py:532
↓ 31 callersMethodregister
(self, tool: ToolDefinition)
nanoresearch/agents/tools.py:33
↓ 29 callersMethodgenerate_json
Call LLM and parse the response as JSON. Handles LaTeX backslash sequences that break strict JSON parsing.
nanoresearch/agents/base.py:560
↓ 27 callersFunctionload_prompt
Load a prompt template and optionally fill variables. Args: category: Subdirectory (e.g., "writing", "review", "ideation") name:
nanoresearch/prompts/__init__.py:21
↓ 25 callersMethoderror
(self, stage: str, message: str)
nanoresearch/pipeline/progress.py:124
↓ 25 callersMethodrun
Diagnose a failed job and return file patches.
nanoresearch/agents/debug.py:41
↓ 24 callersFunction_run
(cmd: str, timeout: int = 15)
nanoresearch/agents/experiment_tool_handlers.py:44
↓ 24 callersMethodmatch
Match an experiment blueprint against indexed skills. Returns up to *MAX_SKILLS* entries sorted by descending score (keyword overlap
nanoresearch/skills.py:270
↓ 24 callersMethodreply_message
(self, message_id: str, text: str)
nanoresearch/feishu_bot_core.py:139
↓ 23 callersMethodrun
(self, **inputs: Any)
nanoresearch/agents/review/__init__.py:369
↓ 22 callersFunction_escape_latex_text
Escape LaTeX special characters in plain text (captions, method names, etc.). Preserves existing LaTeX commands and already-escaped sequences whi
nanoresearch/agents/writing/__init__.py:529
↓ 18 callersMethod_ensure_dict
(payload: Any)
nanoresearch/evolution/memory_analyzer.py:24
↓ 18 callersMethod_remember_mutation_snapshot_entry
(self, entry: dict[str, Any] | None)
nanoresearch/agents/base.py:135
↓ 18 callersMethod_run_cmd
(self, cmd: str, timeout: int = CMD_TIMEOUT)
nanoresearch/agents/cluster_executor_ops.py:27
↓ 17 callersMethodconsume_last_mutation_snapshot_entry
(self)
nanoresearch/agents/base.py:138
↓ 16 callersFunction_prompt_with_default
(label: str, default: str)
nanoresearch/cli.py:366
↓ 16 callersMethodacquire
(self)
mcp_server/utils.py:27
↓ 15 callersMethod_compact_planner_value
Keep the planner prompt small enough for slow OpenAI-compatible endpoints.
nanoresearch/agents/writing/stage_planner.py:166
↓ 15 callersMethodregister_artifact
( self, name: str, file_path: Path, stage: PipelineStage )
nanoresearch/pipeline/workspace.py:266
↓ 14 callersMethod_record_repair_attempt
( fix_history: list[dict[str, Any]], signature: str, error_text: str, cycle: i
nanoresearch/agents/execution/repair_ledger.py:61
↓ 13 callersFunction_log
(msg: str)
nanoresearch/latex/fixer.py:83
↓ 13 callersMethodclose
(self)
nanoresearch/agents/base.py:529
↓ 13 callersMethodlearn_from_trace
( self, domain: str, trigger_pattern: str, source_trace: str, *,
nanoresearch/agents/base.py:400
↓ 13 callersMethodread_json
(self, subpath: str)
nanoresearch/pipeline/workspace.py:339
↓ 13 callersMethodsend_message
(self, chat_id: str, text: str)
nanoresearch/feishu_bot_core.py:122
↓ 12 callersMethod_choose_single_path
(candidates: list[Path])
nanoresearch/agents/execution/repair_commands.py:179
↓ 12 callersMethod_compact
(text: str, *, limit: int = 320)
nanoresearch/evolution/memory_analyzer.py:17
↓ 12 callersMethod_run_shell
Run a shell command asynchronously with proxy environment.
nanoresearch/agents/setup_github.py:405
↓ 12 callersFunctioncapture_repair_snapshot
Capture the pre-mutation state for a target file.
nanoresearch/agents/repair_journal.py:44
↓ 12 callersMethodcreate
( cls, topic: str, config_snapshot: dict | None = None, root: Path = _DEFAULT_
nanoresearch/pipeline/workspace.py:54
↓ 11 callersFunction_canonicalize_dependency_name
Normalize a dependency specifier to its package name.
nanoresearch/agents/runtime_env/_discovery.py:128
↓ 11 callersFunctionget_http_client
Create a configured async HTTP client.
mcp_server/utils.py:36
↓ 11 callersFunctionrollback_snapshot
Restore a file to its captured pre-mutation state.
nanoresearch/agents/repair_journal.py:85
↓ 11 callersMethodvalidate_runtime
Validate that the selected runtime can execute and import key dependencies.
nanoresearch/agents/runtime_env/_validation.py:297
↓ 10 callersMethod_dedup_key
Return a deduplication key for a paper (prefer ID, fallback to title).
nanoresearch/agents/ideation.py:329
↓ 10 callersFunctionfetch_with_retry
Make an HTTP request with exponential backoff on 429 and 5xx. Args: request_fn: An async callable, e.g. ``client.get`` or ``client.post``
mcp_server/utils.py:43
↓ 10 callersMethodremember_context
( self, memory_type: MemoryType | str, content: str, *, importance: fl
nanoresearch/agents/base.py:373
↓ 9 callersMethod_compact_context_text
(value: Any, limit: int)
nanoresearch/agents/writing/context_sections.py:60
↓ 9 callersFunction_copy_if_exists
(src: Path, dst: Path)
nanoresearch/pipeline/_workspace_helpers.py:116
↓ 9 callersMethod_find_environment_file
Find the first supported Conda environment manifest.
nanoresearch/agents/runtime_env/_manifests.py:27
↓ 9 callersFunction_find_lines
Return up to *max_hits* ``"line N"`` location strings.
nanoresearch/agents/_checkers_helpers.py:138
↓ 9 callersMethod_keyword_path_candidate
( cls, candidates: list[Path], keywords: tuple[str, ...], *, files_onl
nanoresearch/agents/execution/repair_candidates.py:20
↓ 9 callersFunction_strip_llm_thinking
Remove LLM meta-commentary lines from section content. Only removes lines that are *standalone* (i.e. the entire line matches a thinking patt
nanoresearch/agents/writing/_latex_helpers.py:147
↓ 9 callersMethod_write_manifest
Atomic write: write to temp file then rename to avoid corruption.
nanoresearch/pipeline/workspace.py:178
↓ 9 callersMethodto_dict
(self)
nanoresearch/agents/runtime_env/_types.py:32
↓ 8 callersMethod_clamp
(value: float, lower: float, upper: float)
nanoresearch/evolution/memory.py:276
↓ 8 callersFunction_metric_entries_from_mapping
Extract summary metric entries from a flat/nested metrics mapping.
nanoresearch/agents/experiment/__init__.py:145
↓ 8 callersMethodfind_conda_python
Find the Python executable for a named conda env.
nanoresearch/agents/runtime_env/_conda.py:210
↓ 8 callersMethodinstall_requirements
Install dependencies from the best available project manifest. If the project requires PyTorch-family packages and an NVIDIA GPU is d
nanoresearch/agents/runtime_env/_install.py:107
↓ 7 callersMethod_check_syntax
Check if a Python file has valid syntax via py_compile.
nanoresearch/agents/experiment/_iteration_helpers.py:266
↓ 7 callersMethod_cite_keys_block
Format citation keys block.
nanoresearch/agents/writing/context_sections.py:477
↓ 7 callersMethod_collect_resource_candidates
( cls, code_dir: Path, resource_context: dict[str, Any] | None, )
nanoresearch/agents/execution/repair_resources.py:92
↓ 7 callersFunction_kill_process_tree
Kill a process and all its descendants. On Windows the venv ``python.exe`` is a thin wrapper that spawns the real interpreter as a child. A
nanoresearch/agents/execution/cluster_runner.py:26
↓ 7 callersFunction_load_config_safe
Load config with user-friendly error messages.
nanoresearch/cli.py:176
↓ 7 callersMethod_normalize_tags
(tags: list[str] | None)
nanoresearch/evolution/skills.py:146
↓ 7 callersMethod_parse_metrics_json
Read and validate results/metrics.json from the code directory.
nanoresearch/agents/experiment/quick_eval.py:178
↓ 7 callersMethod_run_subprocess
( self, command: list[str], *, cwd: Path | None = None, timeout: int =
nanoresearch/agents/execution/cluster_runner.py:246
↓ 7 callersMethod_tokenize
(text: str)
nanoresearch/evolution/memory.py:369
↓ 7 callersFunctionappend_snapshot_journal
Append a batch of snapshots to the workspace-level repair journal.
nanoresearch/agents/repair_journal.py:105
↓ 7 callersMethodload
Load config from nanoresearch config file, then overlay env vars.
nanoresearch/config.py:243
↓ 7 callersMethodremember
( self, memory_type: MemoryType | str, content: str, *, scope: MemoryS
nanoresearch/evolution/memory.py:433
↓ 6 callersMethod_cache_manifest_snapshot
(self, cluster_code_path: str, local_code_dir: Path)
nanoresearch/agents/cluster_executor.py:79
↓ 6 callersMethod_compact_json
(value: Any, *, limit: int = 1600)
nanoresearch/agents/writing/context_sections.py:68
↓ 6 callersMethod_ensure_local_artifact_dirs
(base_dir: Path)
nanoresearch/agents/cluster_executor.py:75
↓ 6 callersMethod_load_models
(self, path: Path, model_cls: type[BaseModel])
nanoresearch/evolution/skills.py:183
↓ 6 callersFunction_load_workspace_safe
Load workspace with user-friendly error messages.
nanoresearch/cli.py:209
↓ 6 callersMethod_normalize_tags
(tags: list[str] | None)
nanoresearch/evolution/memory.py:326
↓ 6 callersMethod_normalized_resource_key
(path_text: str)
nanoresearch/agents/execution/repair_resources.py:52
↓ 6 callersMethod_path_variants
(code_dir: Path, path_value: str)
nanoresearch/agents/execution/repair_commands.py:100
↓ 6 callersFunction_redact_log_text
(value: object)
nanoresearch/cli.py:76
↓ 6 callersFunction_resolve
Resolve a path: if relative and base is set, resolve against base.
nanoresearch/agents/experiment_tools.py:139
↓ 6 callersMethod_save_models
(self, path: Path, models: list[BaseModel])
nanoresearch/evolution/skills.py:199
↓ 6 callersFunction_strip_code_fences
Robustly strip markdown code fences from LLM-generated code. Handles edge cases that simple first/last fence stripping misses: - LLM self-cor
nanoresearch/agents/_code_utils.py:6
↓ 6 callersMethodbuild_adaptive_context
( self, task_type: str, *, topic: str = "", blueprint: dict | None = N
nanoresearch/agents/base.py:148
↓ 6 callersMethodformat
(self, record: logging.LogRecord)
nanoresearch/logging_config.py:15
↓ 6 callersMethodsave
(self)
nanoresearch/feishu_bot.py:115
↓ 6 callersFunctionsend_response
(response: dict)
mcp_server/server.py:275
↓ 5 callersMethod_apply_revisions
Apply revised sections back into the paper LaTeX source. Handles \\section{}, \\subsection{}, and \\subsubsection{}. Searches only af
nanoresearch/agents/review/apply_revisions.py:279
↓ 5 callersMethod_collect_result_artifacts
(self, code_dir: Path)
nanoresearch/agents/execution/_result_collector_helpers.py:30
↓ 5 callersMethod_emit
(self, event: dict[str, Any])
nanoresearch/pipeline/progress.py:32
↓ 5 callersMethod_extract_context_line
(context: str, prefix: str)
nanoresearch/agents/writing/section_writer.py:873
↓ 5 callersFunction_get_limiter
Return (and lazily create) the rate limiter with the correct rate.
mcp_server/tools/semantic_scholar.py:26
↓ 5 callersFunction_is_finite
Check if a numeric value is a finite real number.
nanoresearch/agents/experiment/__init__.py:84
↓ 5 callersMethod_notify_usage
Invoke usage callback if registered. Never raises.
nanoresearch/pipeline/multi_model.py:201
↓ 5 callersMethod_numeric_metric
(entry: dict, *names: str)
nanoresearch/agents/writing/grounding_tables.py:682
↓ 5 callersFunction_print_result
(result: dict, workspace: Workspace)
nanoresearch/cli.py:771
↓ 5 callersMethod_project_key
(self, topic: str = "")
nanoresearch/agents/base.py:143
↓ 5 callersMethod_repair_error_text
(result: dict[str, Any])
nanoresearch/agents/execution/repair_ledger.py:31
↓ 5 callersMethod_report_progress
(self, stage: str, status: str, message: str)
nanoresearch/pipeline/base_orchestrator.py:104
next →1–100 of 1,278, ranked by callers