MCPcopy Create free account

hub / github.com/Harshitk-cp/engram / functions

Functions2,051 in github.com/Harshitk-cp/engram

↓ 1 callersMethodIncrementAccessAndBoost
(ctx context.Context, id uuid.UUID, boost float32)
internal/domain/stores.go:134
↓ 1 callersMethodIncrementContradiction
(ctx context.Context, id uuid.UUID)
internal/domain/stores.go:339
↓ 1 callersMethodIncrementMemories
IncrementMemories atomically adds to the current month's memory write count.
internal/domain/billing.go:94
↓ 1 callersMethodIncrementRecalls
IncrementRecalls atomically adds to the current month's recall count.
internal/domain/billing.go:96
↓ 1 callersMethodIngestConversation
(ctx context.Context, messages []Message)
internal/domain/stores.go:226
↓ 1 callersFunctionIsInternal
IsInternal reports whether ctx was tagged by WithInternal.
internal/api/middleware/internal.go:19
↓ 1 callersFunctionIsLoopbackAddr
IsLoopbackAddr reports whether a listen address binds only the loopback interface.
mcp/transports/guard.go:45
↓ 1 callersMethodIsNotification
()
mcp/jsonrpc.go:23
↓ 1 callersMethodIsStale
()
internal/domain/memory.go:128
↓ 1 callersMethodKeyID
KeyID returns the public Razorpay key id, safe to hand to the browser to open the Checkout modal.
internal/billing/razorpay.go:72
↓ 1 callersFunctionLLMAPIKey
LLMAPIKey returns the API key for the configured LLM provider.
internal/config/config.go:103
↓ 1 callersMethodListAgents
ListAgents returns the agents for the authenticated tenant.
mcp/client.go:181
↓ 1 callersMethodListAnchors
(ctx context.Context, tenantID uuid.UUID, entityType domain.EntityType, limit int)
internal/store/entity.go:86
↓ 1 callersMethodListByAgent
(ctx context.Context, agentID, tenantID uuid.UUID, limit int)
internal/domain/stores.go:194
↓ 1 callersMethodListByAgentFiltered
(ctx context.Context, agentID, tenantID uuid.UUID, f MemoryFilter, limit, offset int)
internal/domain/stores.go:123
↓ 1 callersMethodListCanon
(ctx context.Context, tenantID uuid.UUID, limit int)
internal/store/memory.go:376
↓ 1 callersMethodListExpired
(ctx context.Context, limit int)
internal/domain/session.go:38
↓ 1 callersMethodListOldestByAgentAndType
(ctx context.Context, agentID uuid.UUID, memType MemoryType, limit int)
internal/domain/stores.go:104
↓ 1 callersMethodListQuarantined
Provenance Firewall
internal/domain/stores.go:131
↓ 1 callersFunctionLoad
Load reads the .env file specified by ENGRAM_ENV (or .env by default), then loads the corresponding .secret file if it exists. All config is flat env
internal/config/config.go:37
↓ 1 callersMethodMarkExpired
(ctx context.Context, id uuid.UUID)
internal/domain/session.go:39
↓ 1 callersFunctionNewAPIKeyStore
(db *pgxpool.Pool)
internal/store/api_key.go:17
↓ 1 callersFunctionNewAdminHandler
(svc *service.AdminService)
internal/api/handlers/admin.go:20
↓ 1 callersFunctionNewAdminService
(ms domain.MemoryStore, ec domain.EmbeddingClient, uow *store.UnitOfWork, logger *zap.Logger)
internal/service/admin.go:30
↓ 1 callersFunctionNewAgentHandler
(svc *service.AgentService)
internal/api/handlers/agent.go:20
↓ 1 callersFunctionNewAgentStore
(db *pgxpool.Pool)
internal/store/agent.go:18
↓ 1 callersFunctionNewAnchorHandler
(anchors *store.EntityStore, memories *store.MemoryStore)
internal/api/handlers/anchor.go:22
↓ 1 callersFunctionNewAnthropicClient
(apiKey string)
internal/llm/anthropic.go:28
↓ 1 callersFunctionNewAuditHandler
(s *store.MutationLogStore, signingKey string)
internal/api/handlers/audit.go:24
↓ 1 callersFunctionNewAuthHandler
(svc *service.AuthService, sessionTTL time.Duration)
internal/api/handlers/auth.go:21
↓ 1 callersFunctionNewAuthService
(users domain.UserStore, oauth domain.OAuthAccountStore, memberships domain.MembershipStore, sessions domain.C
internal/service/auth.go:39
↓ 1 callersFunctionNewBillingHandler
(store domain.BillingStore, rzp *billing.Client, baseURL string, logger *zap.Logger)
internal/api/handlers/billing.go:25
↓ 1 callersFunctionNewBillingStore
(db *pgxpool.Pool)
internal/store/billing.go:27
↓ 1 callersFunctionNewCalibrationService
(mutations domain.MutationLogStore, logger *zap.Logger)
internal/service/calibration.go:17
↓ 1 callersFunctionNewCanonHandler
(svc *service.MemoryService, memories *store.MemoryStore)
internal/api/handlers/canon.go:23
↓ 1 callersFunctionNewCerebrasClient
(apiKey string)
internal/llm/cerebras.go:31
↓ 1 callersFunctionNewClient
NewClient creates an LLM client based on the provider name. Returns an error if the provider is unknown or the API key is empty (except for mock).
internal/llm/provider.go:43
↓ 1 callersFunctionNewClient
NewClient creates an embedding client from cfg. OpenAI is routed through the OpenAI-compatible client (its API is the reference format), so EMBEDDING_
internal/embedding/provider.go:31
↓ 1 callersFunctionNewClientWithHTTP
NewClientWithHTTP is like NewClient but uses the supplied *http.Client. The embedded MCP endpoint passes a client backed by an in-process transport so
mcp/client.go:38
↓ 1 callersFunctionNewCognitiveHandler
(ds *service.DecayService, cs *service.ConsolidationService, as domain.AgentStore)
internal/api/handlers/cognitive.go:21
↓ 1 callersFunctionNewConsoleHandler
(svc *service.ConsoleService)
internal/api/handlers/console.go:19
↓ 1 callersFunctionNewConsoleService
(ms domain.MemoryStore, cs domain.ContradictionStore, lss domain.LearningStatsStore, logger *zap.Logger)
internal/service/console.go:22
↓ 1 callersFunctionNewConsoleSessionStore
(db *pgxpool.Pool)
internal/store/auth.go:139
↓ 1 callersFunctionNewContradictionStore
(db *pgxpool.Pool)
internal/store/contradiction.go:18
↓ 1 callersFunctionNewConversationHandler
(svc *service.ConversationService, anchors *store.EntityStore, sessions *store.SessionStore)
internal/api/handlers/conversation.go:23
↓ 1 callersFunctionNewConversationService
(memorySvc *MemoryService, llm domain.LLMClient, logger *zap.Logger)
internal/service/conversation.go:27
↓ 1 callersFunctionNewEmbeddingHandler
()
internal/api/handlers/embedding.go:14
↓ 1 callersFunctionNewEntityStore
(db *pgxpool.Pool)
internal/store/entity.go:18
↓ 1 callersFunctionNewEpisodeHandler
(svc *service.EpisodeService)
internal/api/handlers/episode.go:21
↓ 1 callersFunctionNewEpisodeMemoryUsageStore
(db *pgxpool.Pool)
internal/store/learning.go:239
↓ 1 callersFunctionNewEpisodeStore
(db *pgxpool.Pool)
internal/store/episode.go:21
↓ 1 callersFunctionNewExpirerService
(ms domain.MemoryStore, ps domain.PolicyStore, fs domain.FeedbackStore, logger *zap.Logger)
internal/service/expirer.go:32
↓ 1 callersFunctionNewFeedbackHandler
(svc *service.FeedbackService)
internal/api/handlers/feedback.go:18
↓ 1 callersFunctionNewFeedbackStore
(db *pgxpool.Pool)
internal/store/feedback.go:15
↓ 1 callersFunctionNewGeminiClient
(apiKey string)
internal/llm/gemini.go:24
↓ 1 callersFunctionNewGraphBuilderService
( memoryStore domain.MemoryStore, graphStore domain.GraphStore, entityStore domain.EntityStore, embeddingC
internal/service/graph_builder.go:25
↓ 1 callersFunctionNewGraphHandler
( hybridSvc *service.HybridRecallService, graphSvc *service.GraphBuilderService, graphStore domain.GraphSto
internal/api/handlers/graph.go:23
↓ 1 callersFunctionNewGraphStore
(db *pgxpool.Pool)
internal/store/graph.go:18
↓ 1 callersFunctionNewHybridDetector
(llm domain.LLMClient)
internal/service/contradiction/hybrid_detector.go:24
↓ 1 callersFunctionNewImplicitFeedbackDetector
( llmClient domain.LLMClient, feedbackStore domain.FeedbackStore, memoryStore domain.MemoryStore, logger *
internal/service/implicit_feedback.go:19
↓ 1 callersFunctionNewLLMDetector
(client domain.LLMClient)
internal/service/contradiction/llm_detector.go:15
↓ 1 callersFunctionNewLearningHandler
( learningSvc *service.LearningService, implicitFeedbackSvc *service.ImplicitFeedbackDetector, mutationLogS
internal/api/handlers/learning.go:23
↓ 1 callersFunctionNewLearningStatsStore
(db *pgxpool.Pool)
internal/store/learning.go:303
↓ 1 callersFunctionNewMembershipStore
(db *pgxpool.Pool)
internal/store/auth.go:85
↓ 1 callersFunctionNewMemoryAssociationStore
(db *pgxpool.Pool)
internal/store/working_memory.go:316
↓ 1 callersFunctionNewMemoryHandler
(svc *service.MemoryService, hybridSvc *service.HybridRecallService, anchors *store.EntityStore, sessions *sto
internal/api/handlers/memory.go:27
↓ 1 callersFunctionNewMemoryStore
(db *pgxpool.Pool)
internal/store/memory.go:22
↓ 1 callersFunctionNewMetacognitiveHandler
NewMetacognitiveHandler creates a new metacognitive handler.
internal/api/handlers/metacognitive.go:18
↓ 1 callersFunctionNewMindHandler
( ms domain.MemoryStore, es domain.EpisodeStore, ps domain.ProcedureStore, ss domain.SchemaStore, as doma
internal/api/handlers/mind.go:22
↓ 1 callersFunctionNewMockClient
()
internal/llm/mock.go:58
↓ 1 callersFunctionNewMockClientDim
NewMockClientDim builds a mock client producing vectors of the given width, so it can stand in for any configured embedding dimension.
internal/embedding/mock.go:29
↓ 1 callersFunctionNewMutationLogStore
(db *pgxpool.Pool)
internal/store/learning.go:19
↓ 1 callersFunctionNewOAuthAccountStore
(db *pgxpool.Pool)
internal/store/auth.go:55
↓ 1 callersFunctionNewOpenAIClient
(apiKey string)
internal/llm/openai.go:25
↓ 1 callersFunctionNewPolicyHandler
(svc *service.PolicyService)
internal/api/handlers/policy.go:19
↓ 1 callersFunctionNewPolicyStore
(db *pgxpool.Pool)
internal/store/policy.go:17
↓ 1 callersFunctionNewProcedureHandler
(svc *service.ProceduralService)
internal/api/handlers/procedure.go:19
↓ 1 callersFunctionNewProcedureStore
(db *pgxpool.Pool)
internal/store/procedure.go:20
↓ 1 callersFunctionNewRateLimiter
NewRateLimiter creates a rate limiter with the given requests per second and burst size.
internal/api/middleware/ratelimit.go:29
↓ 1 callersFunctionNewSSEServer
NewSSEServer creates an SSEServer wrapping the given MCP server.
mcp/transports/sse.go:29
↓ 1 callersFunctionNewSchemaHandler
(svc *service.SchemaService)
internal/api/handlers/schema.go:19
↓ 1 callersFunctionNewSchemaStore
(db *pgxpool.Pool)
internal/store/schema.go:20
↓ 1 callersFunctionNewSessionHandler
(sessions *store.SessionStore, anchors *store.EntityStore, agents domain.AgentStore, ttl time.Duration)
internal/api/handlers/session.go:23
↓ 1 callersFunctionNewSessionStore
(db *pgxpool.Pool)
internal/store/session.go:18
↓ 1 callersFunctionNewSettingsHandler
(store domain.TenantSettingsStore)
internal/api/handlers/settings.go:17
↓ 1 callersFunctionNewSetupHandler
(ts domain.TenantStore, aks domain.APIKeyStore, setupToken string)
internal/api/handlers/setup.go:24
↓ 1 callersFunctionNewTenantHandler
(ts domain.TenantStore, aks domain.APIKeyStore, setupToken string)
internal/api/handlers/tenant.go:19
↓ 1 callersFunctionNewTenantSettingsStore
(db *pgxpool.Pool)
internal/store/settings.go:19
↓ 1 callersFunctionNewTenantStore
(db *pgxpool.Pool)
internal/store/tenant.go:17
↓ 1 callersFunctionNewTierHandler
(memorySvc *service.MemoryService)
internal/api/handlers/tier.go:18
↓ 1 callersFunctionNewUnitOfWork
(pool *pgxpool.Pool, memory *MemoryStore, mutationLog *MutationLogStore, contradiction *ContradictionStore)
internal/store/uow.go:20
↓ 1 callersFunctionNewUserStore
(db *pgxpool.Pool)
internal/store/auth.go:18
↓ 1 callersFunctionNewWorkingMemoryHandler
(svc *service.WorkingMemoryService)
internal/api/handlers/working_memory.go:18
↓ 1 callersFunctionNewWorkingMemoryStore
(db *pgxpool.Pool)
internal/store/working_memory.go:19
↓ 1 callersMethodOnMemoryCreated
(ctx context.Context, memory *domain.Memory)
internal/service/memory.go:129
↓ 1 callersMethodPromoteSessionToAnchor
(ctx context.Context, id uuid.UUID)
internal/domain/stores.go:143
↓ 1 callersMethodPruneGraph
(ctx context.Context, agentID uuid.UUID, rules PruningRules)
internal/domain/graph.go:179
↓ 1 callersMethodPurgeByAnchor
(ctx context.Context, anchorID, tenantID uuid.UUID)
internal/store/memory.go:219
↓ 1 callersMethodPurgeSubjectGraphLinks
PurgeSubjectGraphLinks deletes the structural traces of the given (erased) memories: entity↔memory links, knowledge-graph edges, and spreading-activat
internal/store/memory.go:333
↓ 1 callersMethodRank
(memories []ScoredMemory)
internal/service/recall.go:88
← previousnext →501–600 of 2,051, ranked by callers