Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HazyResearch/minions
/ functions
Functions
1,660 in github.com/HazyResearch/minions
⨍
Functions
1,660
◇
Types & classes
282
↳
Endpoints
40
Method
get_last_interaction_response
Get the full response object from the last Interactions API call. Returns: Optional[Any]: The full interaction r
minions/clients/gemini.py:1209
Method
get_latest_turn
Get the most recent turn or None if history is empty.
minions/utils/conversation_history.py:145
Method
get_model
Get or initialize the embedding model.
minions/utils/retrievers.py:80
Method
get_model
(self)
minions/utils/retrievers.py:118
Method
get_model
Get the Gemini client.
minions/utils/retrievers.py:291
Method
get_model
Get the OpenRouter client.
minions/utils/retrievers.py:471
Method
get_model
Get the model name (Ollama doesn't use a client object).
minions/utils/retrievers.py:569
Method
get_model
Get the ColBERT model.
minions/utils/retrievers.py:673
Method
get_model
Get the Mistral client.
minions/utils/retrievers.py:820
Method
get_model
Get the OpenAI client configured for Modular.
minions/utils/retrievers.py:949
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:125
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:391
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:527
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:626
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:756
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:885
Method
get_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:1005
Function
get_parallel_search_urls
Get a list of URLs from Parallel Search API. Args: objective: Natural language objective describing what you want to find
minions/utils/parallel_search_util.py:141
Function
get_providers
Get available model providers.
apps/minions-a2a/examples/webapp/app.py:153
Method
get_sequence_probs
Compute log probabilities for each token in a sequence by performing a single forward pass through the model. Args:
minions/clients/transformers.py:1299
Method
get_sequence_probs
Compute log probabilities using the Together completions API.
minions/clients/together.py:73
Method
get_stats
Retrieve the collected measurements. :return: List of tuples (timestamp, measurement dict)
minions/utils/energy_tracking.py:233
Method
get_stats
Return performance statistics from the last request.
minions/clients/lemonade.py:284
Method
get_task_types
Get list of valid task types for embeddings.
minions/utils/retrievers.py:419
Method
get_thinking_content
Get the thinking content from the last model response that supports reasoning. Returns: str: The thinking conten
minions/clients/transformers.py:369
Method
get_total_time
Get the total time the monitor has been running.
minions/utils/energy_tracking.py:56
Method
get_turns
Get the most recent n turns. Args: n: Number of recent turns to retrieve, or None for all turns
minions/utils/conversation_history.py:131
Method
get_url_context_metadata
Get URL context metadata from the last response. Returns: Optional[Dict[str, Any]]: URL context metadata if avai
minions/clients/gemini.py:783
Method
handle_a2a_request
Handle A2A JSON-RPC requests.
apps/minions-a2a/a2a_minions/server.py:657
Function
handle_connect
Handle WebSocket connection.
apps/minions-a2a/examples/webapp/app.py:373
Function
handle_disconnect
Handle WebSocket disconnection.
apps/minions-a2a/examples/webapp/app.py:378
Method
handle_shutdown
(signum, frame)
apps/minions-a2a/a2a_minions/server.py:607
Function
health
Check A2A server health.
apps/minions-a2a/examples/webapp/app.py:129
Function
health_check
Health check endpoint with detailed status.
apps/minions-docker/minions_http_server.py:168
Function
health_check
Health check endpoint.
apps/minions-docker/minion_http_server.py:91
Method
health_check
Health check endpoint.
apps/minions-a2a/a2a_minions/server.py:772
Function
index
Main page.
apps/minions-a2a/examples/webapp/app.py:124
Function
initProgressCallback
(progress)
apps/minions-webgpu/main.js:68
Method
init_client
()
minions/minions_mcp.py:114
Function
internal_error
(error)
apps/minions-docker/minions_http_server.py:653
Function
internal_error
(error)
apps/minions-docker/minion_http_server.py:307
Function
jobs_callback
Display a list of jobs with toggleable details.
app.py:397
Function
json_serializable
(obj)
minion_stdin_interface.py:205
Method
list_file_search_stores
List all File Search stores. Returns: List[Dict[str, Any]]: List of file search store information
minions/clients/gemini.py:828
Method
list_files
List uploaded files. Example: files = client.list_files(limit=20) for f in files: print(f"Fil
minions/clients/grok.py:237
Function
list_models
List available models from the remote OpenAI client. Returns: JSON response containing the list of available models
apps/minions-docker/minion_http_server.py:261
Method
list_models
List available models from the NousResearch API. Returns: Dict containing the models data from the NousResearch
minions/clients/nousresearch.py:138
Method
list_models
List available models from the MiniMax API. Returns: Dict containing the models data with structure: {
minions/clients/minimax.py:137
Method
list_models
List available models from the Vercel AI Gateway. Returns a list of all models available through the gateway, including models from a
minions/clients/vercel_gateway.py:179
Method
list_models
List available models from the Ollama Turbo API. Returns: Dict containing the models data
minions/clients/ollama.py:614
Method
list_models
List available models from the Cohere API. Returns: Dict containing the models data from the Cohere API response
minions/clients/cohere.py:365
Method
list_models
List available models from the Osaurus server. Calls the GET /models endpoint (OpenAI-compatible models list). Suppo
minions/clients/osaurus.py:133
Method
load_audio
Load an audio file from a file path.
minions/clients/mlx_clients.py:692
Method
load_audio
Load an audio file from a file path.
secure/utils/clients/mlx_audio.py:59
Function
load_comparison_results
Load comparison results from a JSON file.
apps/minions-tools/utils.py:46
Function
load_default_medical_context
()
minions_cli.py:144
Method
load_model
Explicitly load a model into memory.
minions/clients/lemonade.py:241
Function
manage_api_keys
Manage API keys for different providers.
apps/minions-a2a/examples/webapp/app.py:173
Function
mcp_callback
Callback function to display intermediate MCP outputs
apps/minions-tools/app.py:94
Function
message
()
secure/remote/worker_server.py:179
Function
message_callback
Stream messages from both local and remote models with real-time updates.
minions_cli.py:183
Function
message_callback
Show messages for both Minion and Minions protocols, labeling the local vs remote model clearly.
app.py:459
Function
message_stream
()
secure/remote/worker_server.py:243
Function
metrics_endpoint
()
apps/minions-a2a/a2a_minions/metrics.py:230
Method
metrics_loop
()
apps/minions-a2a/a2a_minions/server.py:100
Method
mock_execute_skill
(skill_id, message, metadata, callback)
apps/minions-a2a/tests/unit/test_server.py:318
Function
mock_openai_response
()
tests/client_tests/test_notdiamond_client_integration.py:9
Method
monitor_a2a
()
apps/minions-a2a/examples/webapp/run_webapp.py:63
Method
monitor_ollama
()
apps/minions-a2a/examples/webapp/run_webapp.py:135
Method
monitor_web
()
apps/minions-a2a/examples/webapp/run_webapp.py:206
Function
multiply
Multiply two numbers and return the result.
tests/mcp_server_example/calculator_mcp_server_example.py:26
Method
nemotron_chat
Chat with Nemotron models with explicit reasoning control. Args: messages: List of message dictionaries with 'ro
minions/clients/transformers.py:893
Method
new_prompt_tokens
(self)
minions/usage.py:22
Method
no_auth
()
apps/minions-a2a/a2a_minions/server.py:653
Function
not_found
(error)
apps/minions-docker/minions_http_server.py:641
Function
not_found
(error)
apps/minions-docker/minion_http_server.py:294
Function
num_tokens_from_messages_openai
Return the number of tokens used by a list of messages. Source: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_w
minions/usage.py:55
Method
oauth_token
Handle OAuth2 token requests.
apps/minions-a2a/a2a_minions/server.py:638
Method
parse_story_structure
Parse the generated story text into structured chapters
apps/minions-story-teller/app.py:287
Method
peak_mem_GBps
(self)
minions/utils/inference_estimator.py:136
Method
peak_tflops
(self)
minions/utils/inference_estimator.py:126
Function
prepare_jobs
Args: context (List[str]): A list of documents. Assume each document is greater >100k tokens. Each document can be further ch
minions/minions.py:85
Function
print_chunk
(chunk)
secure/minions_chat.py:630
Method
process_one
(msg)
minions/clients/gemini.py:494
Method
process_one
(msg)
minions/clients/mlx_clients.py:346
Method
process_one
(msg)
minions/clients/lemonade.py:136
Method
process_one
(msg)
secure/utils/clients/gemini.py:163
Method
process_one
(msg)
secure/utils/clients/ollama.py:144
Method
profile
(cls)
minions/utils/inference_estimator.py:66
Method
put_event
()
apps/minions-a2a/a2a_minions/server.py:271
Method
register_node
Register a new node with the network coordinator.
minions/clients/distributed_inference.py:138
Method
remove_file
Remove a file ID from chat attachments (does not delete the file). Args: file_id: The ID of the file to remove from atta
minions/clients/grok.py:323
Method
remove_file_search_store
Remove a File Search store from being used in generations. Args: store_name: Name of the store to remove (format
minions/clients/gemini.py:958
Method
remove_node
Remove a node from the network.
minions/clients/distributed_inference.py:145
Method
rerank
Rerank documents based on relevance to a query using Cohere's rerank API. Requires native Cohere SDK. Args:
minions/clients/cohere.py:300
Method
response_generator
()
minions/clients/huggingface.py:216
Method
response_generator
()
secure/utils/clients/huggingface.py:153
Method
responses
Use Perplexity's Agentic Research API for multi-provider access with web search. See: https://docs.perplexity.ai/docs/agenti
minions/clients/perplexity.py:190
Method
responses
Use the OpenAI-compatible Responses API (requires Ollama v0.13.3+). Args: input: The input text/prompt
minions/clients/ollama.py:502
Method
responses
Use Exa's Responses API for single-turn research tasks. Example: client = ExaClient(model_name="exa-research
minions/clients/exa.py:155
← previous
next →
1,101–1,200 of 1,660, ranked by callers