Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Harshitk-cp/engram
/ types & classes
Types & classes
484 in github.com/Harshitk-cp/engram
⨍
Functions
2,051
◇
Types & classes
484
↓ 8 callers
TypeAlias
FeedbackType
internal/domain/feedback.go:9
↓ 7 callers
TypeAlias
EntityType
internal/domain/graph.go:71
↓ 7 callers
TypeAlias
OutcomeType
OutcomeType represents the result of an episode/interaction.
internal/domain/episode.go:28
↓ 6 callers
TypeAlias
RelationType
internal/domain/graph.go:10
↓ 5 callers
TypeAlias
MemoryType
internal/domain/memory.go:9
↓ 5 callers
TypeAlias
Provenance
internal/domain/memory.go:53
↓ 4 callers
TypeAlias
MemoryTier
internal/domain/tier.go:9
↓ 4 callers
TypeAlias
MentionType
internal/domain/graph.go:108
↓ 4 callers
TypeAlias
Plan
Plan is a managed-cloud subscription tier. The data plane stays plan-agnostic; only the quota middleware and billing handler read it. Pricing tiers mi
internal/domain/billing.go:13
↓ 2 callers
TypeAlias
RecallMode
internal/domain/stores.go:45
↓ 1 callers
TypeAlias
AssociationType
AssociationType represents the type of link between episodes.
internal/domain/episode.go:107
↓ 1 callers
TypeAlias
BeliefSource
BeliefSource indicates where a belief originated.
internal/domain/belief.go:8
↓ 1 callers
TypeAlias
ConsolidationStatus
ConsolidationStatus represents the processing state of an episode.
internal/domain/episode.go:10
↓ 1 callers
TypeAlias
ContradictionType
internal/domain/stores.go:153
↓ 1 callers
TypeAlias
EvidenceType
internal/domain/memory.go:19
↓ 1 callers
TypeAlias
contextKey
internal/api/middleware/auth.go:15
Class
console/src/api.ts:5
Struct
APIKey
APIKey represents a tenant API key stored in the api_keys table. The full key is returned only once at creation. Listings return KeyPrefix only.
internal/domain/tenant.go:31
Struct
APIKeyAuth
APIKeyAuth is the result of a successful authentication lookup. It combines key metadata with the owning tenant. For console (session) auth, UserID is
internal/domain/tenant.go:54
Interface
APIKeyStore
internal/domain/stores.go:15
Struct
APIKeyStore
internal/store/api_key.go:13
TypeAlias
ActionType
ActionType represents the type of action a procedure performs.
internal/domain/procedure.go:10
Struct
ActivatedContent
ActivatedContent holds full content for an activated memory.
internal/domain/working_memory.go:129
TypeAlias
ActivatedMemoryType
ActivatedMemoryType indicates the type of memory in an activation.
internal/domain/working_memory.go:22
Struct
ActivationInput
ActivationInput contains input for memory activation.
internal/domain/working_memory.go:120
Struct
ActivationResult
ActivationResult holds the result of memory activation.
internal/service/working_memory.go:72
TypeAlias
ActivationSource
ActivationSource indicates how a memory was activated.
internal/domain/working_memory.go:10
Struct
AdminHandler
internal/api/handlers/admin.go:16
Struct
AdminService
AdminService performs operator-initiated memory changes as first-class, audited mutations (mutation_type=admin_override/redaction) with required reaso
internal/service/admin.go:23
Interface
Agent
console/src/api.ts:35
Struct
Agent
internal/domain/agent.go:9
Struct
Agent
Types
examples/01_learning_agent/main.go:91
Struct
Agent
Types
examples/02_memory_evolution_demo/main.go:167
Struct
Agent
Types
examples/03_benchmark_mistake_reduction/main.go:168
Struct
AgentHandler
internal/api/handlers/agent.go:16
Struct
AgentResult
AgentResult is returned by ListAgents.
mcp/client.go:75
Struct
AgentService
internal/service/agent.go:13
Interface
AgentStore
internal/domain/stores.go:29
Struct
AgentStore
internal/store/agent.go:14
Interface
Anchor
console/src/api.ts:85
Struct
AnchorHandler
AnchorHandler exposes anchors — the tenant-scoped referents that memory traces
internal/api/handlers/anchor.go:17
Struct
AnthropicClient
internal/llm/anthropic.go:22
Class
ApiError
console/src/api.ts:5
Interface
ApiKey
console/src/api.ts:54
Struct
App
App holds the router and background services for lifecycle management.
internal/api/router.go:31
Interface
AsyncState
console/src/hooks.ts:3
Struct
AuditHandler
internal/api/handlers/audit.go:19
Interface
AuditStatus
console/src/api.ts:64
Interface
AuthConfig
console/src/api.ts:33
Struct
AuthHandler
internal/api/handlers/auth.go:16
Struct
AuthService
AuthService is the control plane: human accounts, sessions, orgs/memberships. It is deliberately separate from the data-plane API-key auth.
internal/service/auth.go:27
Interface
AuthState
console/src/auth.tsx:4
Struct
BatchDecayResult
BatchDecayResult contains results from a batch decay operation
internal/service/decay.go:52
Interface
BeliefAtTime
console/src/api.ts:62
Struct
BeliefAtTime
BeliefAtTime is a memory with its confidence reconstructed as of a past instant (transaction-time reconstruction for the bitemporal "time machine").
internal/domain/stores.go:78
Struct
BeliefContradiction
internal/domain/stores.go:146
Struct
Billing
Billing is an org's subscription state.
internal/domain/billing.go:65
Struct
BillingHandler
BillingHandler serves the managed-cloud billing surface: current plan + usage, Razorpay subscription creation, client-side payment verification, cance
internal/api/handlers/billing.go:18
Interface
BillingState
console/src/api.ts:110
Interface
BillingStore
BillingStore persists per-org plan state and monthly usage counters.
internal/domain/billing.go:81
Struct
BillingStore
BillingStore reads/writes per-org plan state (on tenants) and the monthly usage_counters rollup. See migration 017_billing.
internal/store/billing.go:23
Struct
CalibrationBin
CalibrationBin is one bucket of a reliability diagram.
internal/domain/calibration.go:18
Struct
CalibrationReport
CalibrationReport is the measured calibration of an agent's (or tenant's) confidence scores: how well predicted confidence matches observed correctnes
internal/domain/calibration.go:28
Struct
CalibrationSample
CalibrationSample is one labeled prediction: the confidence a memory carried at the moment evidence arrived, and whether that evidence confirmed it.
internal/domain/calibration.go:12
Struct
CalibrationService
internal/service/calibration.go:12
Struct
CallToolResult
CallToolResult is the response from a tool invocation.
mcp/server.go:43
Struct
CanonHandler
internal/api/handlers/canon.go:18
Struct
CausalLink
CausalLink represents a cause-effect relationship extracted from an episode.
internal/domain/episode.go:46
Struct
CerebrasClient
internal/llm/cerebras.go:26
Interface
ChainEntry
console/src/api.ts:68
Struct
Client
Client is a minimal Razorpay REST client.
internal/billing/razorpay.go:44
Struct
Client
Client is an HTTP client for the Engram API.
mcp/client.go:16
Struct
CognitiveHandler
internal/api/handlers/cognitive.go:13
Struct
CompatibleClient
CompatibleClient talks to any OpenAI-compatible /embeddings endpoint: a local Ollama / vLLM / Text-Embeddings-Inference server, a gateway (LiteLLM), o
internal/embedding/compatible.go:23
Struct
ConfidenceAssessment
ConfidenceAssessment contains the detailed assessment of a memory's confidence.
internal/service/metacognitive.go:44
Struct
ConfidenceService
internal/service/confidence.go:47
Struct
ConfidenceStats
internal/service/confidence.go:171
Struct
Config
Config selects and configures an embedding provider.
internal/embedding/provider.go:20
Struct
ConsoleHandler
internal/api/handlers/console.go:15
Struct
ConsoleService
ConsoleService aggregates existing reads into console/dashboard-friendly summaries. It owns no new state — it composes memory, contradiction, and lear
internal/service/console.go:15
Struct
ConsoleSession
ConsoleSession is a human login session (distinct from a conversation Session); the cookie holds an opaque token whose sha256 is stored as token_hash.
internal/domain/auth.go:47
Interface
ConsoleSessionStore
internal/domain/auth.go:73
Struct
ConsoleSessionStore
---- Sessions ----
internal/store/auth.go:137
Struct
ConsolidationResult
ConsolidationResult contains the results of a consolidation run.
internal/service/consolidation.go:36
TypeAlias
ConsolidationScope
ConsolidationScope defines the scope of consolidation.
internal/service/consolidation.go:224
Struct
ConsolidationService
ConsolidationService orchestrates the 5-stage memory consolidation pipeline.
internal/service/consolidation.go:69
Interface
ContradictingBelief
console/src/api.ts:47
Struct
ContradictingBelief
ContradictingBelief is a belief that conflicts with one under review.
internal/service/console.go:120
Struct
Contradiction
Contradiction represents a detected contradiction between two beliefs.
internal/domain/belief.go:18
Interface
ContradictionPair
console/src/api.ts:58
Struct
ContradictionPair
ContradictionPair is a detected conflict between two beliefs, with the content of each side for display.
internal/domain/stores.go:179
Interface
ContradictionStore
internal/domain/stores.go:189
Struct
ContradictionStore
internal/store/contradiction.go:13
Struct
ConversationHandler
internal/api/handlers/conversation.go:17
Struct
ConversationIngestRequest
internal/domain/memory.go:187
Struct
ConversationService
internal/service/conversation.go:21
Struct
CreateResult
CreateResult contains additional info about a memory creation.
internal/service/memory.go:266
Interface
DBTX
DBTX is the subset of pgx methods shared by *pgxpool.Pool and pgx.Tx. Stores that hold a DBTX can run either standalone (autocommit against the pool)
internal/store/dbtx.go:14
Interface
Dashboard
console/src/api.ts:36
Struct
DashboardSummary
DashboardSummary is the single-call knowledge-health overview for an agent.
internal/service/console.go:27
next →
1–100 of 484, ranked by callers