Memco

    @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, unless an API client's are set.
    MEMCO_CLIENT_ID, MEMCO_CLIENT_SECRET an API client's credentials, exchanged for a token. Set together, they win over MEMCO_API_TOKEN.
    MEMCO_API_HOST the endpoint. Defaults to grpc.memco.ai:443.
    MEMCO_API_TLS false to dial a plaintext endpoint, such as a local server. Defaults to true.
    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 — token, client secret, or the key a session acting for one of your users holds — is ever written to a log record.

    DataSource
    RevertOutcome
    ImportStatus
    NetworkOperations
    UserOperations
    Toolset
    Memco
    MemcoError
    MemcoConfigError
    MemcoAPIError
    MemcoAuthenticationError
    MemcoPermissionError
    MemcoInvalidRequestError
    MemcoNotFoundError
    MemcoAlreadyExistsError
    MemcoPreconditionFailedError
    MemcoUserAlreadyAssignedNetworkError
    MemcoExternalUserNeedsCustomerNetworkError
    MemcoSunsetError
    MemcoResourceExhaustedError
    MemcoUnavailableError
    MemcoUnhealthyError
    MemcoTimeoutError
    MemcoInternalError
    MemoryOperations
    Session
    SessionOpener
    CreatedKey
    ListNetworksOptions
    CreateNetworkOptions
    UpdateNetworkOptions
    ListMembersOptions
    AddMemberOptions
    RemoveMemberOptions
    ListGroupsOptions
    NetworkGroupOptions
    AddGroupOptions
    ListUsersOptions
    CreateUserOptions
    UpdateUserOptions
    CreateKeyOptions
    DeleteKeyOptions
    ToolParameters
    Tool
    AnthropicTool
    OpenAIFunction
    OpenAITool
    ToolsOptions
    MemcoOptions
    TimeoutOptions
    SessionOptions
    SearchOptions
    CreateMemoryOptions
    EnrichMemoryOptions
    ShareFeedbackOptions
    ImportMemoriesOptions
    Tag
    Instructions
    DomainEntry
    Limits
    DomainList
    SessionInfo
    ToolDescriptor
    Insight
    Memory
    SearchResult
    WriteResult
    FeedbackRating
    FeedbackEntry
    FeedbackResult
    RevertResult
    ImportedInsight
    ImportedMemory
    ImportOutcome
    ImportResult
    ProtoRecord
    Provenance
    Network
    NetworkList
    Member
    MemberList
    MemberPlacement
    DeletedNetwork
    Group
    GroupList
    ExternalUser
    ExternalUserList
    ExternalUserKey
    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

    On this page