Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vectorize-io/hindsight
/ functions
Functions
18,621 in github.com/vectorize-io/hindsight
⨍
Functions
18,621
◇
Types & classes
2,579
↳
Endpoints
168
↓ 1,383 callers
Function
t
(o)
hindsight-embed/hindsight_embed/control_center/static/assets/index-CCShriQ0.js:1
↓ 1,317 callers
Method
get
Get a specific directive.
hindsight-all/hindsight/api_namespaces.py:142
↓ 1,046 callers
Method
get
Get chat history, enriched with recalled Hindsight memories. Recalls using ``input`` if supplied, otherwise the most recent user mess
hindsight-integrations/llamaindex/hindsight_llamaindex/memory.py:389
↓ 1,002 callers
Method
get
(self, key: str, default: Any = None)
hindsight-api-slim/hindsight_api/engine/db/result.py:20
↓ 818 callers
Function
it
(e,i,t,r,o,n,d,f,_)
hindsight-embed/hindsight_embed/control_center/static/assets/index-CCShriQ0.js:1
↓ 718 callers
Method
json
(self)
hindsight-embed/tests/test_control_center.py:188
↓ 659 callers
Method
execute
Execute a query and return a status string (e.g. 'INSERT 0 1'). Args: query: SQL query with dialect-appropriate placeholders.
hindsight-api-slim/hindsight_api/engine/db/base.py:102
↓ 655 callers
Method
get
(self, url, **kwargs)
hindsight-api-slim/tests/test_tei_cross_encoder.py:106
↓ 651 callers
Function
IsNil
IsNil checks if an input is nil
hindsight-clients/go/utils.go:334
↓ 585 callers
Method
info
(msg: string)
hindsight-all-npm/src/logger.ts:10
↓ 509 callers
Method
error
(msg: string)
hindsight-all-npm/src/logger.ts:12
↓ 441 callers
Method
delete_bank
Delete all data for a specific agent (multi-tenant cleanup). This is much more efficient than dropping all tables and allows
hindsight-api-slim/hindsight_api/engine/memory_engine.py:6023
↓ 432 callers
Method
execute
(self, sql, *args)
hindsight-api-slim/tests/test_backlog_metrics.py:40
↓ 375 callers
Method
acquire
(self)
hindsight-api-slim/tests/test_db_utils.py:43
↓ 308 callers
Method
post
(message: unknown)
hindsight-integrations/chat/src/types.ts:148
↓ 307 callers
Method
fetch
(request: Request, env: Env, ctx: ExecutionContext)
hindsight-integrations/cloudflare-oauth-proxy/src/router.ts:14
↓ 307 callers
Method
items
(self)
hindsight-api-slim/hindsight_api/engine/db/result.py:23
↓ 283 callers
Method
retain_async
Store content as memory units with temporal and semantic links (ASYNC version). This is a convenience wrapper around retain_batch_as
hindsight-api-slim/hindsight_api/engine/memory_engine.py:3205
↓ 270 callers
Method
get_bank_profile
( self, bank_id: str, *, request_context: "RequestContext", create_if_
hindsight-api-slim/hindsight_api/engine/memory_engine.py:8552
↓ 237 callers
Method
Error
Error returns non-empty string if there was an error.
hindsight-clients/go/client.go:659
↓ 225 callers
Method
call_api
Makes the HTTP request (synchronous) :param method: Method to call. :param url: Path to method endpoint. :param header_params:
hindsight-clients/python/hindsight_client_api/api_client.py:253
↓ 216 callers
Method
exists
Check if file exists. Args: key: Storage key Returns: True if file exists, False otherwise
hindsight-api-slim/hindsight_api/engine/storage/base.py:56
↓ 215 callers
Method
read
(file: SyncFile)
hindsight-integrations/obsidian/src/sync.ts:22
↓ 201 callers
Function
fq_table
Get fully-qualified table name with current schema. Delegates to :func:`engine.schema.fq_table` — kept here for backward compatibility (many
hindsight-api-slim/hindsight_api/engine/memory_engine.py:133
↓ 191 callers
Method
debug
(msg: string)
hindsight-all-npm/src/logger.ts:9
↓ 188 callers
Function
fq_table
Get fully-qualified table name using the current schema context. On Oracle the schema is set at the session level (``ALTER SESSION SET CURREN
hindsight-api-slim/hindsight_api/engine/schema.py:16
↓ 185 callers
Function
chinese_search
(pattern: str)
hindsight-api-slim/hindsight_api/engine/chinese_temporal_periods.py:142
↓ 178 callers
Function
make
(**overrides)
hindsight-api-slim/tests/test_retain.py:2836
↓ 168 callers
Method
keys
(self)
hindsight-api-slim/hindsight_api/engine/db/result.py:21
↓ 168 callers
Function
run_for_dialect
Dispatch to the function matching the current bind's dialect. Args: pg: Function to run when the active bind is PostgreSQL. oracl
hindsight-api-slim/hindsight_api/alembic/_dialect.py:23
↓ 167 callers
Function
_tools
Helper to get tools dict from MCP server (FastMCP 3.x compatible).
hindsight-api-slim/tests/test_mcp_tools.py:500
↓ 164 callers
Method
set
Set the chat history, retaining new messages to Hindsight.
hindsight-integrations/llamaindex/hindsight_llamaindex/memory.py:440
↓ 161 callers
Method
Execute
()
hindsight-clients/go/api_memory.go:1508
↓ 160 callers
Function
acquire_with_retry
Async context manager to acquire a database connection with retry logic. Retries the *acquire* itself when it raises a retryable error (conn
hindsight-api-slim/hindsight_api/engine/db_utils.py:100
↓ 155 callers
Method
Get
()
hindsight-clients/go/utils.go:86
↓ 155 callers
Function
parameterAddToHeaderOrQuery
parameterAddToHeaderOrQuery adds the provided object to the request header or url query supporting deep object syntax
hindsight-clients/go/client.go:184
↓ 152 callers
Method
from_env
Create configuration from environment variables.
hindsight-api-slim/hindsight_api/config.py:2272
↓ 150 callers
Method
response_deserialize
Deserializes response into an object. :param response_data: RESTResponse object to be deserialized. :param response_types_map: dict of
hindsight-clients/python/hindsight_client_api/api_client.py:288
↓ 148 callers
Method
decode
(v interface{}, b []byte, contentType string)
hindsight-clients/go/client.go:464
↓ 146 callers
Method
_get_pool
Get the connection pool (must call initialize() first).
hindsight-api-slim/hindsight_api/engine/memory_engine.py:3031
↓ 146 callers
Method
recall_async
Recall memories using N*4-way parallel retrieval (N fact types × 4 retrieval methods). This implements the core RECALL operation:
hindsight-api-slim/hindsight_api/engine/memory_engine.py:4007
↓ 145 callers
Method
add
(elements: any)
hindsight-control-plane/types/cytoscape-fcose.d.ts:56
↓ 143 callers
Function
_mock_client
Create a mock Hindsight client.
hindsight-integrations/agno/tests/test_tools.py:23
↓ 142 callers
Function
localizeApiErrorPayload
( request: RequestLike | undefined, payload: TPayload )
hindsight-control-plane/src/lib/i18n/api-errors.ts:195
↓ 134 callers
Function
clear_config_cache
Clear the config cache. Useful for testing or reloading config.
hindsight-api-slim/hindsight_api/config.py:3153
↓ 123 callers
Method
log
Add a log line.
hindsight-api-slim/hindsight_api/engine/consolidation/consolidator.py:672
↓ 118 callers
Method
retain_batch_async
Store multiple content items as memory units in ONE batch operation. This is MUCH more efficient than calling retain_async multiple
hindsight-api-slim/hindsight_api/engine/memory_engine.py:3252
↓ 114 callers
Function
constraint
(start: datetime, end: datetime)
hindsight-api-slim/hindsight_api/engine/chinese_temporal_periods.py:106
↓ 112 callers
Method
Get
()
hindsight-clients/go/model_bank_template_config.go:1532
↓ 105 callers
Method
_get_backend
Get the database backend, auto-initializing if needed.
hindsight-api-slim/hindsight_api/engine/memory_engine.py:3046
↓ 104 callers
Method
recall
Search memories.
hindsight-integrations/chat/src/types.ts:241
↓ 103 callers
Function
c
(e,i,t,r,o,n)
hindsight-embed/hindsight_embed/control_center/static/assets/index-CCShriQ0.js:1
↓ 103 callers
Method
retain
Store content in memory.
hindsight-integrations/chat/src/types.ts:230
↓ 102 callers
Method
fetchrow
(self, query, bank_id)
hindsight-api-slim/tests/test_hierarchical_config.py:65
↓ 102 callers
Method
put
Store a message in local buffer and retain to Hindsight.
hindsight-integrations/llamaindex/hindsight_llamaindex/memory.py:425
↓ 98 callers
Method
call
(self, **kwargs)
hindsight-api-slim/tests/test_multi_llm_provider.py:36
↓ 96 callers
Function
debug
(...args: unknown[])
hindsight-integrations/openclaw/src/index.ts:66
↓ 96 callers
Function
get_config
Get global configuration with ONLY static (non-configurable) fields accessible. This returns a proxy that prevents access to bank-configurab
hindsight-api-slim/hindsight_api/config.py:3118
↓ 96 callers
Function
parameterValueToString
( obj interface{}, key string )
hindsight-clients/go/client.go:167
↓ 96 callers
Method
update
Update a directive.
hindsight-all/hindsight/api_namespaces.py:147
↓ 95 callers
Function
_make_mcp_server
Helper to create an MCP server with specific tools.
hindsight-api-slim/tests/test_mcp_tools.py:979
↓ 94 callers
Function
configure
Configure Hindsight integration settings. Sets up connection settings and default values for per-call settings. All per-call settings can be
hindsight-integrations/litellm/hindsight_litellm/config.py:228
↓ 93 callers
Function
_get_raw_config
Get raw config (internal use only). INTERNAL USE ONLY. Do not use this directly in application code. Use get_config() for static fields
hindsight-api-slim/hindsight_api/config.py:3140
↓ 93 callers
Method
values
(self)
hindsight-api-slim/hindsight_api/engine/db/result.py:22
↓ 92 callers
Method
decode
(self, tokens: list[int])
hindsight-api-slim/hindsight_api/engine/token_encoding.py:30
↓ 84 callers
Method
IsSet
()
hindsight-clients/go/model_bank_template_config.go:1541
↓ 83 callers
Function
_mock_run_context
Create a mock Agno RunContext.
hindsight-integrations/agno/tests/test_tools.py:33
↓ 82 callers
Method
fetchrow
Execute a query and return a single row (or None). Args: query: SQL query with dialect-appropriate placeholders. *arg
hindsight-api-slim/hindsight_api/engine/db/base.py:141
↓ 81 callers
Method
fetchval
(self, query, *args)
hindsight-api-slim/tests/test_hierarchical_config.py:68
↓ 78 callers
Function
set_defaults
Update default values for per-call settings. Updates only the specified fields, preserving other defaults. Any of these can be overridden on
hindsight-integrations/litellm/hindsight_litellm/config.py:389
↓ 77 callers
Method
_authenticate_tenant
Authenticate tenant and set schema in context variable. The schema is stored in a contextvar for async-safe, per-task isolation.
hindsight-api-slim/hindsight_api/engine/memory_engine.py:1369
↓ 77 callers
Function
cn
(...inputs: ClassValue[])
hindsight-control-plane/src/lib/utils.ts:4
↓ 77 callers
Method
create_mental_model
Create a new pinned mental model. Args: bank_id: Bank identifier name: Human-readable name for the mental model
hindsight-api-slim/hindsight_api/engine/memory_engine.py:10361
↓ 76 callers
Function
fetch
(sql, *a)
hindsight-api-slim/tests/test_backlog_metrics.py:161
↓ 76 callers
Method
search
Search memories in Hindsight via recall. Called by CrewAI automatically at the start of each task. Args: query: The sear
hindsight-integrations/crewai/hindsight_crewai/storage.py:207
↓ 75 callers
Method
ServerURLWithContext
ServerURLWithContext returns a new server URL given an endpoint
hindsight-clients/go/configuration.go:194
↓ 75 callers
Method
callAPI
callAPI do the request.
hindsight-clients/go/client.go:283
↓ 75 callers
Method
param_serialize
Builds the HTTP request params needed by the request. :param method: Method to call. :param resource_path: Path to method endpoint.
hindsight-clients/python/hindsight_client_api/api_client.py:144
↓ 75 callers
Method
prepareRequest
prepareRequest build the request
hindsight-clients/go/client.go:320
↓ 75 callers
Function
selectHeaderAccept
selectHeaderAccept join all accept types and return
hindsight-clients/go/client.go:131
↓ 75 callers
Function
selectHeaderContentType
selectHeaderContentType select a content type from the available list.
hindsight-clients/go/client.go:120
↓ 75 callers
Method
select_header_accept
Returns `Accept` based on an array of accepts provided. :param accepts: List of headers. :return: Accept (e.g. application/json).
hindsight-clients/python/hindsight_client_api/api_client.py:576
↓ 73 callers
Function
_mock_client
Create a mock Hindsight client with async methods.
hindsight-integrations/haystack/tests/test_tools.py:16
↓ 73 callers
Method
reflect
Reflect on memories to form insights.
hindsight-integrations/chat/src/types.ts:251
↓ 71 callers
Method
encode
Generate embeddings for a list of texts. Args: texts: List of text strings to encode Returns: List
hindsight-api-slim/hindsight_api/engine/embeddings.py:110
↓ 71 callers
Function
formatErrorMessage
format error message using title and detail when model implements rfc7807
hindsight-clients/go/client.go:674
↓ 69 callers
Method
accept
Create an accepted validation result (no enrichment).
hindsight-api-slim/hindsight_api/extensions/operation_validator.py:49
↓ 67 callers
Method
fetchApi
(path: string, options?: RequestInit)
hindsight-control-plane/src/lib/api.ts:216
↓ 66 callers
Function
next
()
hindsight-integrations/openclaw/src/setup.ts:112
↓ 64 callers
Method
Get
()
hindsight-clients/go/model_llm_request_entry.go:765
↓ 63 callers
Method
_validate_operation
Run validation if an operation validator is configured. Args: validation_coro: Coroutine that returns a ValidationResult
hindsight-api-slim/hindsight_api/engine/memory_engine.py:1346
↓ 63 callers
Function
makeConfig
(overrides: Partial<HindsightConfig> = {})
hindsight-integrations/opencode/src/test-helpers.ts:3
↓ 63 callers
Method
reset
Clear all memories by deleting and recreating the bank. This removes all facts, entities, and mental models from the bank. The bank i
hindsight-integrations/crewai/hindsight_crewai/storage.py:290
↓ 62 callers
Function
_get_request_context
Create RequestContext with auth details from resolvers. This enables tenant auth and usage metering to work with MCP tools by propagating the
hindsight-api-slim/hindsight_api/mcp_tools.py:106
↓ 61 callers
Function
_mock_client
Create a mock Hindsight client.
hindsight-integrations/strands/tests/test_tools.py:23
↓ 61 callers
Method
warn
(msg: string)
hindsight-all-npm/src/logger.ts:11
↓ 60 callers
Method
Get
()
hindsight-clients/go/model_create_bank_request.go:749
↓ 59 callers
Function
_mock_client
Create a mock Hindsight client.
hindsight-integrations/smolagents/tests/test_tools.py:26
↓ 59 callers
Function
create_hindsight_tools
Create Hindsight memory tools for a Haystack agent. Convenience factory that creates a backend and returns Haystack ``Tool`` instances ready
hindsight-integrations/haystack/hindsight_haystack/tools.py:518
↓ 58 callers
Method
update_bank_config
Update bank configuration overrides (with permission checking). Args: bank_id: Bank identifier updates: Dict
hindsight-api-slim/hindsight_api/config_resolver.py:334
next →
1–100 of 18,621, ranked by callers