MCPcopy Create free account

hub / github.com/HazyResearch/minions / functions

Functions1,660 in github.com/HazyResearch/minions

↓ 1,131 callersFunctionprint
(*args, **kwargs)
minion_stdin_interface.py:31
↓ 791 callersMethodget
(self, key, default=None)
minions/usage.py:39
↓ 159 callersMethodchat
Handle chat completions using Exa's OpenAI-compatible API. This routes to Exa's /chat/completions endpoint which provides
minions/clients/exa.py:82
↓ 69 callersMethodwrite
(self, data)
minion_stdin_interface.py:40
↓ 49 callersMethodassert_response_content
Assert response contains expected content
tests/test_base_client_integration.py:81
↓ 48 callersMethodlog_test
Log test result.
apps/minions-a2a/tests/integration/run_integration_tests.py:170
↓ 46 callersMethodrun
Run the server.
apps/minions-a2a/a2a_minions/server.py:949
↓ 34 callersMethodencode
Encode texts to create embeddings using MLX model. Args: texts: Single text or list of texts to encode model
minions/utils/retrievers.py:175
↓ 29 callersMethodlog_test
Log test result.
apps/minions-a2a/tests/integration/test_client_minion.py:190
↓ 28 callersMethodlogMessage
(message, type = 'info')
apps/minions-docker/web-minions/main.js:178
↓ 27 callersMethodlog_test
Log test result.
apps/minions-a2a/tests/integration/test_client_minions.py:193
↓ 25 callersMethodassert_valid_chat_response
Assert that chat response has correct format
tests/test_base_client_integration.py:58
↓ 22 callersMethodclose
Close the test client.
apps/minions-a2a/tests/integration/test_client_minion.py:610
↓ 21 callersMethodget_metrics
Generate current metrics in Prometheus format.
apps/minions-a2a/a2a_minions/metrics.py:219
↓ 20 callersMethodget_test_messages
Standard test messages for consistency
tests/test_base_client_integration.py:52
↓ 18 callersMethodto_dict
(self)
minions/usage.py:42
↓ 17 callersMethodcreate_task
Create a new task.
apps/minions-a2a/a2a_minions/server.py:182
↓ 17 callersMethodsearch
Search the web using Exa's native search API. Supports multiple search types including instant search for sub-150ms latency.
minions/clients/exa.py:269
↓ 15 callersFunction_retrieve_bm25
BM25 retrieval using keywords and weights.
apps/minions-doc-search/local_rag_document_search.py:312
↓ 15 callersMethodlogMessage
(message, type = 'info')
apps/minions-docker/web/main.js:78
↓ 14 callersMethodaddMetric
(label, value, container)
apps/minions-docker/web-minions/main.js:453
↓ 11 callersFunctiondeserialize_public_key
(pem_data)
secure/utils/crypto_utils.py:62
↓ 11 callersMethodsend_request
Send JSON-RPC request with authentication.
apps/minions-a2a/tests/integration/run_integration_tests.py:94
↓ 11 callersFunctionserialize_public_key
(public_key)
secure/utils/crypto_utils.py:55
↓ 10 callersMethodcreate_client
()
apps/minions-a2a/tests/unit/test_client_factory.py:360
↓ 10 callersMethodtrack_auth_attempt
Track authentication attempt.
apps/minions-a2a/a2a_minions/metrics.py:189
↓ 9 callersMethodaddMetric
(label, value, container)
apps/minions-docker/web/main.js:261
↓ 9 callersFunctionextract_query_and_document_from_parts
Extract query and document from A2A message parts. Args: parts: List of A2A parts (text, file, or data) Returns:
apps/minions-a2a/a2a_minions/agent_cards.py:149
↓ 8 callersMethod_find_matches
Find all unique matches for a regex pattern in the text.
minions/utils/pii_extraction.py:101
↓ 8 callersMethod_is_image_file
Check if file is an image.
apps/minions-a2a/a2a_minions/converters.py:278
↓ 8 callersMethodcheck_scopes
Check if token has required scopes.
apps/minions-a2a/a2a_minions/auth.py:351
↓ 8 callersMethodembed
Generate embeddings for the given content. Args: content: Text content to embed (single string or list of string
minions/clients/base.py:92
↓ 8 callersMethodgenerate_api_key
Generate a new API key.
apps/minions-a2a/a2a_minions/auth.py:81
↓ 8 callersMethodget_model
Get or initialize the MLX embedding model and tokenizer.
minions/utils/retrievers.py:168
↓ 8 callersMethodregister_client
Register a new OAuth2 client.
apps/minions-a2a/a2a_minions/auth.py:219
↓ 8 callersMethodstart
Start background tasks. Must be called when event loop is running.
apps/minions-a2a/a2a_minions/server.py:74
↓ 7 callersMethod__new__
(cls, model_name=None, **kwargs)
minions/utils/retrievers.py:154
↓ 7 callersMethod_extract_file_content
Extract text content from file information.
apps/minions-a2a/a2a_minions/converters.py:190
↓ 7 callersFunction_extract_json
Extract JSON from text that may be wrapped in markdown code blocks.
minions/minion_code.py:20
↓ 7 callersMethod_get_client_key
Generate a unique key for client configuration.
apps/minions-a2a/a2a_minions/client_factory.py:87
↓ 7 callersMethod_make_request
Make HTTP request with error handling.
minions/clients/distributed_inference.py:101
↓ 7 callersFunctiondecrypt_and_verify
(payload, key, verifying_key)
secure/utils/crypto_utils.py:703
↓ 7 callersFunctiondo_rerun
Streamlit renamed `experimental_rerun` → `rerun` in v1.27. Call the one that exists.
minions_secure_chat.py:33
↓ 7 callersFunctionembedding_retrieve_top_k_chunks
Retrieves top k chunks using dense vector embeddings and FAISS similarity search Args: queries: List of query strings chunks
minions/utils/retrievers.py:1060
↓ 7 callersFunctionencrypt_and_sign
(message, key, signing_key, nonce)
secure/utils/crypto_utils.py:689
↓ 7 callersMethodextract_query_and_document_from_parts
Extract query and document from A2A parts following the new format. Expected: First part = query (text), Second part = document (text
apps/minions-a2a/a2a_minions/converters.py:114
↓ 7 callersMethodroute
Route a query to the most appropriate client using Arch-Router's XML format. Args: query: User query to route
minions/utils/arch_router.py:127
↓ 7 callersMethodsend_task
Send a task to the A2A server.
apps/minions-a2a/tests/integration/test_client_minion.py:46
↓ 6 callersFunction_extract_json
Extract JSON from text that may be wrapped in markdown code blocks.
minions/minion.py:55
↓ 6 callersFunction_make_mcp_minion
Start MCP server (e.g. 'github' or 'filesystem') and make a Minion with access to it
minions/utils/minion_mcp.py:33
↓ 6 callersMethodchat
Handle synchronous chat completions. If you pass a list of message dicts, we do one call for that entire conversation. If you pass a
minions/clients/ollama.py:487
↓ 6 callersMethodclear
Clear all turns from the history.
minions/utils/conversation_history.py:151
↓ 6 callersFunctionformat_params
Format parameter count in human-readable form.
minions/utils/vram_perf_calculator.py:288
↓ 6 callersFunctiongenerate_key_pair
()
secure/utils/crypto_utils.py:49
↓ 6 callersMethodget_available_models
Get a list of available models from Exa. Returns: List[str]: List of model names available through Exa API
minions/clients/exa.py:373
↓ 6 callersMethodget_current_state
Get current state of the workspace. Returns: Dictionary containing file structure and contents
minions/utils/workspace.py:39
↓ 6 callersMethodget_task
Get task status and results.
apps/minions-a2a/tests/integration/test_client_minion.py:120
↓ 6 callersMethodsend_task
Send a task to the A2A server.
apps/minions-a2a/tests/integration/test_client_minions.py:48
↓ 6 callersMethodstop
Stop the background monitoring thread.
minions/utils/energy_tracking.py:226
↓ 6 callersMethodto_dict
(self)
apps/minions-story-teller/story_minion.py:34
↓ 6 callersMethodupdateStartButtonState
()
apps/minions-docker/web-minions/main.js:138
↓ 6 callersMethodupdate_task_status
Update task status.
apps/minions-a2a/a2a_minions/server.py:488
↓ 6 callersMethodvalidate_api_key
Validate an API key.
apps/minions-a2a/a2a_minions/auth.py:95
↓ 6 callersMethodwait_for_task_completion
Wait for a task to complete with progress logging.
apps/minions-a2a/tests/integration/run_integration_tests.py:183
↓ 5 callersMethod_ensure_native_sdk
Ensure the native xAI SDK is initialized. Raises: ImportError: If xai_sdk is not installed
minions/clients/grok.py:350
↓ 5 callersMethodchat
Handle chat completions using the OpenAI API. Args: messages: List of message dictionaries with 'role' and 'content' key
minions/clients/openai.py:250
↓ 5 callersMethodchat
Handle chat completions using the Moonshot AI API. Args: messages: List of message dictionaries with 'role' and 'content
minions/clients/moonshot.py:46
↓ 5 callersMethodcreate_minions_protocol
Create the appropriate Minions protocol instance.
apps/minions-a2a/a2a_minions/client_factory.py:131
↓ 5 callersFunctionderive_shared_key
(private_key, peer_public_key)
secure/utils/crypto_utils.py:78
↓ 5 callersMethodexecute_task
Execute a task.
apps/minions-a2a/a2a_minions/server.py:221
↓ 5 callersMethodinitialize_secure_session
Set up the secure communication channel with attestation and key exchange
secure/minions_chat.py:101
↓ 5 callersMethodparse_a2a_metadata
Parse A2A task metadata to create Minions configuration.
apps/minions-a2a/a2a_minions/config.py:106
↓ 5 callersMethodretrieve
Retrieve entries from the Qdrant collection based on query. :param query: embedding object (TextEmbedding) of query :param t
minions/utils/multimodal_retrievers.py:511
↓ 5 callersMethodstart
Start the background monitoring thread.
minions/utils/energy_tracking.py:87
↓ 5 callersMethodtrack_streaming_event
Track a streaming event.
apps/minions-a2a/a2a_minions/metrics.py:194
↓ 5 callersMethodupdateProcessingMode
()
apps/minions-docker/web-minions/main.js:167
↓ 5 callersMethodvalidate_client
Validate OAuth2 client credentials.
apps/minions-a2a/a2a_minions/auth.py:237
↓ 5 callersMethodverify_token
Verify a JWT token.
apps/minions-a2a/a2a_minions/auth.py:136
↓ 4 callersMethod_achat_internal
Handle async chat with multiple messages in parallel.
minions/clients/gemini.py:479
↓ 4 callersMethod_achat_internal
Handle async chat with multiple messages in parallel. Args: messages: List of message dictionaries with 'role' and 'cont
minions/clients/mlx_clients.py:323
↓ 4 callersMethod_achat_internal
Handle async chat with MCP tool calling support.
minions/clients/ollama.py:241
↓ 4 callersFunction_extract_json
Extract JSON from text that may be wrapped in markdown code blocks.
minions/minion_arch.py:40
↓ 4 callersFunction_extract_json
Extract JSON from text that may be wrapped in markdown code blocks.
minions/minion_wtools.py:382
↓ 4 callersMethod_extract_json
Clean common LLM JSON issues and parse.
minions/minion_cua.py:604
↓ 4 callersMethod_extract_pdf_text
Extract text from PDF bytes asynchronously.
apps/minions-a2a/a2a_minions/converters.py:224
↓ 4 callersMethod_is_reasoning_model
Check if the current model is a reasoning model (GPT-5 family). Returns: True if the model supports reasoning ef
minions/clients/openai.py:117
↓ 4 callersMethod_save_temp_file
Save file content to temporary file and return path.
apps/minions-a2a/a2a_minions/converters.py:283
↓ 4 callersMethod_serialize_usage
Convert usage objects to JSON-serializable format.
apps/minions-a2a/a2a_minions/converters.py:366
↓ 4 callersFunctionbytes2gib
(x: float)
minions/utils/vram_perf_calculator.py:250
↓ 4 callersMethodchat
Handle chat completions using the Qwen API. Args: messages: List of message dictionaries with 'role' and 'content' keys
minions/clients/qwen.py:46
↓ 4 callersMethodchat
Handle chat completions using the HuggingFace Inference API or Router. Args: messages: List of message dictionaries with
minions/clients/huggingface.py:101
↓ 4 callersMethodcleanup
Clean up LMCache resources.
minions/clients/lmcache.py:260
↓ 4 callersMethodcreate_token
Create a JWT token from token data.
apps/minions-a2a/a2a_minions/auth.py:126
↓ 4 callersMethodencode
Encode texts to create ColBERT embeddings. Args: texts: Single text or list of texts to encode is_qu
minions/utils/retrievers.py:677
↓ 4 callersFunctionextract_function
(lines: List[str], node: ast.FunctionDef)
minions/utils/chunking.py:144
↓ 4 callersMethodextract_skill_id
Extract skill ID from metadata or raise error if missing.
apps/minions-a2a/a2a_minions/converters.py:467
↓ 4 callersFunctiongenerate
()
secure/remote/worker_server.py:294
↓ 4 callersMethodgenerate_audio
Generate audio from text using CSM-MLX. Args: text (str): The text to convert to speech voice (str): Voice s
minions/utils/voice_generator.py:45
↓ 4 callersMethodgenerate_embedding
( self, content, content_type: str = "text", upload: bool = False, pat
minions/utils/multimodal_retrievers.py:206
↓ 4 callersMethodget_audio_html
Create HTML for audio playback from base64 encoded audio. Args: audio_base64 (str): Base64 encoded audio data R
minions/utils/voice_generator.py:78
next →1–100 of 1,660, ranked by callers