@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
28 lines (27 loc) • 1.04 kB
TypeScript
/**
* Research tools factory for AutoResearch system.
*
* These tools allow an AI agent to conduct autonomous experiments:
* reading/writing code, running experiments, recording results, and
* managing the research lifecycle (accept/revert/checkpoint).
*
* @module autoresearch/tools
*/
import type { ResearchToolsDeps, Tool } from "../types/index.js";
/**
* Create research management tools bound to a research session.
*
* These tools follow the same factory pattern as `createTaskTools()` in
* `src/lib/tasks/tools/taskTools.ts`. Dependencies are captured via closure,
* eliminating the need for module-level singleton state.
*
* @param deps - The research dependencies to bind to
* @returns Record of tool name to tool definition
*
* @example
* ```typescript
* const tools = createResearchTools({ config, stateStore, repoPolicy, runner, recorder });
* // tools.research_get_context, tools.research_read_file, etc.
* ```
*/
export declare function createResearchTools(deps: ResearchToolsDeps): Record<string, Tool>;