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.4.0.tar.gz
(5.6 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.4.0.tar.gz.
File metadata
- Download URL: soorma_common-0.4.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25f07d530ee97bb487d6bd55df06cb1364fdb97945a438aa99044eb7c3aec1b9
|
|
| MD5 |
a8fe11a9e462596a61dda71670dedb63
|
|
| BLAKE2b-256 |
a7ad4762f0e7392f268cf394a1af0a142311113cfd86652ed7b7f099143840b4
|
File details
Details for the file soorma_common-0.4.0-py3-none-any.whl.
File metadata
- Download URL: soorma_common-0.4.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 |
062609a56ab3d028a7c9eb8c876a3a6cb0cc038db9045ef2ac03a7da1966a27d
|
|
| MD5 |
dfe07887e60324924b62fe09d52a37f1
|
|
| BLAKE2b-256 |
02640c5f47459a63b857f6145daf1941f4164e603abafddb8aad16ba0a647f5a
|