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
↓ 1 callers
Method
_save_session_log
Save the development session log.
minions/minion_code.py:765
↓ 1 callers
Function
_seal_slice
Encrypt and authenticate a single chunk of data.
secure/utils/crypto_utils.py:766
↓ 1 callers
Method
_setup_lmcache_environment
Configure LMCache environment variables.
minions/clients/lmcache.py:89
↓ 1 callers
Method
_setup_routes
Set up FastAPI routes.
apps/minions-a2a/a2a_minions/server.py:615
↓ 1 callers
Method
_setup_shutdown_handlers
Set up graceful shutdown handlers.
apps/minions-a2a/a2a_minions/server.py:599
↓ 1 callers
Method
_single_chat
Handle single message chat using the /chat endpoint.
minions/clients/distributed_inference.py:180
↓ 1 callers
Method
_start_cleanup_task
Start background task for periodic cleanup.
apps/minions-a2a/a2a_minions/server.py:84
↓ 1 callers
Function
_start_clients
()
minions/utils/minion_mcp.py:24
↓ 1 callers
Function
_start_mcp_server
Starts the `server_name` MCP server via the command specified in the config manager
minions/utils/minion_mcp.py:16
↓ 1 callers
Method
_start_metrics_task
Start background task for periodic metrics updates.
apps/minions-a2a/a2a_minions/server.py:98
↓ 1 callers
Method
_summarize_turns
Generate a summary of the given turns and combine with existing summary. Args: turns_to_summarize: The conversat
minions/utils/conversation_history.py:95
↓ 1 callers
Method
_terminate_process_tree
(pid)
minions/clients/utils.py:25
↓ 1 callers
Method
_terminate_process_tree
(pid)
secure/utils/clients/utils.py:25
↓ 1 callers
Method
_upload_to_s3
Upload content of content_type to specified s3 bucket. :param content: media body to be uploaded :param content_type: type o
minions/utils/multimodal_retrievers.py:195
↓ 1 callers
Method
_validate_endpoint_url
Validate that the supervisor URL uses HTTPS protocol for security
minions/clients/secure.py:124
↓ 1 callers
Method
_validate_reasoning_effort
Validate and warn about reasoning_effort compatibility with the model. Different GPT-5 model variants support different reas
minions/clients/openai.py:127
↓ 1 callers
Method
_validate_supervisor_url
Validate that the supervisor URL uses HTTPS protocol for security
secure/minions_secure.py:135
↓ 1 callers
Method
_validate_supervisor_url
Validate that the supervisor URL uses HTTPS protocol for security
secure/minions_chat.py:80
↓ 1 callers
Method
_validate_url_context_support
Validate if the current model supports URL context feature. Returns: bool: True if model supports URL context, F
minions/clients/gemini.py:283
↓ 1 callers
Method
achat
Wrapper for async chat. Runs `asyncio.run()` internally to simplify usage.
minions/clients/gemini.py:424
↓ 1 callers
Method
achat
Wrapper for async chat. Runs `asyncio.run()` internally to simplify usage. Args: messages: List of message dictionaries
minions/clients/mlx_clients.py:257
↓ 1 callers
Method
achat
Wrapper for async chat. Runs `asyncio.run()` internally to simplify usage.
minions/clients/ollama.py:186
↓ 1 callers
Method
achat
Parallel asynchronous chat for Lemonade. Accepts a list of message dicts or a single dict. This is only used for the Minions
minions/clients/lemonade.py:112
↓ 1 callers
Method
achat
Wrapper for async chat. Runs `asyncio.run()` internally to simplify usage.
secure/utils/clients/gemini.py:120
↓ 1 callers
Method
achat
Wrapper for async chat. Runs `asyncio.run()` internally to simplify usage.
secure/utils/clients/ollama.py:101
↓ 1 callers
Function
analyze_attestation_payload
Analyze and summarize the security properties from an attestation payload. Args: payload: The verified JWT payload from verify_a
secure/utils/crypto_utils.py:398
↓ 1 callers
Method
analyze_task_for_skills
Have GPT-4o analyze the task to determine required skills.
minions/utils/minion_evaluator.py:60
↓ 1 callers
Function
answer_question_with_ollama
Answer a question using Ollama client with concatenated documents as context using RAG. Args: user_query: The user's question
apps/minions-doc-search/local_rag_document_search.py:494
↓ 1 callers
Method
attachEventListeners
()
apps/minions-docker/web-minions/main.js:82
↓ 1 callers
Method
attachEventListeners
()
apps/minions-docker/web/main.js:50
↓ 1 callers
Method
attachPdfEventListeners
()
apps/minions-docker/web-minions/main.js:464
↓ 1 callers
Method
autoGenerateLoggingId
()
apps/minions-docker/web-minions/main.js:117
↓ 1 callers
Function
batch_mode
Run in batch mode with predefined queries.
tests/test_multi_turn.py:98
↓ 1 callers
Function
batch_mode
Run batch test of conversation summarization.
tests/test_summarization.py:100
↓ 1 callers
Method
batch_route
Route multiple queries in batch. Args: queries: List of queries to route available_clients: Same as in route
minions/utils/arch_router.py:262
↓ 1 callers
Function
bm25_retrieve_top_k_chunks
Retrieves top k chunks using BM25 with weighted keywords.
minions/utils/retrievers.py:1030
↓ 1 callers
Function
build_character_expose
Use GPT-4o to expand a character description into a full exposé. Args: description: Brief character description openai_a
apps/minions-character-chat/utils.py:52
↓ 1 callers
Function
cache_character_expose
Cache a character exposé to avoid regeneration.
apps/minions-character-chat/utils.py:217
↓ 1 callers
Function
callCloudSupervisor
(messages, apiKey)
apps/minions-webgpu/main.js:9
↓ 1 callers
Method
cancel_task
Cancel a task.
apps/minions-a2a/tests/integration/test_client_minions.py:140
↓ 1 callers
Method
cancel_task
Cancel a running task.
apps/minions-a2a/a2a_minions/server.py:524
↓ 1 callers
Method
chat
Handle chat completions, routing to async or sync implementation. The client will automatically detect URLs in the message c
minions/clients/gemini.py:982
↓ 1 callers
Method
chat
Handle chat completions using the Distributed Inference API. Args: messages: List of message dictionaries with 'role' an
minions/clients/distributed_inference.py:152
↓ 1 callers
Method
chat
Handle chat completions using the Cartesia MLX client. Args: messages: List of message dictionaries with 'role' and 'con
minions/clients/cartesia_mlx.py:80
↓ 1 callers
Method
chat
Handle chat completions using the Groq API via OpenAI compatibility. Args: messages: List of message dictionaries with '
minions/clients/groq.py:152
↓ 1 callers
Method
chat
Handle chat completions using the Transformers model. For Hunyuan models with enable_thinking=True, responses are automatica
minions/clients/transformers.py:942
↓ 1 callers
Method
chat
Handle chat completions using the Grok API. When files are attached (via file_ids or add_file()), the document_search tool i
minions/clients/grok.py:380
↓ 1 callers
Method
chat
Handle chat completions using the Ollama Turbo API. Args: messages: List of message dictionaries with 'role' and
minions/clients/ollama.py:631
↓ 1 callers
Method
chat
Handle chat completions using either native Cohere SDK or OpenAI compatibility API. Args: messages: List of message dict
minions/clients/cohere.py:87
↓ 1 callers
Method
chat
Handle chat completions using the Together API.
minions/clients/together.py:37
↓ 1 callers
Method
chat
Handle chat completions using the DeepSeek API. Args: messages: List of message dictionaries with 'role' and 'content' k
minions/clients/deepseek.py:44
↓ 1 callers
Method
chat
Handle chat completions using the secure endpoint. Args: messages: List of message dictionaries with 'role' and 'content
minions/clients/secure.py:293
↓ 1 callers
Method
chat
Process chat messages using SGLang.
secure/remote/remote_model.py:41
↓ 1 callers
Method
chat
Handle chat completions using the Groq API. Args: messages: List of message dictionaries with 'role' and 'content' keys
secure/utils/clients/groq.py:34
↓ 1 callers
Function
chat_example
Example of using the chat API.
tests/test_llama_cpp.py:24
↓ 1 callers
Function
chat_example
Example of using the chat API.
tests/test_mistral.py:26
↓ 1 callers
Function
chat_loop
Run an interactive chat loop with the protocol.
minions_cli.py:357
↓ 1 callers
Function
chat_with_character
Chat with the character using Ollama streaming. Args: message: User message character_expose: Character exposé dictionar
apps/minions-character-chat/utils.py:126
↓ 1 callers
Function
check_and_pull_ollama_model
Check if Ollama model exists and pull it if not.
minion_stdin_interface.py:64
↓ 1 callers
Function
check_dependencies
Check if required dependencies are available.
apps/minions-a2a/run_server.py:58
↓ 1 callers
Function
check_dependencies
Check if required dependencies are installed.
apps/minions-a2a/examples/webapp/run_webapp.py:391
↓ 1 callers
Function
check_environment
Check if required environment variables are set.
apps/minions-a2a/run_server.py:25
↓ 1 callers
Method
check_health
Check if all servers are healthy.
apps/minions-a2a/examples/webapp/run_webapp.py:231
↓ 1 callers
Method
check_local_server_health
If we are using a local client, we want to be able to check if the local server is running or not
minions/clients/openai.py:307
↓ 1 callers
Function
check_prerequisites
Check if all prerequisites are met for running the app.
apps/minions-tools/utils.py:56
↓ 1 callers
Method
check_server_health
Check if the Osaurus server is running and reachable. Returns: Dict: Server response (typically model list)
minions/clients/osaurus.py:111
↓ 1 callers
Function
chunk_by_section
( doc: str, max_chunk_size: int = 3000, overlap: int = 20 )
minions/minions.py:51
↓ 1 callers
Function
chunk_sentences
Helper to group sentences into chunks with overlap.
minions/utils/chunking.py:47
↓ 1 callers
Function
clean_story_text
Clean and format story text for better presentation. Args: story_text: Raw story text Returns: Cleaned and
apps/minions-story-teller/utils.py:196
↓ 1 callers
Function
cleanup_test_dirs
Clean up test directories.
tests/test_minion_wtools.py:396
↓ 1 callers
Method
clearLog
()
apps/minions-docker/web-minions/main.js:193
↓ 1 callers
Method
clearLog
()
apps/minions-docker/web/main.js:92
↓ 1 callers
Method
clear_pool
Clear the client pool (useful for testing or cleanup).
apps/minions-a2a/a2a_minions/client_factory.py:222
↓ 1 callers
Method
click_element
Click on a UI element in an application by description or coordinates.
minions/minion_cua.py:821
↓ 1 callers
Method
close
Close the client.
apps/minions-a2a/tests/integration/run_integration_tests.py:156
↓ 1 callers
Method
close
Close the test client.
apps/minions-a2a/tests/integration/test_client_minions.py:614
↓ 1 callers
Function
colbert_retrieve_top_k_chunks
Retrieves top k chunks using Liquid AI's ColBERT late-interaction retriever. This function uses PyLate's PLAID index for efficient simil
minions/utils/retrievers.py:1119
↓ 1 callers
Method
collectFormData
()
apps/minions-docker/web-minions/main.js:264
↓ 1 callers
Function
completion_example
Example of using the completion API.
tests/test_llama_cpp.py:59
↓ 1 callers
Function
convert_chat_history_to_csv
Convert chat history to CSV format for download.
apps/minions-character-chat/utils.py:362
↓ 1 callers
Method
create_backup
Create a backup of the current workspace state. Args: label: Optional label for the backup
minions/utils/workspace.py:123
↓ 1 callers
Function
create_character_template
Create a blank character template for editing. Returns: Dictionary with empty character template
apps/minions-character-chat/utils.py:322
↓ 1 callers
Method
create_documentation_file
Create a documentation file for a development step. Args: step_number: The step number content: The
minions/utils/workspace.py:319
↓ 1 callers
Function
create_protocol
Create a protocol instance based on configuration.
minion_stdin_interface.py:141
↓ 1 callers
Function
create_sample_tasks
Create a list of sample tasks for testing.
apps/minions-tools/utils.py:109
↓ 1 callers
Function
decode_gpu_eat
Verify & decode a NVIDIA GPU-EAT that may lack `kid`. Returns the claim set or raises jwt.InvalidSignatureError.
secure/utils/crypto_utils.py:106
↓ 1 callers
Function
decrypt_and_verify_parallel
Decrypt and verify a message using sequential processing. This function has the same API as decrypt_and_verify but processes large messages
secure/utils/crypto_utils.py:836
↓ 1 callers
Method
delete_collection
Delete the current collection from Qdrant. :returns Whether the collection was successfully deleted
minions/utils/multimodal_retrievers.py:451
↓ 1 callers
Method
describe
(self, n: int)
minions/utils/inference_estimator.py:295
↓ 1 callers
Method
detectBackendUrl
()
apps/minions-docker/web-minions/main.js:12
↓ 1 callers
Method
detectBackendUrl
()
apps/minions-docker/web/main.js:12
↓ 1 callers
Method
displayMetrics
(metrics)
apps/minions-docker/web-minions/main.js:393
↓ 1 callers
Method
displayMetrics
(metrics)
apps/minions-docker/web/main.js:216
↓ 1 callers
Function
display_metrics
Display metrics in a formatted way
apps/minions-tools/app.py:332
↓ 1 callers
Function
display_prerequisite_status
Display the status of prerequisites in the sidebar.
apps/minions-tools/utils.py:86
↓ 1 callers
Function
display_sample_tasks
Display sample tasks in the sidebar.
apps/minions-tools/utils.py:130
↓ 1 callers
Method
display_story
Display the generated story with pinwheel navigation
apps/minions-story-teller/app.py:779
↓ 1 callers
Method
embed
Generate embeddings for the given text content. Args: content: Text string or list of text strings to embed
minions/clients/transformers.py:1244
↓ 1 callers
Method
embed
Embed content using model (must support embeddings).
minions/clients/ollama.py:534
↓ 1 callers
Method
embed
Generate embeddings using Cohere's embedding API. Args: content: Text content to embed (single string or list of
minions/clients/cohere.py:203
← previous
next →
401–500 of 1,660, ranked by callers