/user_profiler/agenticmem/agenticmem_commons
Description: Shared data schemas and configurations used across client and server
Purpose
Central repository for Pydantic models that define the contract between client and server. All API requests/responses and configuration schemas are defined here to ensure consistency.
API Schemas
Directory: agenticmem_commons/api_schema
Purpose: Pydantic models for API requests and responses
Key files:
-
service_schemas.py: Core data models- Interaction: User interaction data (content, actions, images)
- UserProfile: Generated user profile with TTL and embeddings
- Request: Tracks individual requests with metadata (request_id, user_id, source, agent_version)
- PublishUserInteractionRequest/Response: Publishing new interactions
- DeleteUserProfileRequest/Response: Profile deletion
- DeleteUserInteractionRequest/Response: Interaction deletion
- InteractionData: Client-provided interaction data
- ProfileChangeLog: History of profile changes
- RawFeedback: Raw developer feedback from interactions
- Feedback: Aggregated feedback with status (pending/approved/rejected)
- AgentSuccessEvaluationResult: Agent success evaluation results
- RunFeedbackAggregationRequest/Response: Run feedback aggregation
- Enums:
UserActionType,ProfileTimeToLive,FeedbackStatus
-
retriever_schema.py: Search and retrieval models- SearchUserProfileRequest/Response: Profile search with query and filters
- SearchInteractionRequest/Response: Interaction search
- GetUserProfilesRequest/Response: Get profiles by user_id
- GetInteractionsRequest/Response: Get interactions by user_id
- GetRequestsRequest/Response: Get requests with filters (user_id, request_id, request_group)
- RequestData: Request with associated interactions
- RequestGroup: Group of requests sharing a request_group
- GetRawFeedbacksRequest/Response: Get raw feedbacks
- GetFeedbacksRequest/Response: Get aggregated feedbacks
-
login_schema.py: Authentication models- Token: JWT token for authentication
- User login/registration schemas
-
data_schema.py: Additional data structures
Configuration Schema
File: config_schema.py
Purpose: YAML configuration file schemas
Key models:
-
Config: Root configuration object
storage_config: Storage backend configuration (Local/S3/Supabase)agent_context_prompt: Agent environment descriptionprofile_extractor_configs: List of profile extraction configurationsagent_feedback_configs: List of feedback extraction configurationsagent_success_configs: List of success evaluation configurationsextraction_window_size: Max interactions to process per batch (optional)extraction_window_stride: Min new interactions needed to trigger processing (optional)
-
StorageConfig: Storage backend options
StorageConfigLocal: Local file storage (dir_path)StorageConfigSupabase: Supabase storage (url, key, db_url)
-
ProfileExtractorConfig: Profile extraction configuration
profile_content_definition_prompt: What to extract as profilescontext_prompt: Additional contextmetadata_definition_prompt: Custom metadata fields
-
AgentFeedbackConfig: Feedback extraction configuration
feedback_name: Unique identifier for feedback typefeedback_definition_prompt: What constitutes this feedbackmetadata_definition_prompt: Custom metadata fieldsfeedback_aggregator_config: Aggregation settings
-
AgentSuccessConfig: Success evaluation configuration
feedback_name: Unique identifiersuccess_definition_prompt: What constitutes successtool_can_use: List of available tools (ToolUseConfig)action_space: List of possible actionsmetadata_definition_prompt: Custom metadata fields
Metadata
Release files for agenticmem-commons 0.1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agenticmem_commons-0.1.5.0.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agenticmem_commons-0.1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.9 kB
Release files / agenticmem_commons-0.1.5.0.tar.gz
| Download URL | agenticmem_commons-0.1.5.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71e7f75c0168bf34a54fae1a97fd329fb70d454c64a0bb5487b9693f518395fd
|
|
BLAKE2b-256 checksum How to use checksums |
cc64e93dcdb7c4d84fba9db0b845d28db64cc50d9564f457d577559306d5d75d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.10.11 Darwin/25.2.0
|
Release files / agenticmem_commons-0.1.5.0-py3-none-any.whl
| Download URL | agenticmem_commons-0.1.5.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93dde2b3368361dabf8d669f94c93192955306a756e771edcfb31817ea4a7d28
|
|
BLAKE2b-256 checksum How to use checksums |
b16c1f7c06a01bc9e15c9da6ccc90e53b47f19c6bc5c6af2ec9dbb49281475fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.10.11 Darwin/25.2.0
|