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> Library> Topic

Audit logging and security monitoring for LLM systems

An audit log records who did what, when and with what result: each model call, tool call, approval and denial. For AI agents it answers the questions that matter afterwards, such as which agent changed a record and who approved it, and it is often required for compliance. A log is only useful if it cannot be changed quietly, which is why tamper-evident designs chain each entry to the one before.

Logs also feed monitoring: detection rules can flag injection attempts, unusual tool use or data leaving the system, and a response plan says what happens next. These guides cover tamper-evident audit logs in Python, audit trails for authenticated MCP servers, detecting attacks from logs, and incident response in a production security checklist.

10
guides
8
Intermediate
2
Advanced
3 h
of reading

Start here

AI Agent Lifecycle Hooks: Run Code on Agent Events

AI agent lifecycle hooks: run code when an agent starts, queues a task, builds a prompt or is refused. Block, rewrite, shell hooks and fail-closed rules.

Intermediate · 20 minRead the guide →

9 guides

  1. 01Best 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 minObservability and debuggingIntermediate · 20 minObservability and debugging→
  2. 02MCP Middleware for Servers: Auth, Logging, Rate LimitsMCP middleware adds auth, audit logs, rate limits, caching and timeouts to every tool call. How the pipeline and ordering work in FastMCP and Promptise.Intermediate · 18 minTools and the Model Context Protocol (MCP)Intermediate · 18 minTools and the Model Context Protocol (MCP)→
  3. 03AI Agent Governance: How to Govern AI Agents in PracticeAI agent governance in practice: owners, approvals, limits, logging, review cadence and incident steps for AI agents, with templates. Operational only.Intermediate · 13 minAI for leadersIntermediate · 13 minAI for leaders→
  4. 04Build an Authenticated MCP Server for Your AI Agent (Python)An MCP server authentication tutorial in Python: JWT login and roles, an agent that acts for each user, an attack script and a verified audit log.Intermediate · 25 minTools and the Model Context Protocol (MCP)Intermediate · 25 minTools and the Model Context Protocol (MCP)→
  5. 05AI Agent Audit Logging: Tamper-Evident Logs in PythonLog every AI agent tool call to an HMAC-chained file, then catch edits, deletions and reordering with one command. Real tamper tests, real output.Intermediate · 15 minTools and the Model Context Protocol (MCP)Intermediate · 15 minTools and the Model Context Protocol (MCP)→
  6. 06LLM 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 minObservability and debuggingIntermediate · 10 minObservability and debugging→
  7. 07LLM Security Checklist for Production SystemsAn LLM security checklist for production: prompts and secrets, injection, RAG access, output handling, tools, dependencies, limits, monitoring, sign-off.Intermediate · 10 minLLM SecurityIntermediate · 10 minLLM Security→
  8. 08Audit-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 minObservability and debuggingAdvanced · 18 minObservability and debugging→
  9. 09SPIFFE for AI Agents: Workload Identity Without API KeysUse SPIFFE and SPIRE for AI agent identity: X.509 vs JWT-SVIDs, calling APIs and MCP servers, cloud workload identity compared, with runnable code.Advanced · 20 minGuardrails and securityAdvanced · 20 minGuardrails and security→

Related topics

  • Model Context Protocol (MCP)54
  • Authentication and Access Control20
  • Observability24
  • AI Governance11
  • Deployment40
  • Guardrails22
  • Human-in-the-Loop27
  • Cost Control29

Topic hubs

  • Tools and the Model Context Protocol (MCP)→
  • Observability and debugging→
  • Guardrails and security→
  • Enterprise AI agents→

By category and level

  • AI Engineering guides147
  • LLM Security guides10
  • Enterprise AI guides8
  • Intermediate guides140
  • Advanced guides38

Search every guide.

The library lists all guides with filters for topic, level, category and reading time.

All guidesLearning paths