CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/maven-com-embabel-agent--embabel-agent-domain

Core domain type definitions for the Embabel Agent Framework, providing foundational data classes and interfaces for agent-based AI workflows including content assets, research entities, and person types with Jackson serialization and PromptContributor capabilities.

Overview
Eval results
Files

quick-reference.mddocs/

Quick Reference

All API signatures for embabel-agent-domain types.

Content Assets

interface ContentAsset : HasContent, Timestamped, PromptContributor

data class Blog(
    val title: String,
    val author: String,
    override val content: String,
    override val timestamp: Instant = Instant.now(),
    val keywords: Set<String> = emptySet(),
    val format: String = "markdown"
) : ContentAsset

Summary

data class Summary(
    val summary: String
) : HasContent

Property: content: String (from HasContent, returns summary)

Person Types

interface Person {
    val name: String
}

data class PersonImpl(
    override val name: String
) : Person

News Types

open class NewsStory(
    override val url: String,
    val title: String,
    override val summary: String
) : PromptContributor, Page

open class RelevantNewsStories(
    val items: List<NewsStory>
) : PromptContributor

Methods:

  • NewsStory.contribution(): String - Formatted for LLM prompts
  • RelevantNewsStories.contribution(): String - Joined contributions or "No relevant news stories found."

Research Types

open class ResearchTopic(
    val topic: String,
    val questions: List<String>
)

open class ResearchTopics(
    val topics: List<ResearchTopic>
)

open class ResearchReport(
    val topic: String,
    override val content: String,
    override val links: List<InternetResource>
) : InternetResources, HasInfoString, ContentAsset

Property: timestamp: Instant (from ContentAsset via Timestamped, auto-set)

Methods:

  • infoString(verbose: Boolean? = null, indent: Int = 0): String
  • toString(): String - Returns infoString(verbose = false, indent = 0)
  • contribution(): String - Formatted for LLM prompts

External Types (from dependencies)

See External Types for types from embabel-agent-api and embabel-common.

tessl i tessl/maven-com-embabel-agent--embabel-agent-domain@0.3.0

docs

content-types.md

core-concepts.md

external-types.md

index.md

installation.md

integration-patterns.md

json-serialization.md

news-types.md

person-types.md

quick-reference.md

research-types.md

summary-type.md

tile.json