schema

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentEvent

type AgentEvent struct {
	ent.Schema
}

AgentEvent represents a generic event in the agent system. This is an extensible event store for domain-specific and custom events.

func (AgentEvent) Annotations

func (AgentEvent) Annotations() []schema.Annotation

Annotations of the AgentEvent.

func (AgentEvent) Edges

func (AgentEvent) Edges() []ent.Edge

Edges of the AgentEvent.

func (AgentEvent) Fields

func (AgentEvent) Fields() []ent.Field

Fields of the AgentEvent.

func (AgentEvent) Indexes

func (AgentEvent) Indexes() []ent.Index

Indexes of the AgentEvent.

type AgentHandoff

type AgentHandoff struct {
	ent.Schema
}

AgentHandoff represents a handoff of work from one agent to another. This tracks inter-agent communication and coordination.

func (AgentHandoff) Annotations

func (AgentHandoff) Annotations() []schema.Annotation

Annotations of the AgentHandoff.

func (AgentHandoff) Edges

func (AgentHandoff) Edges() []ent.Edge

Edges of the AgentHandoff.

func (AgentHandoff) Fields

func (AgentHandoff) Fields() []ent.Field

Fields of the AgentHandoff.

func (AgentHandoff) Indexes

func (AgentHandoff) Indexes() []ent.Index

Indexes of the AgentHandoff.

type AgentTask

type AgentTask struct {
	ent.Schema
}

AgentTask represents a task executed by an agent. Each task is part of a workflow and may involve LLM calls, tool invocations, etc.

func (AgentTask) Annotations

func (AgentTask) Annotations() []schema.Annotation

Annotations of the AgentTask.

func (AgentTask) Edges

func (AgentTask) Edges() []ent.Edge

Edges of the AgentTask.

func (AgentTask) Fields

func (AgentTask) Fields() []ent.Field

Fields of the AgentTask.

func (AgentTask) Indexes

func (AgentTask) Indexes() []ent.Index

Indexes of the AgentTask.

type ToolInvocation

type ToolInvocation struct {
	ent.Schema
}

ToolInvocation represents a tool or function call made by an agent. This includes external API calls, database queries, file operations, etc.

func (ToolInvocation) Annotations

func (ToolInvocation) Annotations() []schema.Annotation

Annotations of the ToolInvocation.

func (ToolInvocation) Edges

func (ToolInvocation) Edges() []ent.Edge

Edges of the ToolInvocation.

func (ToolInvocation) Fields

func (ToolInvocation) Fields() []ent.Field

Fields of the ToolInvocation.

func (ToolInvocation) Indexes

func (ToolInvocation) Indexes() []ent.Index

Indexes of the ToolInvocation.

type Workflow

type Workflow struct {
	ent.Schema
}

Workflow represents an end-to-end workflow/session in a multi-agent system. A workflow contains multiple agent tasks and represents a complete unit of work.

func (Workflow) Annotations

func (Workflow) Annotations() []schema.Annotation

Annotations of the Workflow.

func (Workflow) Edges

func (Workflow) Edges() []ent.Edge

Edges of the Workflow.

func (Workflow) Fields

func (Workflow) Fields() []ent.Field

Fields of the Workflow.

func (Workflow) Indexes

func (Workflow) Indexes() []ent.Index

Indexes of the Workflow.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL