Praison AI

  • Enterprise
  • Agents
  • Bot
  • Use Cases
  • University
  • Docs
DocsFeaturesAgents & ToolsCLI & CodeUI & AppsGateway & BotsDeploy & APIRecipes & ExamplesSDK ReferenceTypeScript / JSRust

SDK Reference

Guide
  • SDK Reference
  • Python API Overview

Guide

praisonaiagents
  • praisonaiagents SDK
  • Protocols
  • Architecture Patterns
  • Task Module
  • Config Module
  • Process Module
  • Memory Module
  • Session
  • MCP Module
  • Guardrails Module
  • Tools Module
  • Hooks Module
  • Planning Module
  • LLM Module
  • Checkpoints Module
  • Background Module
  • Policy Module
  • Thinking Module
  • Compaction Module
  • Eval Module
  • Skills Module
  • Context Module
  • UI Module
  • LSP Module
  • Display Module
  • Outputs Module
  • Telemetry Module
  • FlowDisplay Module
  • Approval Module
  • SDK Extensibility
  • Token Utilities Module
  • Streaming Module

Guide · praisonaiagents

Agent
  • Agent Module
  • handoff
  • ImageAgent Module
  • RouterAgent Module
  • DeepResearchAgent Module
  • QueryRewriterAgent Module
  • PromptExpanderAgent Module
  • ContextAgent Module
Agents
  • Agents Module
  • AutoAgents Module
  • AutoRagAgent
Knowledge
  • Knowledge Module
  • Knowledge Protocols
  • Index Module
  • Query Engine Module
  • Readers Module
  • Rerankers Module
  • Retrieval Module
  • Vector Store Module
Workflows
  • Workflows Module
  • WorkflowManager Module

Guide

Companion Packages
  • praisonai-code
  • praisonai-bot
  • praisonai-sandbox
praisonai
  • praisonai SDK
  • CLI Module
  • Auto Module
  • Deploy Module
  • Persistence Module
  • Train Module
  • Scheduler Module
  • Profiler Module
  • Templates Module
  • ChainlitUI Module
  • AgentsGenerator Module
  • Recipe Registry Module
  • Package Manager Module
  • Adapters Module
  • Knowledge (Wrapper)
  • Readers (Wrapper)
  • Vector Store (Wrapper)
  • Retrieval (Wrapper)
  • Reranker Module
  • Index Types
  • Query Engine
  • Video Module
  • Embedding

Guide · praisonai

Runtime Operations
  • Background Tasks
  • Async Jobs
  • Background Tasks CLI
  • Async Jobs CLI
  • Scheduler CLI

Guide

typescript
  • TypeScript SDK
  • AutoAgents
  • Cache
  • ContextAgent
  • Database Adapters
  • Graph RAG
  • Guardrails
  • TypeScript Handoff
  • ImageAgent
  • Observability
  • Planning
  • PromptExpanderAgent
  • QueryRewriterAgent
  • Reranker
  • DeepResearchAgent
  • RouterAgent
  • Telemetry
  • Vector Stores
  • Voice

Reference · praisonaiagents

Modules
  • Run Lock
  • Version
  • A2A
  • a2ui
  • activation
  • adapters
  • agent
  • agents
  • agui
  • app
  • approval
  • Audio Agent
  • auth
  • Auto RAG Agent
  • autoagents
  • autonomy
  • backends
  • background
  • base
  • bots
  • budget
  • bundles
  • bus
  • capabilities
  • Capability Validator
  • checkpoints
  • chunking
  • CLI Backend
  • Code Agent
  • compaction
  • conditions
  • config
  • context
  • Context Agent
  • Context Builder
  • Context Events
  • DB
  • decisions
  • decorator
  • Deep Research Agent
  • dimensions
  • discovery
  • Doctor Protocol
  • Doctor Registry
  • Doom Loop
  • embed
  • embedding
  • Embedding Agent
  • errors
  • escalation
  • eval
  • evaluator
  • events
  • factories
  • failover
  • fast
  • Feature Configs
  • Flow Display
  • frameworks
  • gateway
  • goal
  • guard
  • guardrails
  • handoff
  • Health Check
  • Health Registry
  • heartbeat
  • hooks
  • Image Agent
  • indexing
  • journal
  • kanban
  • knowledge
  • Last Run
  • learn
  • LLM
  • loader
  • local
  • lsp
  • main
  • managed
  • manager
  • MCP
  • memory
  • messaging
  • middleware
  • Middleware Registry
  • Model Harness
  • models
  • obs
  • observability
  • Ocr Agent
  • output
  • Param Resolver
  • Parse Utils
  • parser
  • paths
  • permissions
  • pipeline
  • planning
  • plugins
  • policy
  • portable
  • presets
  • process
  • profiles
  • prompt
  • Prompt Expander Agent
  • protocol
  • protocols
  • push
  • Query Rewriter Agent
  • RAG
  • Realtime Agent
  • redact
  • registry
  • remote
  • resolve
  • result
  • Retrieval Config
  • Retry Utils
  • rooms
  • Run Outcome
  • runner
  • runs
  • runtime
  • sandbox
  • scheduler
  • scripted
  • secrets
  • server
  • session
  • Shell Render
  • skills
  • snapshot
  • storage
  • streaming
  • substitution
  • task
  • telemetry
  • thinking
  • tools
  • trace
  • Turn Context
  • types
  • ui
  • validator
  • verification
  • Video Agent
  • Vision Agent
  • workflows
  • workspace
Classes
ABCDEFGHIJKLMNOPQRSTUVW
  • Caching Config
  • Callback Backend
  • Callback Payload Store Protocol
  • Candidate Report
  • Capability Contract Error
  • Capability Descriptor
  • Capability Validation Error
  • Capability Validator
  • Channel Capabilities
  • Channel Descriptor
  • Channel Field
  • Channel Info
  • Channel Route Config
  • Chat Command Info
  • Chat Command Protocol
  • Chroma Memory Adapter
  • Chunking
  • Chunking Strategy
  • Citation
  • Citations Mode
  • CLI Backend Config
  • CLI Backend Delta
  • CLI Backend Execute Input
  • CLI Backend Protocol
  • CLI Backend Result
  • CLI Session Binding
  • Code Agent
  • Code Config
  • Code Execution Step
  • Command Hook
  • Command Verification Hook
  • Concurrency Limit Policy
  • Condition Protocol
  • Config Diff
  • Config Validation Error
  • Config Version Error
  • Connect Error Code
  • Connect Recovery Step
  • Console Backend
  • Context Agent
  • Context Config
  • Context Engineer Protocol
  • Context Event
  • Context Event Type
  • Context Ledger
  • Context List Sink
  • Context Manager
  • Context No Op Sink
  • Context Optimizer
  • Context Pack
  • Context Policy
  • Context Segment
  • Context Share Mode
  • Context Snapshot
  • Context Trace Emitter
  • Context Trace Sink Protocol
  • Conversation Reply
  • Conversation Request Protocol
  • Corpus Stats
  • Custom Memory
  • Custom Tool Use Event
Functions
ABCDEFGHIJKLMNOPQRSTUVW

Reference · praisonai

Modules
  • acp
  • adapters
  • agent
  • Agent Scheduler
  • Agents Generator
  • app
  • Async Agent Scheduler
  • auto
  • bots
  • browser
  • capabilities
  • Chainlit Ui
  • chat
  • claw
  • CLI
  • CLI Backends
  • code
  • config
  • context
  • daemon
  • DB
  • deploy
  • endpoints
  • flow
  • Framework Adapters
  • gateway
  • inc
  • integration
  • integrations
  • jobs
  • kanban
  • LLM
  • MCP Server
  • n8n
  • observability
  • persistence
  • profiler
  • push
  • recipe
  • replay
  • runtime
  • sandbox
  • scheduler
  • security
  • standardise
  • storage
  • Suite Runner
  • templates
  • tools
  • train
  • Train Vision
  • Ui Agents
  • Ui Bot
  • Ui Chat
  • Ui Dashboard
  • Ui Realtime
  • Ui Replay
  • Upload Vision
  • version
Classes
  • API Call Record
  • Agent Executor Interface
  • Agent Scheduler
  • Agents Generator
  • Auto Generator
  • Base Auto Generator
  • Chat Config
  • Deployer Interface
  • Deployment Scheduler
  • Flow Record
  • Import Profiler
  • Import Record
  • Job Workflow Auto Generator
  • Memory Record
  • Merge Conflict Error
  • Pattern Recommendation
  • Praison Agent Executor
  • Profiler
  • Profiler Compat
  • Role Details
  • Schedule Parser
  • Serve Handler Adapter
  • Single Agent Structure
  • Streaming Record
  • Streaming Tracker
  • Task Details
  • Team Structure
  • Timing Record
  • Tool Timeout Error
  • Train Model
  • Train Vision Model
  • Upload Vision Model
  • Validation Gate
  • Workflow Agent Details
  • Workflow Auto Generator
  • Workflow Parallel Details
  • Workflow Route Details
  • Workflow Step Details
  • Workflow Structure
Functions
ABCDEFGHILMOPRSTUV

Reference · typescript

Modules
  • agent
  • AI
  • approval
  • auto
  • bots
  • cache
  • CLI
  • cli-backend
  • compute
  • conditions
  • config
  • context
  • DB
  • decisions
  • display
  • embeddings
  • escalation
  • eval
  • events
  • frameworks
  • gateway
  • goal
  • guardrails
  • hooks
  • integrations
  • knowledge
  • LLM
  • managed
  • MCP
  • memory
  • model-harness
  • observability
  • OS
  • parity
  • planning
  • plugins
  • process
  • protocols
  • RAG
  • runtime
  • session
  • skills
  • task
  • telemetry
  • tools
  • trace
  • workflows
Classes
ABCDEFGHIKLMOPRSTVW
Functions
  • accuracy Eval
  • aembed
  • aembedding
  • aembeddings
  • and Conditions
  • async Display Callbacks
  • Async Display Callbacks
  • classify LLM Error
  • Clean Triple Backticks
  • cleanup Telemetry
  • cleanup Telemetry Resources
  • clear Display Callbacks
  • clear Error Logs
  • cosine Similarity
  • create Agent Telemetry
  • create Approval Callback
  • create Auto Agents
  • create Condition
  • create Context Agent
  • create Context Event
  • create DB Adapter
  • create Event Bus
  • create File Cache
  • create Guardrail Validation Result
  • create MCP Client
  • create Memory Cache
  • create Plan
  • create Plan Storage
  • create Planning Agent
  • create Pub Sub
  • create RAG
  • create Skill Loader
  • create Skill Manager
  • create Skill Properties
  • create Task Agent
  • create Task Output
  • create Todo List
  • DB
  • detect URL Scheme
  • Detect URL Scheme
  • disable
  • disable Performance Mode
  • disable Telemetry
  • discover And Load Plugins
  • discover Plugins
  • Discover And Load Plugins
  • Discover Plugins
  • display Error
  • display Generating
  • display Instruction
  • display Interaction
  • display Self Reflection
  • display Tool Call
  • Display Error
  • Display Generating
  • Display Instruction
  • Display Interaction
  • Display Self Reflection
  • Display Tool Call
  • embed
  • embedding
  • embeddings
  • enable
  • enable Performance Mode
  • enable Telemetry
  • ensure Plugin Dir
  • Ensure Plugin Dir
  • error Logs
  • Error Logs
  • euclidean Distance
  • evaluate Condition
  • Evaluate Condition
  • get Default DB Adapter
  • get Default Plugin Dirs
  • get Dimensions
  • get MCP Tools
  • get Minimal Telemetry
  • get Observability Adapter
  • get Plugin Manager
  • get Plugin Template
  • get Session Manager
  • get Telemetry
  • Get Config
  • Get Config Path
  • Get Default
  • Get Default Plugin Dirs
  • Get Defaults Config
  • Get Dimensions
  • Get Plugin Manager
  • Get Plugin Template
  • Get Plugins Config
  • guardrail
  • guardrail Result From Tuple
  • is Anthropic Model
  • is Enabled
  • Is Path Like
  • Is Policy String
  • list Compute Providers
  • list Plugins
  • load Plugin
  • Load Plugin
  • log Error
  • normalize Embedding
  • not Condition
  • or Conditions
  • parse Plugin Header
  • parse Plugin Header From File
  • parse Skill File
  • Parse Plugin Header
  • Parse Plugin Header From File
  • Parse Policy String
  • performance Eval
  • prompt With Handoff Instructions
  • register Compute Provider
  • register Display Callback
  • Register Display Callback
  • reliability Eval
  • reset Observability Adapter
  • resolve Compute Provider
  • resolve Guardrail Policies
  • Resolve Autonomy
  • Resolve Caching
  • Resolve Context
  • Resolve Execution
  • Resolve Guardrail Policies
  • Resolve Guardrails
  • Resolve Hooks
  • Resolve Knowledge
  • Resolve Memory
  • Resolve Output
  • Resolve Planning
  • Resolve Reflection
  • Resolve Routing
  • Resolve Skills
  • Resolve Web
  • set Default DB Adapter
  • set Embedding Config
  • set Observability Adapter
  • set Task Mode
  • Suggest Similar
  • sync Display Callbacks
  • Sync Display Callbacks
  • trace
  • trace Context
  • Trace Context
  • track Workflow
  • Track Workflow
  • Validate Config
  • when

Reference · rust

Modules
  • agent
  • agents
  • bots
  • builder
  • bus
  • chat
  • commands
  • conditions
  • config
  • Config Loader
  • context
  • display
  • Display Types
  • embedding
  • error
  • eval
  • extras
  • failover
  • gateway
  • guardrails
  • handoff
  • hooks
  • knowledge
  • LLM
  • main
  • MCP
  • memory
  • Param Resolver
  • parity
  • Parse Utils
  • planning
  • plugins
  • policy
  • praisonai
  • Praisonai Derive
  • presets
  • prompt
  • protocols
  • RAG
  • run
  • sandbox
  • session
  • skills
  • specialized
  • Specialized Agents
  • streaming
  • task
  • telemetry
  • Telemetry Funcs
  • thinking
  • tools
  • trace
  • ui
  • Workflow Aliases
  • workflows
Classes
ABCDEFGHIJKLMOPQRSTUVW
Functions
ABCDEFGHIJKLMNOPQRSTUVW
Docs/SDK Reference/Classes/Context Event Type • AI Agent SDK
PreviousNext

Context Event Type • AI Agent SDK

ContextEventType: Types of context events for replay.

ContextEventType

Defined in the Context Events module.

AI Agent

Types of context events for replay.

Source

View on GitHub

praisonaiagents/trace/context_events.py at line 295


Related Documentation

Context Concept Context Management Context Strategies
PreviousNext
  • Platform
  • Use Cases
  • Agents
  • Bot
  • Enterprise
  • Partners
  • Community
  • FAQ
  • About
  • University
  • Documentation
  • GitHub

© Praison AI Limited.

Search in