Data Models

Overview

This module contains the data models used within the Agentstr SDK for handling various data structures and interactions.

High-Level Overview

  • NoteFilters: Defines filters for notes, allowing customization of content retrieval based on specific criteria.

  • Skill: Represents a specific capability or skill that an agent can possess or utilize.

  • AgentCard: Provides a summary or profile card for an agent, including key identifying information.

  • User: Models user data, capturing essential information about individuals interacting with the system.

  • Message: Encapsulates communication data between agents and users, including content and metadata.

  • ChatInput: Structures input data for chat interactions, formatting user or system prompts.

  • ChatOutput: Represents the output or response from a chat interaction, including generated content and tool calls.

Reference

See Also

  • Nostr Agent — The nostr agent uses these models for configuration.

  • Database Interface — The database layer uses these models for persisting user data and chat history.