• [Why Kong ](/company/why-kong)Why Kong
  • _API & AI CONNECTIVITY TECHNOLOGIES_
    The Unified API and AI Platform
    []
    API ManagementAI ManagementEvent ManagementMonetization
    Migration Services
    API Advisory Services + Forward Deployed EngineersNEW
    • RUNTIMES
    • [API Gateway ](/products/kong-gateway)API Gateway
    • [AI Gateway HOT](/products/kong-ai-gateway)AI Gateway HOT
    • [Event Gateway ](/products/event-gateway)Event Gateway
    • [Service Mesh ](/products/kong-mesh)Service Mesh
    • [Context Mesh ](/products/kong-konnect/features/context-mesh)Context Mesh
    • [Kong Operator ](/products/kong-operator)Kong Operator
    • [Webhook Engine ](/products/kong-webhook-engine)Webhook Engine
    • CORE SERVICES
    • [AI Registry NEW](/products/mcp-registry)AI Registry NEW
    • [Catalog ](/products/kong-konnect/features/api-service-catalog)Catalog
    • [APIOps & Automation ](/products/apiops-automation)APIOps & Automation
    • APPS & AI AGENTS
    • [Developer Portal ](/products/kong-konnect/features/developer-portal)Developer Portal
    • [Usage Billing & Metering ](/products/kong-konnect/features/usage-based-metering-and-billing)Usage Billing & Metering
    • [Observability ](/products/kong-konnect/features/api-observability)Observability
    • [KAi Agent ](/products/kong-konnect/features/kai-ai-agent)KAi Agent
    • [Identity & Access ](/products/governance-and-identity)Identity & Access
    • [AI Cost Management ](/products/ai-cost-management)AI Cost Management
    DEVELOPER TOOLS
    [Insomnia ](https://insomnia.rest/)Insomnia [Plugins ](https://developer.konghq.com/plugins/)Plugins [Volcano ](https://volcano.dev/)Volcano [Kong MCP ](https://developer.konghq.com/konnect-platform/konnect-mcp/)Kong MCP [Documentation ](https://docs.konghq.com/)Documentation [Open Source ](/community)Open Source
      • FOR PLATFORM TEAMS
      • [Developer Platform ](/solutions/building-developer-platform)Developer Platform
      • [Kubernetes and Microservices ](/solutions/build-on-kubernetes)Kubernetes and Microservices
      • [Observability ](/solutions/observability)Observability
      • [Service Mesh Connectivity ](/solutions/service-mesh-connectivity)Service Mesh Connectivity
      • [Kafka Event Streaming ](/solutions/kafka-stream-api-management)Kafka Event Streaming
      • FOR EXECUTIVES
      • [Open Banking ](/solutions/open-banking)Open Banking
      • [Legacy Migration ](/solutions/legacy-api-management-migration)Legacy Migration
      • [Platform Cost Reduction ](/solutions/api-platform-consolidation)Platform Cost Reduction
      • [Kafka Cost Optimization ](/solutions/reduce-kafka-cost)Kafka Cost Optimization
      • [API Monetization ](/solutions/api-monetization)API Monetization
      • [AI Monetization ](/solutions/ai-monetization)AI Monetization
      • [AI FinOps ](/solutions/ai-cost-governance-finops)AI FinOps
      • FOR AI TEAMS
      • [Agent Gateway ](/agent-gateway)Agent Gateway
      • [Trigger Agents from Events ](/solutions/event-driven-ai-agents)Trigger Agents from Events
      • [AI Governance ](/solutions/ai-governance)AI Governance
      • [AI Security ](/solutions/ai-security)AI Security
      • [Token Cost Management ](/solutions/ai-cost-optimization-management)Token Cost Management
      • [Agentic Infrastructure ](/solutions/agentic-ai-workflows)Agentic Infrastructure
      • [MCP Production ](/solutions/mcp-production-and-consumption)MCP Production
      • [MCP Traffic Gateway ](/solutions/mcp-governance)MCP Traffic Gateway
      • FOR DEVELOPERS
      • [Mobile App API Development ](/solutions/mobile-application-api-development)Mobile App API Development
      • [GenAI App Development ](/solutions/power-openai-applications)GenAI App Development
      • [API Gateway for Istio ](/solutions/istio-gateway)API Gateway for Istio
      • [Decentralized Load Balancing ](/solutions/decentralized-load-balancing)Decentralized Load Balancing
      • BY INDUSTRY
      • [Financial Services ](/solutions/financial-services-industry)Financial Services
      • [Healthcare ](/solutions/healthcare)Healthcare
      • [Higher Education ](/solutions/api-platform-for-education-services)Higher Education
      • [Insurance ](/solutions/insurance)Insurance
      • [Manufacturing ](/solutions/manufacturing)Manufacturing
      • [Retail ](/solutions/retail)Retail
      • [Software & Technology ](/solutions/software-and-technology)Software & Technology
      • [Transportation ](/solutions/transportation-and-logistics)Transportation
    NEW
    Kong for Startups
    Apply for $100k credits & 50% off AI Gateway
  • [Pricing ](/pricing)Pricing
      • DOCUMENTATION
      • [Kong Konnect ](https://developer.konghq.com/konnect/)Kong Konnect
      • [Kong Gateway ](https://developer.konghq.com/gateway/)Kong Gateway
      • [Kong Mesh ](https://developer.konghq.com/mesh/)Kong Mesh
      • [Kong AI Gateway ](https://developer.konghq.com/ai-gateway/)Kong AI Gateway
      • [Kong Event Gateway ](https://developer.konghq.com/event-gateway/)Kong Event Gateway
      • [Kong Insomnia ](https://developer.konghq.com/insomnia/)Kong Insomnia
      • [Plugin Hub ](https://developer.konghq.com/plugins/)Plugin Hub
      • EXPLORE
      • [Blog ](/blog)Blog
      • [Customer Stories ](/customer-stories)Customer Stories
      • [Learning Center ](/blog/learning-center)Learning Center
      • [eBooks ](/resources/e-book)eBooks
      • [Reports ](/resources/reports)Reports
      • [Demos ](/resources/demos)Demos
      • [Videos ](/resources/videos)Videos
      • EVENTS
      • [API + AI Summit ](/events/conferences/api-ai-summit)API + AI Summit
      • [Webinars ](/events/webinars)Webinars
      • [User Calls ](/events/user-calls)User Calls
      • [Workshops ](/events/workshops)Workshops
      • [Meetups ](/events/meetups)Meetups
      • [See All Events ](/events)See All Events
      • FOR DEVELOPERS
      • [Get Started ](https://developer.konghq.com/)Get Started
      • [Community ](/community)Community
      • [Certification ](/academy/certification)Certification
      • [Training ](https://education.konghq.com)Training
      • COMPANY
      • [About Us ](/company)About Us
      • [We're Hiring! ](/company/careers)We're Hiring!
      • [Press Room ](/company/press-room)Press Room
      • [Contact Us ](/company/contact-us)Contact Us
      • [Kong Partner Program ](/partners)Kong Partner Program
      • [Enterprise Support Portal ](https://support.konghq.com/s/)Enterprise Support Portal
      • [Documentation ](https://developer.konghq.com)Documentation
  • [](/search)
  • [Login](https://cloud.konghq.com/login)Login
  • [Book Demo](/contact-sales)Book Demo
  • [Get Started](/products/kong-konnect/register)Get Started
[Blog](/blog)Blog
  • [AI Gateway ](/blog/tag/ai-gateway)AI Gateway
  • [AI Security ](/blog/tag/ai-security)AI Security
  • [AIOps ](/blog/tag/aiops)AIOps
  • [API Security ](/blog/tag/api-security)API Security
  • [API Gateway ](/blog/tag/api-gateway)API Gateway
|
    • [API Management ](/blog/tag/api-management)API Management
    • [API Development ](/blog/tag/api-development)API Development
    • [API Design ](/blog/tag/api-design)API Design
    • [Automation ](/blog/tag/automation)Automation
    • [Service Mesh ](/blog/tag/service-mesh)Service Mesh
    • [Insomnia ](/blog/tag/insomnia)Insomnia
    • [Event Gateway ](/blog/tag/event-gateway)Event Gateway
    • [View All Blogs ](/blog/page/1)View All Blogs
We're Entering the Age of AI Connectivity [Read more](/blog/news/the-age-of-ai-connectivity)Read moreProducts & Agents:
    • [Kong AI Gateway](/products/kong-ai-gateway)Kong AI Gateway
    • [Kong API Gateway](/products/kong-gateway)Kong API Gateway
    • [Kong Event Gateway](/products/event-gateway)Kong Event Gateway
    • [Kong Metering & Billing](/products/kong-konnect/features/usage-based-metering-and-billing)Kong Metering & Billing
    • [Kong Insomnia](/products/kong-insomnia)Kong Insomnia
    • [Kong Konnect](/products/kong-konnect)Kong Konnect
  • [Documentation](https://developer.konghq.com)Documentation
  • [Book Demo](/contact-sales)Book Demo
  1. Home
  2. Blog
  3. Product Releases
  4. Introducing Advanced AI Observability: See the Whole Agent Journey
[Observability](/blog/tag/observability)Observability
September 30, 2026
3 min read

# Introducing Advanced AI Observability: See the Whole Agent Journey

Alex Drag
Head of Product Marketing

**Trace complete AI sessions across models, tools, agents, and infrastructure — and understand where performance, cost, and failures accumulate.**

Traditional observability was built around requests. A request comes in. A service processes it. A response goes out. You trace what happened in between. That model works well for APIs. It breaks down for AI.

With agents, a single user request can trigger multiple model calls. An agent might invoke a tool, call another agent, query an MCP server, retry a model, hit a guardrail, and call another tool before finally producing a response. And all of this happens non-determinstically.

And then the user asks another question.

The individual requests might all look healthy. Yet by turn seven, the agent has gone completely sideways.

**The problem isn’t necessarily in a request. It’s in the journey.**

Today, we’re previewing new advanced AI observability capabilities in Kong Konnect that make the **session,not the individual request,the unit of AI observability.**

## Stop debugging AI one request at a time

When an AI application fails, knowing that an individual model call returned a 200 isn’t enough.

You need to know what led to it.

Kong stitches the interactions associated with an AI session together, giving developers a view across the sequence of model calls, tool invocations, policies, and other operations involved in completing the task.

Instead of reconstructing an AI interaction from disconnected requests and logs, teams can follow the execution path from beginning to end.

For each session, developers can inspect signals including:

  • - Model and LLM calls
  • - Tool and MCP interactions
  • - Agent activity
  • - Policy and guardrail execution
  • - Inputs and outputs
  • - Token consumption
  • - Cost
  • - Latency and duration
  • - Successes and failures

You can move from **“the agent failed”** to understanding **where the behavior diverged and what happened before it did.**

## Follow the session, not just the request

Consider an agent tasked with investigating a customer issue.

It might first call a model to interpret the request. Then query customer data through an API. Then invoke an MCP tool. Then call another model. Then execute a PII policy. Then synthesize the final response.

Traditional request-level telemetry gives you fragments of that workflow.

Kong gives you the session.

Developers can start with the complete AI interaction and drill down through the individual operations that comprise it, inspecting inputs, outputs, attributes, models, tokens, costs, and latency along the way.

**Session → Request → Model / Tool / Policy → Input & Output**

That makes it possible to investigate AI systems in the way they actually operate.

## See where AI performance breaks down

AI introduces an entirely new set of operational questions.

Which models are failing most frequently? Which agents are driving latency? Where are tokens being consumed? Are MCP tools introducing failures? Is semantic caching actually improving performance? Which requests are outliers?

Kong brings these signals together across models, providers, agents, users, and MCP servers.

Teams can analyze:

  • - Model success and failure rates
  • - Input and output token consumption
  • - TTFT and TPOT
  • - Request and session latency
  • - Cache hit rates
  • - Agent and model usage
  • - MCP server activity
  • - Cost per request and session
  • - Performance and cost outliers

Instead of treating AI telemetry as a separate collection of model-provider dashboards, teams get a common operational view across their AI infrastructure.

## See how cost accumulates across the AI journey

AI cost has the same problem as AI observability.A provider bill tells you what individual model calls cost. It doesn’t necessarily tell you what it cost to accomplish something.

An agentic task might involve five model calls, three tools, a retry, and another agent before producing an outcome.

Kong connects those interactions into the same session, making it possible to see how tokens, latency, and cost accumulate across the complete AI interaction.

That creates a natural connection between **AI observability and AI cost management**: understand not only what happened, but what the complete journey cost.

## From observing AI to debugging it

Seeing what happened is only part of the problem.

Developers also need a way to investigate why.

Kong is developing a new **Konnect Debugger** that will complement session-level tracing with deeper, live investigation of AI traffic.

Rather than relying exclusively on post-hoc dashboards after something has gone wrong, developers will be able to move from observing AI behavior to actively interrogating it.

Together, session tracing and the Konnect Debugger create a much deeper debugging experience:

**Observe → Trace → Investigate → Debug**

See the entire AI journey. Find the point where behavior changed. Inspect what the model, tool, agent, or policy saw. Then investigate the interaction in context.

## One observability layer across generative and agentic AI

The complexity of AI systems will only increase.

Generative AI applications are becoming multi-turn. Agents are becoming multi-tool. Agentic workflows are becoming multi-agent. And all of them increasingly depend on APIs, MCP servers, models, policies, and enterprise infrastructure working together.

Observability needs to evolve with them.

Kong’s advanced AI observability capabilities are designed to provide a common view across that environment, from individual model calls to complete agentic sessions.

Because when an AI system goes wrong, the question isn’t simply:

**“Which request failed?”**

It’s:

**“What happened across the entire journey, and why?”**

Kong Advanced AI Observability, including session-level tracing, is coming soon to Kong Konnect.

[Learn More](https://konghq.com/products/kong-konnect/features/api-observability)Learn More

- [Observability](/blog/tag/observability)Observability- [AI](/blog/tag/ai)AI- [AI Connectivity](/blog/tag/ai-connectivity)AI Connectivity

Table of Contents

  • Stop debugging AI one request at a time
  • Follow the session, not just the request
  • See where AI performance breaks down
  • See how cost accumulates across the AI journey
  • From observing AI to debugging it
  • One observability layer across generative and agentic AI

## More on this topic

_Reports_

## Gartner® | Market Overview for AI Gateways

_Webinars_

## Building The API Platform For Platform Builders: Where Kong Goes Next

## See Kong in action

Accelerate deployments, reduce vulnerabilities, and gain real-time visibility. 

[Get a Demo](/contact-sales)Get a Demo
**Topics**
- [Observability](/blog/tag/observability)Observability- [AI](/blog/tag/ai)AI- [AI Connectivity](/blog/tag/ai-connectivity)AI Connectivity
Alex Drag
Head of Product Marketing

Recommended posts

# The Architecture Decision Your Multi-Agent System Will Live With

[Engineering](/blog/tag)EngineeringAugust 13, 2026

Multi-agent systems are, at their core, context distribution systems. Every agent in your workflow is a consumer and producer of context. The interesting architectural questions are all about how that context moves. Two operations drive everything:

Hugo Guerrero

# Introducing Kong AI Registry: Self-Service Discovery for Agents

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

API management solved a similar problem for developers. Instead of asking a platform team every time they needed an API, developers could go to a Developer Portal, discover what was available to them, and start building — within the governance bound

Alex Drag

# Take Control of the Economics of AI with Kong AI Gateway

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

Most AI cost management starts with infrastructure. A provider can tell you that you consumed a certain number of input and output tokens on a particular model. An observability platform can show requests, latency, tokens, and traces. A cloud cost p

Alex Drag

# Introducing Kong Context Management: Enterprise Context, Built for Agents

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

Turning an API into an MCP server sounds straightforward: expose each API operation as an MCP tool and let the agent decide which one to use. For small APIs, that can work well. But enterprise APIs can contain hundreds of operations. And as agents c

Alex Drag

# Securing, Observing, and Governing MCP Servers with Kong AI Gateway

[Product Releases](/blog/tag)Product ReleasesApril 24, 2025

The explosion of AI-native applications is upon us. With each new week, massive innovations are being made in how AI-centric applications are being built. There are a variety of tools developers need to consider, be it supplying live contextual data

Greg Peranich

# Kong AI Gateway 2.0 Is Now GA

[Product Releases](/blog/tag)Product ReleasesSeptember 1, 2026

If you're running agents in production, you've felt this problem: every agent, every LLM application, every MCP client needs to be configured against a growing sprawl of MCP servers, each with its own endpoint, its own handshake, and its own access

Greg Peranich

# Kong Mesh 2.14: Finer Zone Proxy Control and Tighter Security

[Product Releases](/blog/tag)Product ReleasesJune 23, 2026

Kong Mesh 2.14 also introduces improvements to the mesh-scoped zone proxy deployment model. This makes it easier to configure and operate zone proxies for specific meshes, including Helm support for mesh zone proxy configuration. For customers runni

Justin Davies

# The Architecture Decision Your Multi-Agent System Will Live With

[Engineering](/blog/tag)EngineeringAugust 13, 2026

Multi-agent systems are, at their core, context distribution systems. Every agent in your workflow is a consumer and producer of context. The interesting architectural questions are all about how that context moves. Two operations drive everything:

Hugo Guerrero

# Introducing Kong AI Registry: Self-Service Discovery for Agents

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

API management solved a similar problem for developers. Instead of asking a platform team every time they needed an API, developers could go to a Developer Portal, discover what was available to them, and start building — within the governance bound

Alex Drag

# Take Control of the Economics of AI with Kong AI Gateway

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

Most AI cost management starts with infrastructure. A provider can tell you that you consumed a certain number of input and output tokens on a particular model. An observability platform can show requests, latency, tokens, and traces. A cloud cost p

Alex Drag

# Introducing Kong Context Management: Enterprise Context, Built for Agents

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

Turning an API into an MCP server sounds straightforward: expose each API operation as an MCP tool and let the agent decide which one to use. For small APIs, that can work well. But enterprise APIs can contain hundreds of operations. And as agents c

Alex Drag

# Securing, Observing, and Governing MCP Servers with Kong AI Gateway

[Product Releases](/blog/tag)Product ReleasesApril 24, 2025

The explosion of AI-native applications is upon us. With each new week, massive innovations are being made in how AI-centric applications are being built. There are a variety of tools developers need to consider, be it supplying live contextual data

Greg Peranich

# Kong AI Gateway 2.0 Is Now GA

[Product Releases](/blog/tag)Product ReleasesSeptember 1, 2026

If you're running agents in production, you've felt this problem: every agent, every LLM application, every MCP client needs to be configured against a growing sprawl of MCP servers, each with its own endpoint, its own handshake, and its own access

Greg Peranich

# Kong Mesh 2.14: Finer Zone Proxy Control and Tighter Security

[Product Releases](/blog/tag)Product ReleasesJune 23, 2026

Kong Mesh 2.14 also introduces improvements to the mesh-scoped zone proxy deployment model. This makes it easier to configure and operate zone proxies for specific meshes, including Helm support for mesh zone proxy configuration. For customers runni

Justin Davies

# The Architecture Decision Your Multi-Agent System Will Live With

[Engineering](/blog/tag)EngineeringAugust 13, 2026

Multi-agent systems are, at their core, context distribution systems. Every agent in your workflow is a consumer and producer of context. The interesting architectural questions are all about how that context moves. Two operations drive everything:

Hugo Guerrero

# Introducing Kong AI Registry: Self-Service Discovery for Agents

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

API management solved a similar problem for developers. Instead of asking a platform team every time they needed an API, developers could go to a Developer Portal, discover what was available to them, and start building — within the governance bound

Alex Drag

# Take Control of the Economics of AI with Kong AI Gateway

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

Most AI cost management starts with infrastructure. A provider can tell you that you consumed a certain number of input and output tokens on a particular model. An observability platform can show requests, latency, tokens, and traces. A cloud cost p

Alex Drag

# Introducing Kong Context Management: Enterprise Context, Built for Agents

[Product Releases](/blog/tag)Product ReleasesSeptember 30, 2026

Turning an API into an MCP server sounds straightforward: expose each API operation as an MCP tool and let the agent decide which one to use. For small APIs, that can work well. But enterprise APIs can contain hundreds of operations. And as agents c

Alex Drag

# Securing, Observing, and Governing MCP Servers with Kong AI Gateway

[Product Releases](/blog/tag)Product ReleasesApril 24, 2025

The explosion of AI-native applications is upon us. With each new week, massive innovations are being made in how AI-centric applications are being built. There are a variety of tools developers need to consider, be it supplying live contextual data

Greg Peranich

# Kong AI Gateway 2.0 Is Now GA

[Product Releases](/blog/tag)Product ReleasesSeptember 1, 2026

If you're running agents in production, you've felt this problem: every agent, every LLM application, every MCP client needs to be configured against a growing sprawl of MCP servers, each with its own endpoint, its own handshake, and its own access

Greg Peranich

# Kong Mesh 2.14: Finer Zone Proxy Control and Tighter Security

[Product Releases](/blog/tag)Product ReleasesJune 23, 2026

Kong Mesh 2.14 also introduces improvements to the mesh-scoped zone proxy deployment model. This makes it easier to configure and operate zone proxies for specific meshes, including Helm support for mesh zone proxy configuration. For customers runni

Justin Davies

## Ready to see Kong in action?

Get a personalized walkthrough of Kong's platform tailored to your architecture, use cases, and scale requirements.

[Get a Demo](/contact-sales)Get a Demo
## step-0
    • Company
    • [About Kong ](/company)About Kong
    • [Customers ](/customer-stories)Customers
    • [Careers ](/company/careers)Careers
    • [Press ](/company/press-room)Press
    • [Events ](/events)Events
    • [Contact ](/company/contact-us)Contact
    • [Pricing ](/pricing)Pricing
      •    * [Terms](/legal/terms-of-use)
      •    * [Privacy](/legal/privacy-policy)
      •    * [Trust and Compliance](https://trust.konghq.com/)
    • Platform
    • [Kong AI Gateway ](/products/kong-ai-gateway)Kong AI Gateway
    • [Kong Konnect ](/products/kong-konnect)Kong Konnect
    • [Kong Gateway ](/products/kong-gateway)Kong Gateway
    • [Kong Event Gateway ](/products/event-gateway)Kong Event Gateway
    • [Kong Insomnia ](/products/kong-insomnia)Kong Insomnia
    • [Documentation ](https://developer.konghq.com)Documentation
    • [Book Demo ](/contact-sales)Book Demo
    • Compare
    • [AI Gateway Alternatives ](/performance-comparison/ai-gateway-alternatives)AI Gateway Alternatives
    • [Kong vs Apigee ](/performance-comparison/kong-vs-apigee)Kong vs Apigee
    • [Kong vs AWS ](/performance-comparison/kong-vsaws)Kong vs AWS
    • [Kong vs IBM ](/performance-comparison/ibm-api-connect-vs-kong)Kong vs IBM
    • [Kong vs Mulesoft ](/performance-comparison/kong-vs-mulesoft)Kong vs Mulesoft
    • [Kong vs Postman ](/performance-comparison/kong-vs-postman)Kong vs Postman
    • [Kong vs LiteLLM ](/performance-comparison/kong-vs-litellm)Kong vs LiteLLM
    • Explore More
    • [Kong for Startups ](/solutions/startup-program)Kong for Startups
    • [Open Banking API Solutions ](/solutions/open-banking)Open Banking API Solutions
    • [API Governance Solutions ](/solutions/api-governance)API Governance Solutions
    • [Istio API Gateway Integration ](/solutions/istio-gateway)Istio API Gateway Integration
    • [Kubernetes API Management ](/solutions/build-on-kubernetes)Kubernetes API Management
    • [API Gateway: Build vs Buy ](/campaign/secure-api-scalability)API Gateway: Build vs Buy
    • Open Source
    • [Kong Gateway ](https://developer.konghq.com/gateway/install/)Kong Gateway
    • [Kuma ](https://kuma.io/)Kuma
    • [Insomnia ](https://insomnia.rest/)Insomnia
    • [Kong Community ](/community)Kong Community

Kong enables the connectivity layer for the agentic era – securely connecting, governing, and monetizing APIs and AI tokens across any model or cloud.

  • English
  • Japanese
  • Frenchcoming soon
  • Spanishcoming soon
  • Germancoming soon
[Everything is 200 OK](https://status.konghq.com/)
© Kong Inc. 2026
Interaction mode