MCPcopy Create free account

hub / github.com/HazyResearch/minions / functions

Functions1,660 in github.com/HazyResearch/minions

↓ 2 callersMethodchat
Handle chat completions using the Anthropic API. Args: messages: List of message dictionaries with 'role' and 'content'
minions/clients/anthropic.py:162
↓ 2 callersMethodchat
Handle chat completions using the SambaNova API. Args: messages: List of message dictionaries with 'role' and 'content'
minions/clients/sambanova.py:58
↓ 2 callersMethodcheckBackendStatus
()
apps/minions-docker/web-minions/main.js:225
↓ 2 callersMethodcheckBackendStatus
()
apps/minions-docker/web/main.js:124
↓ 2 callersMethodcheck_key
Check if API key exists for service
tests/utils/env_checker.py:34
↓ 2 callersFunctioncheck_ollama_status
Check if Ollama is running and has the required model.
apps/minions-character-chat/utils.py:33
↓ 2 callersMethodcleanup_streaming
Clean up streaming for a task.
apps/minions-a2a/a2a_minions/server.py:519
↓ 2 callersMethodcleanup_temp_files
Clean up temporary files.
apps/minions-a2a/a2a_minions/converters.py:481
↓ 2 callersFunctioncreate_attestation_report
( agent_name: str, public_key, nonce: bytes, tls_cert_path: str )
secure/utils/crypto_utils.py:553
↓ 2 callersFunctioncreate_client
Create a client based on configuration.
minion_stdin_interface.py:101
↓ 2 callersFunctioncreate_client
Create a client based on the provider type.
apps/minions-docker/minions_http_server.py:92
↓ 2 callersMethodcreate_client
Create or retrieve a cached client instance for the specified provider.
apps/minions-a2a/a2a_minions/client_factory.py:98
↓ 2 callersMethodcreate_client_pair
Create local and remote client pair.
apps/minions-a2a/a2a_minions/client_factory.py:161
↓ 2 callersFunctioncreate_directory
Create a new directory or ensure it exists. Args: path: Path to the directory to create Returns: Success message or error
minions/minion_wtools.py:276
↓ 2 callersFunctioncreate_metrics_endpoint
Create FastAPI endpoint for metrics.
apps/minions-a2a/a2a_minions/metrics.py:228
↓ 2 callersFunctioncreate_minion_instance
Create and return a new minion instance with configured clients.
apps/minions-docker/minion_http_server.py:52
↓ 2 callersFunctiondeserialize_private_key
(pem_data)
secure/utils/crypto_utils.py:74
↓ 2 callersMethodencode
(self, texts)
minions/utils/retrievers.py:121
↓ 2 callersFunctionenhance_image_prompt
Create an enhanced image prompt based on chapter content and story theme. Args: chapter_content: The text content of the chapter
apps/minions-story-teller/utils.py:10
↓ 2 callersFunctionextract_final_answer
(text: str)
minions/minion_reasoning.py:15
↓ 2 callersMethodextract_pii
Extract PII from the given text and return as a dictionary. Args: text (str): The text to extract PII from Retu
minions/utils/pii_extraction.py:41
↓ 2 callersFunctionextract_text_from_file
Extract text from a PDF, TXT, Python, or Markdown file.
minions_cli.py:34
↓ 2 callersFunctionextract_text_from_folder
Extract text from all supported files in a folder.
minions_cli.py:61
↓ 2 callersMethodfind_free_port
()
minions/clients/utils.py:73
↓ 2 callersMethodflush
(self)
minion_stdin_interface.py:44
↓ 2 callersMethodformat_output
Format the output of a tool
minions/minions_mcp.py:225
↓ 2 callersMethodformat_summaries
Formats the summaries into a string for the remote client, organized by search query Args: query_results: Dictio
minions/minions_deep_research.py:163
↓ 2 callersMethodgenerate_story_images
Generate images for each chapter
apps/minions-story-teller/app.py:671
↓ 2 callersFunctionget_extended_agent_card
Get the extended agent card for authenticated users.
apps/minions-a2a/a2a_minions/agent_cards.py:142
↓ 2 callersMethodget_file_contents
Get contents of a specific file in the workspace. Args: file_path: Path to the file relative to workspace direct
minions/utils/workspace.py:81
↓ 2 callersFunctionget_file_info
Get detailed file/directory metadata. Args: path: Path to the file or directory Returns: Dictionary with file metadata
minions/minion_wtools.py:294
↓ 2 callersFunctionget_public_key_hash
Return the base64-encoded SHA256 hash of an ECDSA public key in DER format. :param public_key: A cryptography public key object :return:
secure/utils/crypto_utils.py:239
↓ 2 callersFunctionget_security_schemes
Get security schemes for the agent card.
apps/minions-a2a/a2a_minions/agent_cards.py:89
↓ 2 callersMethodinitialize
Initialize the voice generator model.
minions/utils/voice_generator.py:109
↓ 2 callersFunctioninitialize_client
Initialize a client based on provider name.
minions_cli.py:295
↓ 2 callersFunctioninitialize_clients
Initialize the local and remote clients outside of the run_protocol function.
app.py:742
↓ 2 callersFunctionis_mobile
Check if we're in mobile mode (based on session state toggle).
minions_secure_chat.py:43
↓ 2 callersMethodlaunch_server
(self, launch_command: str, port: int, capture_output: bool = False)
minions/clients/utils.py:8
↓ 2 callersFunctionlist_directory
List directory contents with [FILE] or [DIR] prefixes. Args: path: Path to directory (defaults to current directory) Returns:
minions/minion_wtools.py:173
↓ 2 callersMethodmakeRequest
(endpoint, options = {})
apps/minions-docker/web-minions/main.js:198
↓ 2 callersMethodmakeRequest
(endpoint, options = {})
apps/minions-docker/web/main.js:97
↓ 2 callersMethodopen_url
Open a URL in the specified browser or default browser.
minions/minion_cua.py:1159
↓ 2 callersFunctionparse_model_string
Parse a model string in the format provider/model_name.
minions_cli.py:169
↓ 2 callersFunctionprocess_folder
Process a folder containing text, PDF, and image files. Returns: Tuple containing: - Concatenated text content from all text and
secure/utils/processing_utils.py:80
↓ 2 callersMethodprofile
Profile a model, with optional manual quantization parameters. Args: name: The model name from the model_to_params table
minions/utils/inference_estimator.py:162
↓ 2 callersFunctionread_file
Read the contents of a file. Args: file_path: Path to the file to read Returns: Contents of the file as a string
minions/minion_wtools.py:203
↓ 2 callersFunctionread_multiple_files
Read the contents of multiple files at once. Args: file_paths: List of paths to the files to read Returns: Dictionary mappin
minions/minion_wtools.py:404
↓ 2 callersFunctionrender_deep_research_ui
Render the Deep Research UI component. Args: minions_instance: An initialized DeepResearchMinions instance
minions/utils/app_utils.py:8
↓ 2 callersMethodrequire_scopes
Dependency to require specific scopes.
apps/minions-a2a/a2a_minions/auth.py:358
↓ 2 callersMethodrevoke_api_key
Revoke an API key.
apps/minions-a2a/a2a_minions/auth.py:102
↓ 2 callersMethodrevoke_client
Revoke an OAuth2 client.
apps/minions-a2a/a2a_minions/auth.py:244
↓ 2 callersMethodrun_tests
Run tests in the workspace. Args: test_commands: List of test commands to run Returns:
minions/utils/workspace.py:201
↓ 2 callersMethodsanitize_credentials_for_display
Sanitize credentials in action objects for safe display in logs and UI. Returns a copy with passwords masked.
minions/minion_cua.py:1372
↓ 2 callersFunctionsave_uploaded_file
Save uploaded file to a temporary directory and return the path.
minions_secure_chat.py:61
↓ 2 callersFunctionsearch_files
Recursively search for files/directories. Args: path: Starting directory for search pattern: Search pattern (glob format)
minions/minion_wtools.py:327
↓ 2 callersMethodsend_message
Send a message to the supervisor and get a response
secure/minions_chat.py:191
↓ 2 callersMethodsend_message_stream
Send a message to the supervisor and get a streaming response
secure/minions_chat.py:323
↓ 2 callersFunctionserialize_private_key
(private_key)
secure/utils/crypto_utils.py:66
↓ 2 callersFunctionsetup_test_env
Set up a test environment with some sample files.
tests/test_minion_wtools.py:20
↓ 2 callersFunctionshow_history
Show the conversation history.
tests/test_multi_turn.py:120
↓ 2 callersFunctionshow_history
Show the conversation history.
tests/test_summarization.py:144
↓ 2 callersFunctionsign_attestation
(attestation_json, private_key)
secure/utils/crypto_utils.py:576
↓ 2 callersMethodstartMinions
()
apps/minions-docker/web-minions/main.js:292
↓ 2 callersMethodto_dict
Convert TextEmbedding to dictionary representation. :returns Dict representation of the TextEmbedding
minions/utils/multimodal_retrievers.py:49
↓ 2 callersMethodtrack_pdf_processing
Context manager to track PDF processing.
apps/minions-a2a/a2a_minions/metrics.py:178
↓ 2 callersMethodtrack_request
(method)
apps/minions-a2a/tests/unit/test_metrics.py:219
↓ 2 callersMethodtrack_task
(skill_id)
apps/minions-a2a/tests/unit/test_metrics.py:247
↓ 2 callersMethodupdate_client_pool_stats
Update client pool statistics.
apps/minions-a2a/a2a_minions/metrics.py:210
↓ 2 callersFunctionvalidate_secure_endpoint
Validate secure endpoint by checking if it uses HTTPS and is reachable.
app.py:1758
↓ 2 callersMethodwait_for_server
Wait for server to be ready.
apps/minions-a2a/tests/integration/run_integration_tests.py:48
↓ 2 callersFunctionwrite_file
Create new file or overwrite existing file. Args: file_path: Path to the file to write content: Content to write to the file
minions/minion_wtools.py:251
↓ 1 callersMethod__init__
Initialize the synchronous MCP client
minions/minions_mcp.py:95
↓ 1 callersMethod__init__
Initialize Ollama Client. Args: model_name: The Ollama model to use (default: "llama-3.2") temperature: Sampl
minions/clients/ollama.py:15
↓ 1 callersMethod__str__
(self)
minions/utils/arch_router.py:281
↓ 1 callersMethod_achat
(self, messages, temperature=0.0, max_tokens=None)
minions/clients/docker_model_runner.py:184
↓ 1 callersMethod_authenticate_huggingface
Authenticate with Hugging Face using the provided token or environment variable.
minions/clients/transformers.py:518
↓ 1 callersMethod_batch_chat
Handle multiple messages using the /batch endpoint for parallel processing.
minions/clients/distributed_inference.py:271
↓ 1 callersMethod_build_apriel_model_and_processor
Build and return the Apriel model and processor. Apriel models use AutoModelForImageTextToText and AutoProcessor. Returns:
minions/clients/transformers.py:681
↓ 1 callersMethod_build_model_and_tokenizer
Build and return the model and tokenizer from the checkpoint path. Supports HF Hub models, local paths, and PEFT adapters. R
minions/clients/transformers.py:557
↓ 1 callersMethod_chat
(self, messages, temperature=0.0, max_tokens=None)
minions/clients/docker_model_runner.py:136
↓ 1 callersMethod_chat_native
Handle chat using native Cohere SDK v2. Args: messages: List of message dictionaries with 'role' and 'content' k
minions/clients/cohere.py:105
↓ 1 callersMethod_chat_openai_compat
Handle chat using OpenAI compatibility API. Args: messages: List of message dictionaries with 'role' and 'conten
minions/clients/cohere.py:163
↓ 1 callersMethod_chat_with_native_sdk
Handle chat completions using the native xAI SDK with file support. Args: messages: List of message dictionaries with 'r
minions/clients/grok.py:407
↓ 1 callersMethod_chat_with_openai_api
Handle chat completions using the OpenAI-compatible API. Args: messages: List of message dictionaries with 'role' and 'c
minions/clients/grok.py:479
↓ 1 callersMethod_chat_with_websearch_agent
Handle chat using the websearch agent through the conversations API. Args: messages: List of message dictionaries with '
minions/clients/mistral.py:127
↓ 1 callersMethod_check_dependencies
Check if required dependencies are installed.
minions/clients/mlx_clients.py:680
↓ 1 callersMethod_check_dependencies
Check if required dependencies are installed.
secure/utils/clients/mlx_audio.py:47
↓ 1 callersMethod_cleanup_old_tasks
Remove old completed tasks based on retention policy.
apps/minions-a2a/a2a_minions/server.py:125
↓ 1 callersMethod_conduct_final_review
Conduct final integration review of the completed project.
minions/minion_code.py:630
↓ 1 callersMethod_convert_mcp_tools_to_ollama_format
Convert MCP tools to Ollama tools format.
minions/clients/ollama.py:122
↓ 1 callersMethod_convert_messages_to_apriel_format
Convert standard message format to Apriel format with content as list of dicts. Text-only version. Args:
minions/clients/transformers.py:733
↓ 1 callersMethod_create_file_search_tool
Create File Search tool for RAG capabilities.
minions/clients/gemini.py:229
↓ 1 callersMethod_create_google_search_tool
Create Google Search tool for web search capabilities.
minions/clients/gemini.py:220
↓ 1 callersMethod_create_namespace
Create a sandboxed namespace for code execution.
minions/minion_rlm.py:521
↓ 1 callersMethod_create_url_context_tool
Create URL context tool for retrieving content from URLs.
minions/clients/gemini.py:214
↓ 1 callersMethod_create_websearch_agent
Create a websearch agent with the specified configuration.
minions/clients/mistral.py:55
↓ 1 callersMethod_decide_model_for_turn
Decide whether to use local or remote model for the current turn based on cost sensitivity.
minions/minion_tunable.py:69
↓ 1 callersMethod_default_metadata
Generate default metadata for clients if not provided. Returns: Dictionary mapping client names to default metadata in A
minions/minion_arch.py:123
↓ 1 callersMethod_detect_test_commands
Auto-detect appropriate test commands based on project structure. Returns: List of test commands to try
minions/utils/workspace.py:374
↓ 1 callersMethod_detect_urls_in_messages
Detect if there are URLs in the message content. Args: messages: List of message dictionaries
minions/clients/gemini.py:240
← previousnext →201–300 of 1,660, ranked by callers