Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/24kchengYe/MemoMind
/ functions
Functions
1,372 in github.com/24kchengYe/MemoMind
⨍
Functions
1,372
◇
Types & classes
350
↳
Endpoints
62
Method
_run_server
Run the server in a background thread.
patches/hindsight_server.py:103
Method
_run_server
Run the server in a background thread.
engine/hindsight/server.py:103
Method
_schema
Resolve schema dynamically per-request when schema_getter is provided.
engine/hindsight_api/engine/storage/postgresql.py:62
Function
_signal_handler
Handle SIGINT/SIGTERM to ensure cleanup.
engine/hindsight_api/main.py:59
Function
_tolerant_run
(arguments, _allowed=allowed, _orig=original_run)
engine/hindsight_api/api/mcp.py:198
Method
_verify_claude_code_available
Verify that Claude Agent SDK can be imported and is properly configured. Raises: ImportError: If Claude Agent SDK is not
engine/hindsight_api/engine/llm_wrapper.py:623
Function
acquire
()
engine/hindsight_api/engine/db_utils.py:97
Method
acquire
Acquire a connection within the operation's budget. Blocks if the operation has reached its connection limit. Args:
engine/hindsight_api/engine/db_budget.py:125
Method
acquire_many
Acquire multiple connections within the budget. Note: This acquires connections sequentially to respect the budget. For para
engine/hindsight_api/engine/db_budget.py:162
Function
addBottomBar
(slide, text)
build-ppt.js:118
Method
add_neighbor_link
Record a link to a neighbor (whether followed or not). Args: from_node_id: Source node to_node_id: Target no
engine/hindsight_api/engine/search/tracer.py:214
Method
analyze
Analyze query using dateparser. Extracts temporal expressions from the query text. Supports multiple languages automatically
engine/hindsight_api/engine/query_analyzer.py:107
Method
analyze
Analyze query for temporal expressions. Uses rule-based extraction for common patterns (fast & reliable), falls back to T5 m
engine/hindsight_api/engine/query_analyzer.py:417
Function
api_add_bank_background
Deprecated: Add or merge bank background. Now updates mission field.
engine/hindsight_api/api/http.py:3701
Function
api_cancel_operation
Cancel a pending async operation.
engine/hindsight_api/api/http.py:3550
Function
api_clear_bank_memories
Clear memories for a memory bank, optionally filtered by type.
engine/hindsight_api/api/http.py:4718
Function
api_clear_memory_observations
Clear all observations derived from a specific memory.
engine/hindsight_api/api/http.py:3901
Function
api_clear_observations
Clear all observations for a bank.
engine/hindsight_api/api/http.py:3871
Function
api_create_directive
Create a directive.
engine/hindsight_api/api/http.py:3095
Function
api_create_mental_model
Create a mental model (async - returns operation_id).
engine/hindsight_api/api/http.py:2861
Function
api_create_or_update_bank
Create or update an agent with disposition and mission.
engine/hindsight_api/api/http.py:3730
Function
api_create_webhook
Register a webhook for a bank.
engine/hindsight_api/api/http.py:4109
Function
api_delete_bank
Delete an entire memory bank and all its data.
engine/hindsight_api/api/http.py:3841
Function
api_delete_directive
Delete a directive.
engine/hindsight_api/api/http.py:3172
Function
api_delete_document
Delete a document and all its associated memory units and links. Args: bank_id: Memory Bank ID (from path) d
engine/hindsight_api/api/http.py:3434
Function
api_delete_mental_model
Delete a mental model.
engine/hindsight_api/api/http.py:2983
Function
api_delete_webhook
Delete a webhook.
engine/hindsight_api/api/http.py:4225
Function
api_file_retain
Upload and convert files to memories.
engine/hindsight_api/api/http.py:4570
Function
api_get_bank_config
Get configuration for a bank with all hierarchical overrides applied.
engine/hindsight_api/api/http.py:3936
Function
api_get_bank_profile
Get memory bank profile (disposition + mission).
engine/hindsight_api/api/http.py:3618
Function
api_get_chunk
Get a specific chunk with its text. Args: chunk_id: Chunk ID (from path, format: bank_id_document_id_chunk_index)
engine/hindsight_api/api/http.py:3349
Function
api_get_directive
Get a directive by ID.
engine/hindsight_api/api/http.py:3061
Function
api_get_document
Get a specific document with its original text. Args: bank_id: Memory Bank ID (from path) document_id: Docum
engine/hindsight_api/api/http.py:3260
Function
api_get_entity
Get entity details with observations.
engine/hindsight_api/api/http.py:2685
Function
api_get_memory
Get a single memory unit by ID.
engine/hindsight_api/api/http.py:2206
Function
api_get_mental_model
Get a mental model by ID.
engine/hindsight_api/api/http.py:2789
Function
api_get_mental_model_history
Get the refresh history of a mental model.
engine/hindsight_api/api/http.py:2823
Function
api_get_observation_history
Get the history of a single observation by ID.
engine/hindsight_api/api/http.py:2239
Function
api_get_operation_status
Get the status of an async operation.
engine/hindsight_api/api/http.py:3518
Function
api_graph
Get graph data from database, filtered by bank_id and optionally by type.
engine/hindsight_api/api/http.py:2123
Function
api_list
List memory units for table view with optional full-text search. Results are ordered by most recent first, using mentioned_at timest
engine/hindsight_api/api/http.py:2157
Function
api_list_banks
Get list of all banks with their profiles.
engine/hindsight_api/api/http.py:2576
Function
api_list_directives
List directives for a bank.
engine/hindsight_api/api/http.py:3021
Function
api_list_documents
List documents for a memory bank with optional search. Args: bank_id: Memory Bank ID (from path) q: Case-ins
engine/hindsight_api/api/http.py:3206
Function
api_list_entities
List entities for a memory bank with pagination.
engine/hindsight_api/api/http.py:2649
Function
api_list_mental_models
List mental models for a bank.
engine/hindsight_api/api/http.py:2751
Function
api_list_operations
List async operations for a memory bank with optional filtering and pagination.
engine/hindsight_api/api/http.py:3475
Function
api_list_tags
List all unique tags in a memory bank. Use this endpoint to discover available tags or expand wildcard patterns. Supports '*
engine/hindsight_api/api/http.py:3295
Function
api_list_webhook_deliveries
List deliveries for a specific webhook, newest first. Use next_cursor for pagination.
engine/hindsight_api/api/http.py:4338
Function
api_list_webhooks
List webhooks for a bank.
engine/hindsight_api/api/http.py:4171
Function
api_post
(path, body)
backup-memomind.py:37
Function
api_recall
Run a recall and return results with trace.
engine/hindsight_api/api/http.py:2276
Function
api_reflect
( bank_id: str, request: ReflectRequest, request_context: RequestContext = Depends(get_request_context
engine/hindsight_api/api/http.py:2462
Function
api_refresh_mental_model
Refresh a mental model by re-running its source query (async).
engine/hindsight_api/api/http.py:2908
Function
api_regenerate_entity_observations
Regenerate observations for an entity. DEPRECATED.
engine/hindsight_api/api/http.py:2727
Function
api_reset_bank_config
Reset bank configuration to defaults (remove all overrides).
engine/hindsight_api/api/http.py:4032
Function
api_retain
Retain memories with optional async processing.
engine/hindsight_api/api/http.py:4437
Function
api_retry_operation
Retry a failed async operation.
engine/hindsight_api/api/http.py:3584
Function
api_stats
Get statistics about memory nodes and links for a memory bank.
engine/hindsight_api/api/http.py:2598
Function
api_trigger_consolidation
Trigger consolidation for a bank (async).
engine/hindsight_api/api/http.py:4077
Function
api_update_bank
Partially update an agent's profile (name, mission, disposition).
engine/hindsight_api/api/http.py:3785
Function
api_update_bank_config
Update configuration overrides for a bank.
engine/hindsight_api/api/http.py:3981
Function
api_update_bank_disposition
Update bank disposition traits.
engine/hindsight_api/api/http.py:3656
Function
api_update_directive
Update a directive.
engine/hindsight_api/api/http.py:3133
Function
api_update_document
Update mutable fields on a document without re-processing its content. Args: bank_id: Memory Bank ID (from path)
engine/hindsight_api/api/http.py:3384
Function
api_update_mental_model
Update a mental model.
engine/hindsight_api/api/http.py:2944
Function
api_update_webhook
Update a webhook's fields (PATCH semantics — only sent fields are updated).
engine/hindsight_api/api/http.py:4261
Function
augment_texts_with_dates
Augment fact texts with readable dates for better temporal matching. This allows queries like "camping in June" to match facts that happened
engine/hindsight_api/engine/retain/embedding_processing.py:15
Method
authenticate
Return configured schema without any authentication.
engine/hindsight_api/extensions/builtin/tenant.py:35
Method
authenticate
Validate a Supabase JWT and return tenant context. Uses local JWKS verification when available (no network call per request)
engine/hindsight_api/extensions/builtin/supabase_tenant.py:273
Method
authenticate_mcp
Authenticate MCP requests. If mcp_auth_disabled is set, skip authentication for backwards compatibility. Otherwise, delegate
engine/hindsight_api/extensions/builtin/tenant.py:81
Function
authentication_error_handler
(request, exc: AuthenticationError)
engine/hindsight_api/api/http.py:2041
Function
backup
Backup the Hindsight database to a zip file.
engine/hindsight_api/admin/cli.py:161
Method
banks
Access bank management operations. Each method call ensures the daemon is running before executing. Example: ``
engine/hindsight/embedded.py:236
Method
banks
Access bank management operations.
engine/hindsight/client_wrapper.py:218
Method
budget
Get the budget for this operation.
engine/hindsight_api/engine/db_budget.py:120
Function
build_agent_prompt
Build the user prompt for the reflect agent.
engine/hindsight_api/engine/reflect/prompts.py:330
Method
build_fact_text
Combine all dimensions into a single comprehensive fact string.
patches/fact_extraction.py:176
Method
build_fact_text
Combine all dimensions into a single comprehensive fact string.
engine/hindsight_api/engine/retain/fact_extraction.py:176
Method
call
(self, messages: list[dict[str, Any]], **kwargs: Any)
engine/hindsight_api/engine/llm_wrapper.py:755
Method
call
Make an LLM API call with retry logic. Args: messages: List of message dicts with 'role' and 'content'. resp
engine/hindsight_api/engine/llm_interface.py:59
Method
call_with_tools
( self, messages: list[dict[str, Any]], tools: list[dict[str, Any]], **kwargs:
engine/hindsight_api/engine/llm_wrapper.py:764
Method
call_with_tools
Make an LLM API call with tool/function calling support. Args: messages: List of message dicts. Can include tool results
engine/hindsight_api/engine/llm_interface.py:100
Method
call_with_tools
Make an LLM API call with tool/function calling support. Args: messages: List of message dicts. Can include tool results
engine/hindsight_api/engine/providers/anthropic_llm.py:302
Method
call_with_tools
Make an LLM API call with tool/function calling support. Args: messages: List of message dicts. Can include tool results
engine/hindsight_api/engine/providers/openai_compatible_llm.py:501
Method
call_with_tools
Make a Gemini/VertexAI API call with tool/function calling support. Args: messages: List of message dicts. Can include t
engine/hindsight_api/engine/providers/gemini_llm.py:382
Method
call_with_tools
Make an LLM API call with tool/function calling support using Claude Agent SDK. This implementation uses ClaudeSDKClient (not query(
engine/hindsight_api/engine/providers/claude_code_llm.py:301
Method
call_with_tools
Make API call with tool calling support. Parses Codex SSE stream to extract tool calls from response.output_item.done events.
engine/hindsight_api/engine/providers/codex_llm.py:398
Function
cancel_operation
Cancel a pending or running async operation. Args: operation_id: The ID of the operation to cancel
engine/hindsight_api/mcp_tools.py:2282
Method
cancel_operation
Cancel a pending async operation. Args: bank_id: The memory bank ID. operation_id: The operation ID to cance
engine/hindsight_api/engine/interface.py:518
Function
chained_lifespan
Chain both MCP lifespans with the main app lifespan.
engine/hindsight_api/api/__init__.py:80
Function
check_daemon_running
Check if a daemon is running and responsive on the given port.
engine/hindsight_api/daemon.py:102
Function
check_migration_status
Check current database schema version and latest available version. Args: database_url: SQLAlchemy database URL. If None, uses HINDS
engine/hindsight_api/migrations.py:415
Function
cleanup
Synchronous cleanup for atexit.
engine/hindsight_api/worker/main.py:304
Method
cleanup
Clean up resources.
engine/hindsight_api/engine/llm_wrapper.py:667
Method
cleanup
Clean up resources (close connections, etc.).
engine/hindsight_api/engine/llm_interface.py:193
Method
cleanup
Clean up resources (no-op for mock provider).
engine/hindsight_api/engine/providers/mock_llm.py:269
Method
cleanup
Clean up resources (close Anthropic client connections).
engine/hindsight_api/engine/providers/anthropic_llm.py:474
Method
cleanup
Clean up resources (close OpenAI client connections).
engine/hindsight_api/engine/providers/openai_compatible_llm.py:944
Method
cleanup
Clean up resources (close connections, etc.).
engine/hindsight_api/engine/providers/gemini_llm.py:632
← previous
next →
801–900 of 1,372, ranked by callers