Skip to Content

    @memco/memcoai

    Node.js SDK for Memco Shared Memory.

    Memco Shared Memory is a persistent, searchable memory that a team and its agents share. This package is the typed client for it.

    Configuration is read from the environment unless it is passed explicitly:

    Variable What it sets
    MEMCO_API_TOKEN the credential. Required.
    MEMCO_API_HOST the endpoint. Defaults to grpc.memco.ai:443.
    MEMCO_LOG the log level: critical, error, warning, info, debug, or none to silence. Defaults to info.

    MEMCO_API_KEY is still read as a fallback for MEMCO_API_TOKEN, and warns once when it is what supplied the credential.

    No credential is ever written to a log record.

    DataSource
    RevertOutcome
    ImportStatus
    Toolset
    Memco
    MemcoError
    MemcoConfigError
    MemcoAPIError
    MemcoAuthenticationError
    MemcoPermissionError
    MemcoInvalidRequestError
    MemcoNotFoundError
    MemcoPreconditionFailedError
    MemcoSunsetError
    MemcoResourceExhaustedError
    MemcoUnavailableError
    MemcoUnhealthyError
    MemcoTimeoutError
    MemcoInternalError
    MemoryOperations
    Session
    SessionOpener
    ToolParameters
    Tool
    AnthropicTool
    OpenAIFunction
    OpenAITool
    MemcoOptions
    TimeoutOptions
    SearchOptions
    CreateMemoryOptions
    EnrichMemoryOptions
    ShareFeedbackOptions
    ImportMemoriesOptions
    Tag
    Instructions
    DomainEntry
    Limits
    DomainList
    ToolDescriptor
    Insight
    Memory
    SearchResult
    WriteResult
    FeedbackRating
    FeedbackEntry
    FeedbackResult
    RevertResult
    ImportedInsight
    ImportedMemory
    ImportOutcome
    ImportResult
    ProtoRecord
    Provenance
    JsonSchema
    Rendered
    SunsetKind
    ResourceExhaustedKind
    ScopedSearchOptions
    ScopedCreateMemoryOptions
    ScopedEnrichMemoryOptions
    ScopedShareFeedbackOptions
    MemoryFeedback
    AGENT_RECOVERABLE
    SunsetKind
    ResourceExhaustedKind
    DEFAULT_HOST
    DEFAULT_PORT
    DEFAULT_TIMEOUT
    DEPRECATION_WARNING_NAME
    LOG_ENV
    NEW_MEMORY
    render
    briefing
    fromServiceError
    setLevel
    provenance
    dataSourceFromWire
    revertOutcomeFromWire
    importStatusFromWire