Index
zocrates.agents.online_search ¶
Online scholarly literature discovery and import agent package.
__all__
module-attribute
¶
__all__ = ['build_online_coordinator_view', 'create_online_search_agent', 'create_online_synthesizer_agent', 'search_online_literature', 'search_online_pipeline_node']
build_online_coordinator_view ¶
Build a clean Markdown coordinator view with a trailing candidate papers mapping.
Appends a # Discovered Candidate Papers bibliography mapping 1-based candidate
indices ([1], [2], ...) to bibliographic details and import rationales while
omitting full abstracts to bound coordinator context token usage.
Source code in zocrates/agents/online_search/search_pipeline.py
create_online_search_agent ¶
Create the stateless online literature search subagent.
Equipped with OpenAlex retrieval, candidate conclusion, and extension request tools.
Source code in zocrates/agents/online_search/agent.py
create_online_synthesizer_agent ¶
Create the online synthesizer subagent.
Produces an inquiry overview and structured candidate recommendations with numbered references.
Source code in zocrates/agents/online_search/agent.py
search_online_literature
async
¶
Autonomous discovery tool executing the online scholarly literature search pipeline.
Use this tool when the user wants to discover new papers, preprints, external literature, or resolve external DOIs/arXiv links not in their library.
Source code in zocrates/agents/online_search/search_pipeline.py
search_online_pipeline_node
async
¶
Dynamic workflow function orchestrating online literature search and synthesis.
Wraps _run_online_search_pipeline in a try/finally so the node always closes
its isolation scope (search_online_pipeline:{fc_id}) before returning, whether
it succeeds ("Task completed.") or raises ("Task failed.").