MCPcopy Create free account

hub / github.com/AgenticInternet/agentic-internet / functions

Functions481 in github.com/AgenticInternet/agentic-internet

↓ 30 callersMethodrun
Execute a task by directly querying the model. For models that don't support tools, we'll describe available tools in the prompt.
agentic_internet/agents/basic_agent.py:23
↓ 28 callersMethodforward
(self, text: str)
tests/test_code_mode.py:18
↓ 15 callersFunctionis_mcp_available
Check if MCP packages are available.
agentic_internet/tools/mcp_integration.py:545
↓ 15 callersMethodrun
Run the agent on a specific task. Args: task: The task/query to execute **kwargs: Additional arguments to pa
agentic_internet/agents/internet_agent.py:156
↓ 14 callersMethodsearch
Return formatted signatures for tools matching *query*. The search is a case-insensitive substring match against both the tool name a
agentic_internet/agents/code_mode.py:98
↓ 11 callersMethod_violations
(self, code: str)
tests/test_code_execution.py:14
↓ 11 callersMethodadd_agent
Add a search agent to the orchestrator.
agentic_internet/agents/search_orchestrator.py:143
↓ 10 callersFunctionsupports_parameter
Return whether a model advertises support for an OpenRouter parameter.
agentic_internet/utils/openrouter_models.py:56
↓ 9 callersMethod__init__
(self, message: str)
agentic_internet/exceptions.py:96
↓ 9 callersFunction_build_contents_kwargs
Build the contents kwargs for search_and_contents. The Exa API allows multiple content types to be requested simultaneously.
agentic_internet/tools/exa_search.py:99
↓ 8 callersFunction_create_model_for_provider
Create a model instance for the given provider. Centralised factory to avoid duplication. Raises: ModelInitializationError: If model
agentic_internet/utils/model_utils.py:19
↓ 8 callersMethod_orchestrator
(self)
tests/test_search_orchestrator.py:91
↓ 8 callersFunction_tool
(name: str)
tests/test_orchestration_runtime.py:18
↓ 8 callersFunctionget_use_case_recipe
Return a built-in use-case recipe by id.
agentic_internet/agents/use_cases.py:167
↓ 7 callersMethodadd_content
(self, content: str, priority: int = 1)
agentic_internet/agents/multi_model_serpapi.py:291
↓ 7 callersMethodget_model_provider
Determine the provider for a given model ID.
agentic_internet/config/settings.py:250
↓ 7 callersFunctioninitialize_model
Initialize a model based on model_id and settings configuration. Returns: Initialized model instance or None if initialization fails
agentic_internet/utils/model_utils.py:66
↓ 6 callersMethod__init__
(self, agent, agent_name: str, agent_description: str)
agentic_internet/agents/multi_model_serpapi.py:798
↓ 6 callersFunction_normalize_search_type
Validate the search type, fall back to None (Exa default) if unrecognized.
agentic_internet/tools/exa_search.py:121
↓ 6 callersFunction_search_with_fallback
Try SerpAPI first, fall back to DuckDuckGo.
agentic_internet/tools/web_search.py:102
↓ 6 callersFunction_validate_url
Validate and normalise a URL. Returns error message or None if valid.
agentic_internet/tools/web_search.py:172
↓ 6 callersMethodget_search_recommendations
Get recommendations based on past search patterns
agentic_internet/agents/multi_model_serpapi.py:344
↓ 6 callersMethodsnippet
Pick the best available content for a short snippet, cascading through fields.
agentic_internet/tools/exa_search.py:61
↓ 5 callersFunction_make_raw
Build a stand-in for an exa_py Result object.
tests/test_exa_search.py:18
↓ 5 callersFunction_normalize_category
Validate the category, fall back to None if unrecognized.
agentic_internet/tools/exa_search.py:131
↓ 5 callersFunction_search_serpapi
Shared SerpAPI search logic. Returns formatted results or None on failure.
agentic_internet/tools/web_search.py:29
↓ 5 callersMethodadd_server
Add an MCP server configuration. Args: name: Unique identifier for this server server_config: Server configu
agentic_internet/tools/mcp_integration.py:277
↓ 5 callersMethodconnect
Connect to a single MCP server by name. Args: server_name: Name of the server to connect to Yields:
agentic_internet/tools/mcp_integration.py:322
↓ 5 callersMethodexecute_multi_model_workflow
Execute workflow with multi-model coordination and optimization
agentic_internet/agents/multi_model_serpapi.py:1208
↓ 5 callersMethodget_api_key_for_provider
Get the API key for a specific provider.
agentic_internet/config/settings.py:318
↓ 5 callersFunctionmcp_tools
Context manager to quickly get MCP tools from a single server. This is the recommended way to use MCP tools as it properly handles the c
agentic_internet/tools/mcp_integration.py:411
↓ 5 callersMethodremember_search_pattern
Remember successful search patterns for different query types
agentic_internet/agents/multi_model_serpapi.py:323
↓ 4 callersMethod__init__
Initialize data analysis agent with analysis-specific configuration.
agentic_internet/agents/specialized_agents.py:107
↓ 4 callersFunction_format_results
Format Exa results matching the existing web_search output style.
agentic_internet/tools/exa_search.py:81
↓ 4 callersFunctioncheck_mcp_available
Check if MCP packages are available and raise informative error if not.
agentic_internet/tools/mcp_integration.py:35
↓ 4 callersMethodexecute
Execute a search task.
agentic_internet/agents/search_orchestrator.py:67
↓ 4 callersMethodforward
Execute a browser automation task.
agentic_internet/tools/browser_use.py:57
↓ 4 callersMethodfrom_sdk
Build from an exa_py Result object (or anything with the expected attrs).
agentic_internet/tools/exa_search.py:47
↓ 4 callersFunctionis_mcp_available
()
agentic_internet/tools/__init__.py:28
↓ 4 callersFunctionload_mcp_config_from_env
Load MCP server configurations from environment variables. Expected format: MCP_SERVER_1_TYPE=stdio MCP_SERVER_1_PATH=/path/
agentic_internet/tools/mcp_integration.py:461
↓ 4 callersMethodlog_search
Log search attempts for analysis and optimization
agentic_internet/agents/multi_model_serpapi.py:365
↓ 4 callersMethodscrape_structured_data
Scrape structured data from a website. Args: url: The URL to scrape data_schema: Schema describing the expec
agentic_internet/agents/specialized_agents.py:26
↓ 3 callersFunction_agent_with_run
(return_value: str)
tests/test_specialized_agents.py:13
↓ 3 callersMethod_create_specialized_prompt
Create a specialized prompt based on the agent's role.
agentic_internet/agents/search_orchestrator.py:94
↓ 3 callersMethod_get_default_tools
Get the default set of tools for the agent.
agentic_internet/agents/internet_agent.py:121
↓ 3 callersFunction_search_ddgs
Shared DuckDuckGo search logic.
agentic_internet/tools/web_search.py:69
↓ 3 callersFunctioncreate_code_mode_agent
Create a ``CodeAgent`` that accesses all *tools* through a ``ToolFacade``. Args: tools: Tools to expose through the facade (MCP tools, de
agentic_internet/agents/code_mode.py:290
↓ 3 callersMethodforward
Scrape content from a web page.
agentic_internet/tools/web_search.py:205
↓ 3 callersFunctionget_any_available_model
Try to get any available model based on settings configuration. Returns: First successfully initialized model or None.
agentic_internet/utils/model_utils.py:105
↓ 3 callersMethodget_performance_stats
Get performance statistics for this agent.
agentic_internet/agents/search_orchestrator.py:111
↓ 3 callersMethodis_available
Check whether the tool can run (SDK installed and API key set).
agentic_internet/tools/exa_search.py:227
↓ 3 callersMethodlist_available_models
List all available models based on configured API keys.
agentic_internet/config/settings.py:332
↓ 3 callersFunctionparse_worker_model_overrides
Parse CLI worker overrides in the form worker=model.
agentic_internet/agents/orchestration_runtime.py:40
↓ 3 callersMethodresearch
Conduct research on a specific topic. Args: topic: The research topic depth: Research depth - "quick", "mode
agentic_internet/agents/internet_agent.py:268
↓ 3 callersMethodresolve_model_id
Resolve configured short aliases to provider-ready model IDs.
agentic_internet/config/settings.py:233
↓ 3 callersFunctionresolve_tool_bundles
Resolve bundle names into available tools while reporting missing bundles.
agentic_internet/agents/orchestration_runtime.py:55
↓ 3 callersFunctionresolve_use_case_tools
Resolve direct and worker tool assignments for a recipe.
agentic_internet/agents/orchestration_runtime.py:84
↓ 3 callersMethodsetup_multi_model_workers
Setup workers with strategic model assignments Args: default_model: Model to use for all workers (if not specified, uses role-bas
agentic_internet/agents/multi_model_serpapi.py:1162
↓ 3 callersMethodsetup_use_case_workers
Setup workers from a declarative K-LLM use-case recipe.
agentic_internet/agents/multi_model_serpapi.py:1170
↓ 3 callersFunctionto_litellm_openrouter_model_id
Return a LiteLLM-compatible OpenRouter model ID.
agentic_internet/utils/openrouter_models.py:24
↓ 3 callersMethodupdate_context_from_result
Update context based on agent results
agentic_internet/agents/multi_model_serpapi.py:852
↓ 2 callersMethod__init__
Initialize the Browser Use tool with API key.
agentic_internet/tools/browser_use.py:43
↓ 2 callersMethod__init__
(self, tools: list[Tool])
agentic_internet/agents/code_mode.py:83
↓ 2 callersFunction_build_client
Create an Exa client and tag it with the integration header.
agentic_internet/tools/exa_search.py:74
↓ 2 callersMethod_create_server_parameters
Create server parameters based on transport type. Returns: StdioServerParameters for stdio or dict for HTTP transport
agentic_internet/tools/mcp_integration.py:101
↓ 2 callersMethod_synthesize_results
Use the orchestrator agent to synthesize results from multiple agents.
agentic_internet/agents/search_orchestrator.py:334
↓ 2 callersMethodanalyze_search_performance
Analyze search performance across engines and query types
agentic_internet/agents/multi_model_serpapi.py:868
↓ 2 callersFunctioncreate_search_orchestrator
Convenience function to create and set up a search orchestrator. Args: tools: List of tools to provide to agents model: Mode
agentic_internet/agents/search_orchestrator.py:392
↓ 2 callersMethodforward
(self, code: str)
agentic_internet/agents/code_mode.py:233
↓ 2 callersMethodget_default_model_for_provider
Get the default/fallback model for a provider.
agentic_internet/config/settings.py:328
↓ 2 callersMethodget_model_for_role
Strategic model assignment based on agent role and capabilities
agentic_internet/agents/multi_model_serpapi.py:95
↓ 2 callersFunctionget_model_info
Get information about a model instance.
agentic_internet/utils/model_utils.py:131
↓ 2 callersMethodget_performance_report
Get a performance report for all agents.
agentic_internet/agents/search_orchestrator.py:371
↓ 2 callersMethodget_progress_summary
Get a summary of current task progress
agentic_internet/agents/multi_model_serpapi.py:378
↓ 2 callersMethodget_server_parameters
Get the server parameters for this integration.
agentic_internet/tools/mcp_integration.py:146
↓ 2 callersMethodlist_servers
List all configured server names.
agentic_internet/tools/mcp_integration.py:313
↓ 2 callersFunctionlist_use_case_recipes
List built-in use-case recipes in stable order.
agentic_internet/agents/use_cases.py:177
↓ 2 callersFunctionmain
Main entry point for the CLI.
agentic_internet/cli.py:820
↓ 2 callersMethodmodel
(messages)
tests/test_basic_agent.py:23
↓ 2 callersFunctionnormalize_openrouter_model_id
Return the OpenRouter API model ID without the LiteLLM ``openrouter/`` prefix.
agentic_internet/utils/openrouter_models.py:17
↓ 2 callersMethodprepare_agent_context
Prepare context for agent initialization
agentic_internet/agents/multi_model_serpapi.py:843
↓ 2 callersFunctionrecent_agentic_models
Return recent models that are especially useful for agent workflows.
agentic_internet/utils/openrouter_models.py:66
↓ 2 callersMethodremove_server
Remove a server configuration by name.
agentic_internet/tools/mcp_integration.py:306
↓ 2 callersMethodsetup_default_agents
Set up a default set of search agents with different specializations.
agentic_internet/agents/search_orchestrator.py:157
↓ 2 callersFunctionsort_models_by_created
Return models sorted newest first.
agentic_internet/utils/openrouter_models.py:61
↓ 2 callersFunctionsummarize_openrouter_model
Extract the stable fields the CLI and docs care about.
agentic_internet/utils/openrouter_models.py:79
↓ 2 callersFunctionsummarize_use_case
Return a JSON-serializable summary of a prepared use case.
agentic_internet/agents/orchestration_runtime.py:102
↓ 2 callersMethodto_dict
Temporarily hide the non-serialisable facade during E2B serialisation.
agentic_internet/agents/code_mode.py:179
↓ 2 callersMethodtool_names_for_worker
Return resolved tool names for a worker.
agentic_internet/agents/orchestration_runtime.py:35
↓ 2 callersMethodvalidate
(self, tree: ast.AST)
agentic_internet/tools/code_execution.py:204
↓ 2 callersMethodvalidate_startup
Validate configuration at startup and return warnings for missing keys.
agentic_internet/config/settings.py:364
↓ 2 callersMethodworker_names
Return worker names in execution order.
agentic_internet/agents/use_cases.py:65
↓ 2 callersMethodwrite_article
Write an article on a given topic. Args: topic: The topic to write about style: Writing style (informative,
agentic_internet/agents/specialized_agents.py:182
↓ 1 callersMethod__init__
( self, *, num_results: int | None = None, include_text: bool = False,
agentic_internet/tools/exa_search.py:205
↓ 1 callersMethod__init__
(self, use_orchestrator: bool = False, orchestrator: Any = None)
agentic_internet/tools/web_search.py:131
↓ 1 callersMethod__init__
Initialize the Internet Agent. Args: model_id: The model to use for the agent tools: List of tools to make a
agentic_internet/agents/internet_agent.py:34
↓ 1 callersMethod_aggregate_results
Aggregate results from multiple agents.
agentic_internet/agents/search_orchestrator.py:300
↓ 1 callersMethod_analyze_cross_engine_results
Analyze results across different search engines
agentic_internet/agents/multi_model_serpapi.py:902
↓ 1 callersMethod_check_model_code_support
Check if a model supports code generation for CodeAgent
agentic_internet/agents/multi_model_serpapi.py:1022
↓ 1 callersMethod_check_model_tool_support
Check if a model supports tool calling
agentic_internet/agents/multi_model_serpapi.py:1000
next →1–100 of 481, ranked by callers