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
  • get_all_profiles(limit, status_filter) - Get all profiles across all users
  • delete_profile(user_id, profile_id, search_query) - Delete profiles
  • get_profile_change_log() - Get history
  • rerun_profile_generation(request) - Regenerate profiles from interactions

Interactions:

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

Requests:

  • get_requests(request) - Get request groups with associated interactions
  • delete_request(request_id) - Delete a request and its interactions
  • delete_request_group(request_group) - Delete all requests in a group

Feedback:

  • get_raw_feedbacks(request) - Raw feedback from interactions
  • add_raw_feedback(request) - Add raw feedback directly to storage
  • get_feedbacks(request) - Aggregated feedback with status
  • rerun_feedback_generation(request) - Regenerate feedback for agent version
  • run_feedback_aggregation(request) - Aggregate raw feedbacks into insights

Evaluation:

  • get_agent_success_evaluation_results(request) - Get agent success evaluation results

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.5.0.tar.gz (11.4 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.5.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agenticmem-0.1.5.0.tar.gz
Algorithm Hash digest
SHA256 1218fd193e67c5272c030a5486df24bea558fa65a25c9279b3b409bc7579eecd
MD5 3c017b0760bdd8f219153721c3f39b88
BLAKE2b-256 3465d7f78b2f30f0fe638ee988db62dd6703827499b66f8c3374c0b56e0ef9fe

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agenticmem-0.1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f965ce5bc9cfd4cc5069241c49f4009ae8d56f1387b78cefb91b1107268c49b
MD5 fa59592eb5f5969f8a91ea1a54497eac
BLAKE2b-256 283663c53f2ef35a3ef5ccd3722edaf8bffdd2cd6f625d628cb0059ede0a0f92

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