Common models and DTOs for Soorma platform services
Project description
Soorma Common
Common models and DTOs shared across Soorma platform services.
Installation
pip install -e .
Usage
from soorma_common.models import (
AgentDefinition,
AgentCapability,
EventDefinition,
)
# Create an agent definition
agent = AgentDefinition(
agent_id="my-agent",
name="My Agent",
description="A sample agent",
capabilities=[
AgentCapability(
task_name="process_data",
description="Process incoming data",
consumed_event="data.received",
produced_events=["data.processed", "data.error"]
)
]
)
Models
Agent Registry
AgentCapability- Describes a single capability or task an agent can performAgentDefinition- Defines a single agent in the systemAgentRegistrationRequest- Request to register a new agentAgentRegistrationResponse- Response after registering an agentAgentQueryRequest- Request to query agentsAgentQueryResponse- Response containing agent definitions
Event Registry
EventDefinition- Defines a single event in the systemEventRegistrationRequest- Request to register a new eventEventRegistrationResponse- Response after registering an eventEventQueryRequest- Request to query eventsEventQueryResponse- Response containing event definitions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
soorma_common-0.3.0.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file soorma_common-0.3.0.tar.gz.
File metadata
- Download URL: soorma_common-0.3.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d25868e32b079e7378659213f3d035a4bbff6974ac74a400ffe544b2ecfba7a
|
|
| MD5 |
e70c88c79c605f9eadc421639c7c4db0
|
|
| BLAKE2b-256 |
834f1c0d5d1754132737bd2b3cbcbec731c1a4f83a4aa92e870fcfc218d9f1f6
|
File details
Details for the file soorma_common-0.3.0-py3-none-any.whl.
File metadata
- Download URL: soorma_common-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f190ca4df55feae6fb7369c90bb389df220130b194efb2967b4507cbd5215368
|
|
| MD5 |
4efdea0208832584a2338530ca91f9da
|
|
| BLAKE2b-256 |
3c751099dace4c2d925e8546183f3b32d8525bc2077448a923d5d270c023c8cd
|