Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anvix9/basis_research_agents
/ functions
Functions
339 in github.com/anvix9/basis_research_agents
⨍
Functions
339
◇
Types & classes
23
↓ 1 callers
Function
philpapers_id
()
core/keys.py:76
↓ 1 callers
Function
philpapers_key
()
core/keys.py:79
↓ 1 callers
Function
pretty_theme
Return a human-readable label for a raw theme tag.
export_seminal.py:80
↓ 1 callers
Function
pretty_theme
Return a human-readable label for a raw theme tag.
tools/export_seminal.py:80
↓ 1 callers
Function
print_expansion_report
Print a readable expansion report to terminal.
core/concept_mapper.py:800
↓ 1 callers
Method
print_run_summary
Print summary of all API calls made in this run.
core/rate_limiter.py:186
↓ 1 callers
Method
print_source_done
Print completion line for a source.
core/rate_limiter.py:182
↓ 1 callers
Method
print_source_start
Print a header when starting a new source query.
core/rate_limiter.py:170
↓ 1 callers
Function
print_summary
(papers: list[dict])
export_seminal.py:343
↓ 1 callers
Function
print_summary
(papers: list[dict])
tools/export_seminal.py:343
↓ 1 callers
Function
rate_relevance
Use LLM to rate relevance. Returns (rating, reason).
agents/social.py:748
↓ 1 callers
Function
run_import
(input_path: Path, dry_run: bool = False, verbose: bool = True)
tools/import_conceptnet.py:165
↓ 1 callers
Function
run_pipeline
(problem: str, run_id: str = None, resume: bool = False)
main.py:118
↓ 1 callers
Function
search_claude_web
Use Anthropic API with web_search tool to verify a reference. Returns a dict with title, authors, year, abstract, url if found. Falls bac
tools/eval_references.py:221
↓ 1 callers
Function
search_openalex
Search OpenAlex for a paper by title.
tools/eval_references.py:200
↓ 1 callers
Function
search_semantic_scholar
Search Semantic Scholar for a paper by title.
tools/eval_references.py:175
↓ 1 callers
Method
set_client_info
(self, client_info: OAuthClientInformationFull)
core/consensus_mcp.py:131
↓ 1 callers
Function
show_stats
()
tools/import_conceptnet.py:351
↓ 1 callers
Function
slugify
Convert a title to a URL-safe Jekyll slug.
export_seminal.py:246
↓ 1 callers
Function
slugify
Convert a title to a URL-safe Jekyll slug.
tools/export_seminal.py:246
↓ 1 callers
Method
start
(self)
core/consensus_mcp.py:237
↓ 1 callers
Method
update_status
Update a node's status.
core/argument_tree.py:353
↓ 1 callers
Function
verify_claim
Verify a source's claim using the best available method.
tools/eval_claims.py:301
↓ 1 callers
Function
verify_claim_internal
Basic keyword overlap check between claim and stored abstract.
tools/eval_claims.py:245
↓ 1 callers
Function
verify_claim_with_claude
Use Claude with web search to verify a claim about a source.
tools/eval_claims.py:168
↓ 1 callers
Function
verify_source
Verify a single source against live APIs.
tools/eval_references.py:301
Method
__init__
(self)
core/llm.py:83
Method
__init__
(self, run_id: str = "")
core/rate_limiter.py:68
Method
__init__
(self, path: Path = TOKEN_FILE)
core/consensus_mcp.py:106
Method
__init__
(self)
core/consensus_mcp.py:196
Method
__init__
(self, run_id: str)
core/argument_tree.py:145
Function
_callback_handler
()
core/consensus_mcp.py:256
Function
_doi_url
(doi: Optional[str])
core/references.py:155
Function
_ensure_trailing_slash
Add trailing slash if URL is set and doesn't already have one.
core/consensus_mcp.py:71
Function
_fix_bracket
(match)
agents/scribe.py:556
Function
_from_json
(value: Optional[str])
core/database.py:291
Method
_get_token_endpoint
(self)
core/consensus_mcp.py:93
Function
_redirect_handler
(url: str)
core/consensus_mcp.py:250
Method
_serve
(self)
core/consensus_mcp.py:218
Method
add_source_to_node
Append a source_id to an existing node.
core/argument_tree.py:369
Function
anthropic
()
core/keys.py:82
Function
archive_dead_link
Move a dead source to dead_links table.
core/database.py:413
Function
break0
Break 0 — Theme confirmation. Returns the human's instructions as a string.
core/breaks.py:323
Function
break0
Break 0 — Theme confirmation. Returns the human's instructions as a string.
agents/breaks.py:333
Function
break1
Break 1 — Ground truth validation. Returns the human's instructions as a string.
core/breaks.py:337
Function
break1
Break 1 — Ground truth validation. Returns the human's instructions as a string.
agents/breaks.py:347
Function
break2
Break 2 — Trajectory evaluation. Returns the human's instructions as a string.
core/breaks.py:353
Function
break2
Break 2 — Trajectory evaluation. Returns the human's instructions as a string.
agents/breaks.py:363
Function
build_manifest
Pull every source for a run and convert to CitableSource objects.
core/references.py:210
Function
call
Convenience function — use this in agents.
core/llm.py:314
Function
cmd_bank
Show seminal bank proposals.
main.py:507
Function
cmd_collect
Run Social passive collection.
main.py:445
Function
cmd_keys
Show API key status.
main.py:543
Function
cmd_recheck
Run link health check.
main.py:458
Function
cmd_run
(args)
main.py:425
Function
cmd_runs
List recent runs.
main.py:525
Function
cmd_status
Show run status.
main.py:472
Function
cmd_test
Test a single source handler with a query and show the raw response.
main.py:549
Function
collect
Mode 1: Passive collector. Scans all themes in the config and saves to database. Run twice a week via cron. Returns summary.
agents/social.py:958
Function
consensus_mcp_status
Consensus uses MCP OAuth — check db/consensus_tokens.json for token status.
core/keys.py:94
Function
core
()
core/keys.py:73
Function
count
Count rows in a table.
core/database.py:348
Function
create_run
(run_id: str, problem: str)
core/database.py:368
Method
do_GET
(self)
core/consensus_mcp.py:224
Method
do_POST
(self)
core/consensus_mcp.py:226
Function
expand
Main entry point. Fully expands a problem into its conceptual territory. Returns: { "raw_terms": [...], "expanded_concepts":
core/concept_mapper.py:594
Function
extract_cite_keys
Find [Key] or [Key1, Key2] markers. Return unique valid keys in order.
core/references.py:294
Function
extract_relation
Extract relation label from URI. /r/IsA -> /r/IsA (keep as-is for clarity)
tools/import_conceptnet.py:108
Function
find_unknown_cite_keys
Return key-shaped tokens inside [...] that are NOT in valid_keys. These are likely LLM hallucinations; caller should redact.
core/references.py:309
Function
format_apa
Format a source in APA 7th edition style.
tools/generate_references.py:81
Function
format_chicago
Format a source in Chicago style.
tools/generate_references.py:120
Function
format_manifest_for_prompt
Compact representation the LLM can consume.
core/references.py:264
Function
format_simple
Simple format: Author (Year). Title.
tools/generate_references.py:158
Function
get_artifacts
(run_id: str)
core/database.py:568
Method
get_branch
Get a subtree starting from a specific node.
core/argument_tree.py:433
Function
get_directions
(run_id: str)
core/database.py:552
Function
get_evaluations
(run_id: str, verdict: str = None)
core/database.py:516
Function
get_expansion
Retrieve a cached expansion for a run.
core/concept_mapper.py:787
Function
get_gaps
(run_id: str, significance: str = None)
core/database.py:445
Function
get_implications
(run_id: str, strength: str = None)
core/database.py:465
Function
get_proposals
(run_id: str, status: str = None)
core/database.py:486
Function
get_run
(run_id: str)
core/database.py:377
Function
get_seminal_bank
(status: str = "pending_review")
core/database.py:585
Function
get_source_config
(config: dict, source_id: str)
core/utils.py:61
Function
get_sources_by_type
(source_type: str, run_id: str = None)
core/database.py:406
Function
get_synthesis
(run_id: str)
core/database.py:537
Function
get_themes
(config: dict)
core/utils.py:57
Method
get_tokens
(self)
core/consensus_mcp.py:119
Function
google_books
()
core/keys.py:85
Function
init_db
Initialize database — create all tables if they don't exist.
core/database.py:267
Function
insert_artifact
(artifact: dict)
core/database.py:560
Function
insert_direction
(direction: dict)
core/database.py:546
Function
insert_evaluation
(evaluation: dict)
core/database.py:497
Function
insert_gap
(gap: dict)
core/database.py:436
Function
insert_implication
(imp: dict)
core/database.py:456
Function
insert_proposal
(proposal: dict)
core/database.py:476
Function
insert_seminal_proposal
(proposal: dict)
core/database.py:576
Function
insert_synthesis
(synthesis: dict)
core/database.py:527
Method
log_message
(self, *args)
core/consensus_mcp.py:223
Function
mark_break_done
(run_id: str, break_num: int)
core/database.py:389
← previous
next →
201–300 of 339, ranked by callers