Skip to main content

A Python client for the AgenticMem API

Project description

/user_profiler/agenticmem/agenticmem_client

Description: Python SDK for remote async access to AgenticMem API

Main Entry Points

  • Client: agenticmem/client.py - AgenticMemClient
  • Utils: agenticmem/client_utils.py - Helper utilities

Purpose

  1. Remote API access - Async SDK for applications to call AgenticMem backend
  2. Authentication - Handle login and Bearer token management
  3. Type-safe interface - Auto-parsing responses into Pydantic models

API Methods

Authentication:

  • login(email, password) - Get auth token

Publishing:

  • publish_interaction(request_id, user_id, interactions, source, agent_version) - Publish interactions (triggers profile/feedback/evaluation)

Profiles:

  • search_profiles(request) - Semantic search
  • get_profiles(request) - Get all for user
  • delete_profile(user_id, profile_id, search_query) - Delete profiles
  • get_profile_change_log() - Get history

Interactions:

  • search_interactions(request) - Semantic search
  • get_interactions(request) - Get all for user
  • delete_interaction(user_id, interaction_id) - Delete interaction

Feedback:

  • get_raw_feedbacks(request) - Raw feedback from interactions
  • get_feedbacks(request) - Aggregated feedback with status

Configuration:

  • set_config(config) - Update org config (extractors, evaluators, storage)
  • get_config() - Get current config

Architecture Pattern

  • All async - Uses aiohttp for HTTP requests
  • Type-safe - Pydantic models from agenticmem_commons
  • Auto-parsing - Responses → Pydantic models
  • Flexible input - Accepts Pydantic models or dicts
  • Bearer auth - Automatic token handling

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agenticmem-0.1.4.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agenticmem-0.1.4.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file agenticmem-0.1.4.0.tar.gz.

File metadata

  • Download URL: agenticmem-0.1.4.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.11 Darwin/24.6.0

File hashes

Hashes for agenticmem-0.1.4.0.tar.gz
Algorithm Hash digest
SHA256 eb6da3a6695e4ef0b34ff27c22a65272feb996cd58568057dc04188caf82dce0
MD5 884f23acf4a522b17898109c93f96d78
BLAKE2b-256 c7d5268f371a2570fcc53ccf8dd62b61573d125799efe4cee176657d9790f04d

See more details on using hashes here.

File details

Details for the file agenticmem-0.1.4.0-py3-none-any.whl.

File metadata

  • Download URL: agenticmem-0.1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.11 Darwin/24.6.0

File hashes

Hashes for agenticmem-0.1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e704e70ec9f68a4b3b37b6a3310b9430289c49cf5d59c20af53f79746b59b957
MD5 d76821e5a34646bd3b892a65ae214a62
BLAKE2b-256 98bf026f7b5e1794c29d1b4b8922236bfb72397142f7c8e76c8914a80a6d34bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page