MCPcopy Create free account

hub / github.com/vectorize-io/hindsight / functions

Functions18,621 in github.com/vectorize-io/hindsight

↓ 57 callersFunction_mock_hindsight_client
Create a mock Hindsight client with async methods.
hindsight-integrations/superagent/tests/test_middleware.py:20
↓ 57 callersFunction_mock_recall_response
Create a mock RecallResponse with results.
hindsight-integrations/agno/tests/test_tools.py:41
↓ 57 callersFunctioncreate_app
Create and configure the FastAPI application. Args: memory: MemoryEngine instance (already initialized with required parameters).
hindsight-api-slim/hindsight_api/api/http.py:3033
↓ 57 callersMethoddelete
Delete a bank.
hindsight-all/hindsight/api_namespaces.py:38
↓ 56 callersMethodSet
(val *BankTemplateConfig)
hindsight-clients/go/model_bank_template_config.go:1536
↓ 56 callersFunction_ensure_bank
Upsert a minimal bank row so FK on async_operations passes.
hindsight-api-slim/tests/test_worker.py:24
↓ 56 callersMethodecho
(data: dict)
hindsight-api-slim/tests/test_extensions.py:738
↓ 56 callersMethodrun
Main polling loop with fire-and-forget task execution. Continuously polls for pending tasks, spawns them as background tasks,
hindsight-api-slim/hindsight_api/worker/poller.py:893
↓ 53 callersMethoddelete
Delete file by storage key. Args: key: Storage key
hindsight-api-slim/hindsight_api/engine/storage/base.py:46
↓ 52 callersMethodget_document
Retrieve document metadata and statistics. Args: document_id: Document ID to retrieve bank_id: bank ID that
hindsight-api-slim/hindsight_api/engine/memory_engine.py:5545
↓ 52 callersFunctionreset_config
Reset global configuration to None.
hindsight-integrations/superagent/hindsight_superagent/config.py:126
↓ 49 callersFunction_mock_client
Create a mock Hindsight client with sync and async methods.
hindsight-integrations/llamaindex/tests/test_tools.py:15
↓ 49 callersMethodclose
(self)
hindsight-api-slim/tests/test_nous_provider.py:40
↓ 49 callersMethodexecute
(this: IExecuteFunctions)
hindsight-integrations/n8n/nodes/Hindsight/Hindsight.node.ts:214
↓ 48 callersFunction_bank_id
(prefix: str = "oracle")
hindsight-api-slim/tests/test_oracle_integration.py:32
↓ 47 callersFunction_mock_safety_client
Create a mock Superagent SafetyClient.
hindsight-integrations/superagent/tests/test_middleware.py:29
↓ 46 callersFunction_safe_cleanup
Delete a bank, suppressing deadlock/lock errors in test teardown. Oracle's row-level locking can cause ORA-00060 (deadlock) or ORA-00054 (res
hindsight-api-slim/tests/test_oracle_integration.py:36
↓ 45 callersMethodIsSet
()
hindsight-clients/go/model_create_bank_request.go:758
↓ 45 callersMethodfetchval
Execute a query and return a single value from the first row. Args: query: SQL query with dialect-appropriate placeholders.
hindsight-api-slim/hindsight_api/engine/db/base.py:155
↓ 44 callersFunctionlog
(msg: string)
hindsight-integrations/nemoclaw/src/setup.ts:14
↓ 44 callersMethodset_attribute
No-op.
hindsight-api-slim/hindsight_api/tracing.py:70
↓ 43 callersFunction_mock_client
Create a mock Hindsight client with async methods.
hindsight-integrations/openai-agents/tests/test_tools.py:16
↓ 43 callersFunctionextract_facts_from_text
Extract semantic facts from conversational or narrative text using LLM. For large texts (>3000 chars), automatically chunks at sentence boun
hindsight-api-slim/hindsight_api/engine/retain/fact_extraction.py:1739
↓ 43 callersMethodrecall_memory
Search long-term memory for relevant information. Use this to find previously stored facts, preferences, or context. Returns a number
hindsight-integrations/agno/hindsight_agno/tools.py:216
↓ 43 callersFunctionrun_consolidation_job
Run consolidation job for a bank. This is called after retain operations to consolidate new memories into mental models. Args:
hindsight-api-slim/hindsight_api/engine/consolidation/consolidator.py:722
↓ 42 callersFunctiontest
(z, bundle)
hindsight-integrations/zapier/authentication.js:14
↓ 41 callersMethodcreate_bank
Create or update a memory bank (sync wrapper — prefer :meth:`acreate_bank` in async code). Args: bank_id: Unique identifier for t
hindsight-clients/python/hindsight_client/hindsight_client.py:565
↓ 41 callersMethodformat
(self, record: logging.LogRecord)
hindsight-api-slim/hindsight_api/config.py:1163
↓ 41 callersFunctiongetDataplaneHeaders
(extra?: Record<string, string>)
hindsight-control-plane/src/lib/hindsight-client.ts:20
↓ 41 callersMethodrefresh_mental_model
Refresh a pinned mental model by re-running its source query. This method: 1. Gets the pinned mental model 2. Runs the source
hindsight-api-slim/hindsight_api/engine/memory_engine.py:10464
↓ 40 callersFunction_cfg
(**overrides)
hindsight-integrations/claude-code/tests/test_bank.py:12
↓ 40 callersFunction_mock_client
()
hindsight-integrations/composio/tests/test_tools.py:54
↓ 40 callersMethodload
Load LoComo dataset from JSON file.
hindsight-dev/benchmarks/locomo/locomo_benchmark.py:28
↓ 40 callersMethodreflect_async
Reflect and formulate an answer using an agentic loop with tools. The reflect agent iteratively uses read-only tools to: 1.
hindsight-api-slim/hindsight_api/engine/memory_engine.py:8861
↓ 40 callersFunctionrespondWithSdk
( result: SdkResult<T>, failureLabel: string, successStatusOrOptions: number | SdkErrorOptions = SUCCESS
hindsight-control-plane/src/lib/sdk-response.ts:84
↓ 39 callersFunctionbankApi
(bankId: string, suffix = "")
hindsight-control-plane/src/lib/bank-url.ts:22
↓ 38 callersFunction_mock_client
Create a mock Hindsight client with sync methods.
hindsight-integrations/ag2/tests/test_tools.py:17
↓ 38 callersFunctionget_config
Get the current global configuration. Returns: The current HindsightConfig instance, or None if not configured
hindsight-integrations/litellm/hindsight_litellm/config.py:611
↓ 38 callersMethodresolve_profile_paths
Resolve paths for a profile. Args: name: Profile name (empty string for default). Returns: ProfilePaths with
hindsight-embed/hindsight_embed/profile_manager.py:386
↓ 38 callersMethodwait_for_background_tasks
Wait for all pending background tasks to complete. This is useful in tests to ensure background tasks complete before making asserti
hindsight-api-slim/hindsight_api/engine/memory_engine.py:3139
↓ 37 callersFunction_mock_client
Create a mock Hindsight client with async methods.
hindsight-integrations/langgraph/tests/test_tools.py:15
↓ 37 callersFunction_mock_client
Create a mock Hindsight client.
hindsight-integrations/llamaindex/tests/test_memory.py:10
↓ 37 callersFunctionassert_meets_criteria
Assert that a response meets criteria, with a clear failure message. Raises AssertionError if the judge says criteria are not met.
hindsight-api-slim/tests/llm_judge.py:177
↓ 37 callersFunctioncleanup
Clean up all Hindsight resources. This disables the integration and closes any open connections. Call this when shutting down your applicatio
hindsight-integrations/litellm/hindsight_litellm/__init__.py:805
↓ 37 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools for AG2 agents. Returns a list of plain Python functions compatible with AG2's ``@register_for_llm`` / ``@regis
hindsight-integrations/ag2/hindsight_ag2/tools.py:22
↓ 37 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools for a LangGraph agent. Returns a list of LangChain tool instances compatible with LangGraph's ToolNode and Chat
hindsight-integrations/langgraph/hindsight_langgraph/tools.py:40
↓ 37 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools for an OpenAI Agents SDK agent. Returns a list of ``FunctionTool`` instances compatible with OpenAI Agents SDK'
hindsight-integrations/openai-agents/hindsight_openai_agents/tools.py:33
↓ 37 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools as Claude Agent SDK ``SdkMcpTool`` instances. Returns a list of tools that can be wrapped into an MCP server via
hindsight-integrations/claude-agent-sdk/hindsight_claude_agent_sdk/tools.py:30
↓ 37 callersMethodcreate_profile
Create or update a profile. Args: name: Profile name. port_or_config: Port number (int) or configuration dict. For ba
hindsight-embed/hindsight_embed/profile_manager.py:248
↓ 36 callersMethodGet
()
hindsight-clients/go/model_dry_run_extract_request.go:621
↓ 36 callersFunctiondataplaneBankUrl
(bankId: string, suffix = "")
hindsight-control-plane/src/lib/hindsight-client.ts:33
↓ 35 callersFunctioncreateHindsightTools
({ client, bankId, retain: retainOpts = {}, recall: recallOpts = {}, reflect: reflectOpts = {}, ge
hindsight-integrations/ai-sdk/src/tools/index.ts:265
↓ 35 callersFunctioncreate_hindsight_tools
Create Hindsight memory tools for an AutoGen agent. Returns a list of ``FunctionTool`` instances compatible with AutoGen's ``AssistantAgent(t
hindsight-integrations/autogen/hindsight_autogen/tools.py:30
↓ 35 callersMethodfrom_client
Create a HindsightMemory with a pre-configured client. Args: client: Hindsight client instance. bank_id: Memory bank
hindsight-integrations/llamaindex/hindsight_llamaindex/memory.py:158
↓ 35 callersFunctiongetPluginConfig
(api: MoltbotPluginAPI)
hindsight-integrations/openclaw/src/index.ts:1502
↓ 35 callersMethodretain_memory
Store information to long-term memory for later retrieval. Use this to save important facts, user preferences, decisions, or any info
hindsight-integrations/agno/hindsight_agno/tools.py:188
↓ 34 callersMethodRequest
JSON string with FileRetainRequest model
hindsight-clients/go/api_files.go:43
↓ 34 callersFunction_mock_client
Create a mock Hindsight client with async methods.
hindsight-integrations/claude-agent-sdk/tests/test_tools.py:16
↓ 34 callersMethodget_mental_model
Get a single pinned mental model by ID. Args: bank_id: Bank identifier mental_model_id: Pinned mental model UUID
hindsight-api-slim/hindsight_api/engine/memory_engine.py:10237
↓ 34 callersFunctionparseCliArgs
(argv: string[])
hindsight-integrations/openclaw/src/setup.ts:107
↓ 34 callersFunctionparse_entity_labels
Parse raw entity labels config into EntityLabelsConfig. Accepts: - None → returns None - list → list of attribute dicts (each may us
hindsight-api-slim/hindsight_api/engine/retain/entity_labels.py:51
↓ 33 callersFunctiondebug_log
Log to stderr if debug mode is enabled.
hindsight-integrations/claude-code/scripts/lib/config.py:169
↓ 33 callersFunctionmakeApi
(rawConfig: Record<string, unknown>)
hindsight-integrations/openclaw/src/index.test.ts:1544
↓ 33 callersMethodrun
Run the full benchmark evaluation. Args: dataset_path: Path to dataset file agent_id: Agent ID to use
hindsight-dev/benchmarks/common/benchmark_runner.py:964
↓ 32 callersMethodGet
()
hindsight-clients/go/model_recall_result.go:671
↓ 32 callersMethodGet
()
hindsight-clients/go/model_operation_status_response.go:634
↓ 32 callersMethodGet
()
hindsight-clients/go/model_webhook_delivery_response.go:591
↓ 32 callersFunction_mock_client
Create a mock Hindsight client with async methods.
hindsight-integrations/autogen/tests/test_tools.py:15
↓ 32 callersFunctionget_defaults
Get the current global defaults for per-call settings. Returns: The current HindsightCallSettings instance, or None if not configured
hindsight-integrations/litellm/hindsight_litellm/config.py:620
↓ 32 callersMethodstart
()
hindsight-integrations/openclaw/src/types.ts:158
↓ 32 callersMethodwait
Block until cancellation is signalled.
hindsight-api-slim/hindsight_api/cancellation.py:83
↓ 31 callersFunctionchunk_text
Split text into chunks, preserving conversation structure when possible. For JSON conversation arrays (user/assistant turns) and JSONL (newl
hindsight-api-slim/hindsight_api/engine/retain/fact_extraction.py:445
↓ 31 callersFunctionconfigure
Configure Hindsight + Superagent connection and default settings.
hindsight-integrations/superagent/hindsight_superagent/config.py:62
↓ 31 callersFunctionderive_bank_id
Derive a bank ID from hook context and config. Port of: deriveBankId() in index.js Resolution order: 1. directoryBankMap — explicit di
hindsight-integrations/claude-code/scripts/lib/bank.py:71
↓ 31 callersMethodget_or_load
Return cached stats for `(schema, bank_id)` or call `loader()`. Concurrent misses on the same key are coalesced onto a single in-flig
hindsight-api-slim/hindsight_api/engine/bank_stats_cache.py:73
↓ 31 callersFunctionmemory_instructions
Pre-recall memories for injection into Agent instructions. Performs a sync recall at construction time and returns a formatted string of memo
hindsight-integrations/agno/hindsight_agno/tools.py:284
↓ 30 callersMethodSet
(val *CreateBankRequest)
hindsight-clients/go/model_create_bank_request.go:753
↓ 30 callersFunctioncreate_memory_hooks
Create Claude Agent SDK hooks for automatic memory operations. Returns a dict suitable for ``ClaudeAgentOptions(hooks=...)``. Up to three ho
hindsight-integrations/claude-agent-sdk/hindsight_claude_agent_sdk/hooks.py:111
↓ 30 callersMethodencode
(self, texts: list[str])
hindsight-api-slim/tests/test_llm_reasoning_effort_env.py:20
↓ 30 callersMethodtransaction
Acquire a connection and start a transaction. The transaction is committed on clean exit, rolled back on exception. Yields:
hindsight-api-slim/hindsight_api/engine/db/base.py:323
↓ 29 callersFunction_call_tool
Call a Strands @tool decorated function directly, bypassing the decorator.
hindsight-integrations/strands/tests/test_tools.py:54
↓ 29 callersFunction_mock_client
Create a mock Hindsight client with async methods.
hindsight-integrations/claude-agent-sdk/tests/test_hooks.py:15
↓ 29 callersMethodaretain
Store a single memory (async — preferred over :meth:`retain`). Args: bank_id: The memory bank ID content: Me
hindsight-clients/python/hindsight_client/hindsight_client.py:832
↓ 29 callersMethodclaim_batch
Claim pending tasks atomically across all tenant schemas, respecting per-operation-type slot reservations and shared pool limits.
hindsight-api-slim/hindsight_api/worker/poller.py:339
↓ 29 callersMethodcreate_directive
Create a new directive. Args: bank_id: Bank identifier name: Human-readable name for the directive conten
hindsight-api-slim/hindsight_api/engine/memory_engine.py:11387
↓ 29 callersMethodinitialize
Initialize the connection pool, models, and background workers. Loads models (embeddings, cross-encoder) in parallel with pg0 startup
hindsight-api-slim/hindsight_api/engine/memory_engine.py:2628
↓ 29 callersFunctionmake_hook_input
( prompt="What is the capital of France?", session_id="sess-abc123", cwd="/home/user/myproject",
hindsight-integrations/claude-code/tests/conftest.py:49
↓ 29 callersMethodvalidate_bank_write
Validate a bank write operation before execution. Override to implement custom validation logic for bank writes (delete_bank
hindsight-api-slim/hindsight_api/extensions/operation_validator.py:865
↓ 28 callersMethodGet
()
hindsight-clients/go/model_operation_response.go:545
↓ 28 callersMethodGet
()
hindsight-clients/go/model_update_memory_request.go:418
↓ 28 callersMethodGet
()
hindsight-clients/go/model_mental_model_response.go:578
↓ 28 callersMethodUnset
()
hindsight-clients/go/model_bank_template_config.go:1545
↓ 28 callersFunction_make_jwt
Build a minimal JWT-shaped token with the given ``exp`` claim. Signature segment is a placeholder — we don't verify, we only decode the paylo
hindsight-api-slim/tests/test_codex_oauth_refresh.py:46
↓ 28 callersMethodarecall
Recall memories using semantic similarity (async — preferred over :meth:`recall`). Args: bank_id: The memory bank ID
hindsight-clients/python/hindsight_client/hindsight_client.py:880
↓ 28 callersFunctionconfigure
Configure Hindsight connection and default settings. Args: hindsight_api_url: Hindsight API URL (default: production). api_key: A
hindsight-integrations/agno/hindsight_agno/config.py:40
↓ 28 callersMethodhandler
(args: dict[str, Any])
hindsight-api-slim/hindsight_api/engine/providers/claude_code_llm.py:416
↓ 28 callersFunctionk
(e,i)
hindsight-embed/hindsight_embed/control_center/static/assets/index-CCShriQ0.js:1
↓ 28 callersMethodrecord_llm_call
Record stats for a single LLM call.
hindsight-api-slim/hindsight_api/engine/consolidation/consolidator.py:685
↓ 28 callersMethodrun
()
hindsight-integrations/litellm/tests/test_e2e.py:239
↓ 28 callersFunctionuseBank
()
hindsight-control-plane/src/lib/bank-context.tsx:80
← previousnext →101–200 of 18,621, ranked by callers