PromptisePromptise
PlatformSoonEnterprise
DocsGitHub
Talk to usGet started
Promptise - AI Framework LogoPromptise

The full-stack framework for agentic systems. Build with the framework. Run it on the platform. Launch it with our engineers.

pip install promptise

[01] Product

  • Framework
  • Platform (coming soon)
  • Enterprise
  • How it works
  • Contact

[02] Framework

  • The Agent
  • The Interface
  • The Harness

[03] Resources

  • Documentation
  • GitHub
  • Why Promptise
  • Use cases
  • Roadmap
  • Guides
  • Learning Paths
  • Questions

[04] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

hello@promptise.com
← Guides> Topic

Observability and debugging

When an agent gives a wrong answer, the cause is usually several steps back: a tool returned something unexpected, the model misread it, and every later step built on the mistake. Observability means recording each model call, tool call, input and output as a connected trace, so you can follow a run step by step instead of guessing from the final answer.

These guides start with tracing an agent's tool calls with OpenTelemetry-compatible spans. The next one uses those traces to diagnose a common failure, an agent that repeats the same step without making progress, and shows how to stop it. The last covers the server side: metrics, logs and health checks for the MCP servers your agents depend on.

11
guides
1
Beginner
9
Intermediate
1
Advanced
3 h
of reading
01

Start here

AI Agent Observability: Trace Tool Calls, Tokens and Cost

Trace every LLM call and tool call your AI agent makes, with tokens, latency and cost, then use the trace to find the exact step that went wrong.

Intermediate · 18 minRead the guide →

Then read on, in this order

10 guides

  1. 02Best AI Agent Observability Tools (2026), ComparedThe best AI agent observability tools in 2026 compared: LangSmith, Langfuse, Phoenix, Datadog and more on tool tracing, cost, evals, PII, OTel and price.Intermediate · 20 minIntermediate · 20 min→
  2. 03AI Agent Stuck in a Loop? How to Detect and Stop ItWhy AI agents get stuck in loops and how to stop them: detect repeated tool calls, cap tool calls per run, and write tool results that end the loop.Intermediate · 18 minIntermediate · 18 min→
  3. 04MCP Server Monitoring: Prometheus, OpenTelemetry and LogsMonitor an MCP server in Python: Prometheus metrics, JSON logs, OpenTelemetry traces and alerts that show which tools are slow, failing or abused.Intermediate · 20 minIntermediate · 20 min→
  4. 05How to Run, Debug and Deploy an AI Agent in PythonRun, debug and deploy a Python AI agent project with one command: a package.json-style manifest, live traces, a terminal UI, JSON logs and an API.Beginner · 15 minBeginner · 15 min→
  5. 06AI Agent Cost Tracking: Tokens and Cost per Run and UserTrack AI agent token usage and cost per model call, run, user and agent: price tables, cost ledgers, alerts and limits. Runnable code with real output.Intermediate · 16 minIntermediate · 16 min→
  6. 07AI Agent Production Checklist: What to Check Before LaunchAn AI agent production checklist: security, approvals, guardrails, limits, cost, observability, evals, deployment and incident response, with code.Intermediate · 17 minIntermediate · 17 min→
  7. 08Are LLMs Black Boxes? What You Can and Can't InspectAre LLMs black boxes? Why model explanations can hide the real cause, and what you can inspect instead: context, tool calls, counterfactual tests.Intermediate · 5 minIntermediate · 5 min→
  8. 09How to Evaluate AI Agents: Evals, LLM Judges and pass^kHow to evaluate AI agents: write golden and refusal tasks, grade tool calls in code, calibrate an LLM judge, measure pass^k and gate CI on the results.Intermediate · 20 minIntermediate · 20 min→
  9. 10LLM Security Monitoring: Detect Attacks With Audit LogsMonitor LLM apps for attacks: what security events to log, which signals mean trouble, detection rules in Python, and alerting without alert fatigue.Intermediate · 10 minIntermediate · 10 min→
  10. 11Audit-Grade Agent Traces Without Storing Prompt ContentAudit-grade agent traces without storing prompt content: what to record, keyed digests, hash chains, per-tenant keys, verification and a tamper check.Advanced · 18 minAdvanced · 18 min→

Other topics

  • Building AI agents in Python
  • Models and providers
  • Tools and the Model Context Protocol (MCP)
  • Memory, context and RAG
  • Agent reasoning patterns
  • Multi-agent systems
  • Guardrails and security
  • Human approvals (human-in-the-loop)
  • Cost control and rate limits
  • Testing and evals
  • Runtime, triggers and deployment
  • Frameworks and comparisons
  • AI at work
  • AI for leaders
  • Enterprise AI agents

In the documentation

  • Observabilitydocs ↗
  • MCP server observabilitydocs ↗
  • Eventsdocs ↗

Build it with Promptise Foundry.

The code in these guides runs on Promptise Foundry, an open-source Python framework for AI agents and MCP servers.

QuickstartAll guides