# JamJet > The open-source safety layer for AI agents — policy checks, audit trails, human approval, crash recovery, cost limits, and memory — without cloud or framework lock-in. Works alongside LangGraph, CrewAI, OpenAI Agents SDK, Spring AI, and other frameworks via MCP and A2A. JamJet is not a replacement for your agent framework. It is a runtime that sits between your agent and everything it touches (models, tools, memory, other agents) and decides what is allowed, what is recorded, and what survives. Apache 2.0. Python and Java SDKs. Rust core. ## Identity - Name: JamJet - Tagline: The safety layer behind your AI agents - License: Apache 2.0 - GitHub org: [jamjet-labs](https://github.com/jamjet-labs) - Main repo: [jamjet-labs/jamjet](https://github.com/jamjet-labs/jamjet) - Java runtime repo: [jamjet-labs/jamjet-runtime-java](https://github.com/jamjet-labs/jamjet-runtime-java) - Spring repo: [jamjet-labs/jamjet-spring](https://github.com/jamjet-labs/jamjet-spring) - PyPI: [jamjet](https://pypi.org/project/jamjet/) (`pip install jamjet`) - Maven Central group: `dev.jamjet` - crates.io: [jamjet-engram](https://crates.io/crates/jamjet-engram), [jamjet-engram-server](https://crates.io/crates/jamjet-engram-server) - Container registry: [ghcr.io/jamjet-labs/engram-server](https://ghcr.io/jamjet-labs/engram-server) - MCP Registry: [io.github.jamjet-labs/engram-server](https://registry.modelcontextprotocol.io/servers/io.github.jamjet-labs/engram-server) ## What JamJet controls (six failure modes) 1. Lost progress — durable execution; the run resumes from the exact failed node after a crash. 2. Unsafe tool calls — a 4-level policy hierarchy blocks the call before execution. 3. Skipped approvals — durable pause/resume primitives; runs survive worker restarts. 4. Runaway cost — per-workflow and per-agent token and dollar budgets, runtime-enforced. 5. Missing audit — separate, append-only audit log, retention-aware, compliance-export ready. 6. Forgotten context — Engram surfaces durable facts (with conflict detection and timestamps), not raw chat history. ## Core pages - [Homepage](https://jamjet.dev): editorial overview with stack diagram, failure modes, code, Cloud + Engram pair, running log - [JamJet Cloud](https://jamjet.dev/cloud): hosted control plane — trace timeline, policy violations, approval queue, cost guardrails, audit export, hosted Engram. Free tier available at [app.jamjet.dev](https://app.jamjet.dev) - [Compare](https://jamjet.dev/compare): how JamJet fits with LangGraph, CrewAI, Pydantic AI, Google ADK, OpenAI Agents SDK, Temporal, LangSmith/Arize, AWS Bedrock / Azure AI Foundry / Vertex, vanilla Python - [Engram](https://jamjet.dev/engram): open-source memory for AI agents — fact extraction, conflict detection, hybrid retrieval, consolidation; works via MCP with any framework - [Guardrails](https://jamjet.dev/guardrails/): zero-dependency Python library that checks text going into and out of a model and returns allow, redact or deny with provenance. Structural prompt injection in the encoding, PII, secrets, and caller-defined rules. Published precision and recall per check, gated in CI - [The Gate](https://jamjet.dev/gate/): interactive policy playground: the real policy engine blocks, holds, and audits tool calls; visitors approve held actions and verify tamper-evident receipts - [Research](https://jamjet.dev/research): replay engine for reproducible multi-agent experiments — strategy comparison, sweeps, paper-ready exports - [Benchmarks](https://jamjet.dev/benchmarks): runtime economics and reliability benchmarks (open methodology, reproducible) - [Security](https://jamjet.dev/security): responsible disclosure, telemetry policy, dependency posture - [Blog](https://jamjet.dev/blog): runtime safety, agent governance, engineering deep dives ## Detailed comparisons - [JamJet vs Temporal](https://jamjet.dev/compare/temporal): durable workflows vs. agent-native governance — when to use which (long-form, honest) ## Documentation - [Quickstart (60s)](https://docs.jamjet.dev/en/docs/quickstart): install, run a workflow, try crash recovery - [Concepts](https://docs.jamjet.dev/en/docs/concepts) - [Cloud quickstart](https://docs.jamjet.dev/en/docs/cloud-quickstart) - [MCP guide](https://docs.jamjet.dev/en/docs/mcp) - [A2A guide](https://docs.jamjet.dev/en/docs/a2a) - [Eval harness](https://docs.jamjet.dev/en/docs/eval) - [Research guide](https://docs.jamjet.dev/en/docs/research-guide) - [Enterprise controls](https://docs.jamjet.dev/en/docs/enterprise) - [Migrate from LangGraph](https://docs.jamjet.dev/en/docs/migrate/from-langgraph) - [Migrate from CrewAI](https://docs.jamjet.dev/en/docs/migrate/from-crewai) - [Migrate from OpenAI direct](https://docs.jamjet.dev/en/docs/migrate/from-openai-direct) ## Java runtime - Pure-Java agent runtime with @DurableAgent crash recovery, ByteBuddy instrumentation, virtual threads, MCP client+server, and plugin hot-reload - 8.9× faster than the REST sidecar in our benchmark (in-process method calls vs. HTTP hops) - Maven Central group: `dev.jamjet:jamjet-runtime-*` (core, protocols, instrument, plugins, server, spring-boot-starter, parent POM) - Spring Boot integration: `dev.jamjet:jamjet-spring-boot-starter` and `dev.jamjet:engram-spring-boot-starter` - LangChain4j integration: `dev.jamjet:langchain4j-jamjet` - Companion site: [java-ai-memory.dev](https://java-ai-memory.dev) for Engram in Java - Launch post: [Zero-sidecar durable agents in Java](https://jamjet.dev/blog/zero-sidecar-durable-agents-java/) ## Notable blog posts - [Why we built JamJet](https://jamjet.dev/blog/why-we-built-jamjet): the demo-to-production gap and the runtime-shaped hole - [Your AI agents won't survive an audit](https://jamjet.dev/blog/ai-agents-wont-survive-audit/): EU AI Act, runtime-enforced policy, audit posture - [Zero-sidecar durable agents in Java](https://jamjet.dev/blog/zero-sidecar-durable-agents-java/): Java runtime launch and benchmark - [The state of memory in Java AI agents](https://jamjet.dev/blog/state-of-memory-java-ai-agents/): landscape survey - [Engram — agent memory](https://jamjet.dev/blog/engram-agent-memory/): temporal knowledge graph design - [JamJet Spring Boot Starter](https://jamjet.dev/blog/jamjet-spring-boot-starter/): drop-in durability + audit for Spring AI - [Self-evaluating agent in 50 lines](https://jamjet.dev/blog/self-evaluating-agent-50-lines): eval harness as workflow nodes - [Why Rust for AI workflows](https://jamjet.dev/blog/why-rust-for-ai-workflows): runtime architecture - [Testing AI agents like software](https://jamjet.dev/blog/testing-ai-agents-like-software): replay-driven testing - [Migrating from LangGraph](https://jamjet.dev/blog/langgraph-migration-real-example): real-example migration - [Akka Agents vs JamJet](https://jamjet.dev/blog/akka-agents-vs-jamjet): JVM agent runtimes compared - [Google ADK vs JamJet](https://jamjet.dev/blog/google-adk-vs-jamjet): cloud-coupled vs. cloud-neutral - [Wealth management multi-agent](https://jamjet.dev/blog/wealth-management-multi-agent): regulated industry case - [Companies quietly replacing workflows](https://jamjet.dev/blog/companies-quietly-replacing-workflows): adoption signals - [Phase 3: eval harness + templates](https://jamjet.dev/blog/phase3-eval-harness-templates) - [Phase 4: enterprise security](https://jamjet.dev/blog/phase4-enterprise-security) - [Data governance: PII + retention](https://jamjet.dev/blog/data-governance-pii-retention) - [OAuth federation for agent auth](https://jamjet.dev/blog/oauth-federation-agent-auth) - [Incremental streaming + tiebreaker](https://jamjet.dev/blog/incremental-streaming-tiebreaker): coordinator routing internals - [How to choose an AI agent framework (2026)](https://jamjet.dev/blog/how-to-choose-ai-agent-framework-2026) ## Quick start ```bash pip install jamjet ``` ```python from jamjet import task, workflow, approval @task(model="claude-sonnet-4-6", max_cost=0.50) async def analyze(data: dict) -> Report: """checkpointed, cost-capped""" @workflow async def pipeline(raw): report = await analyze(raw) # crash-safe await approval(report) # durable pause return await publish(report) ``` ## Java quick start ```xml dev.jamjet jamjet-runtime-spring-boot-starter 0.1.1 ``` ```java @DurableAgent public class Researcher { // your existing Spring AI / LangChain4j agent // crash recovery, audit, replay, approvals applied automatically } ``` ## Engram (memory layer) quick start ```bash docker run --rm -i -v engram-data:/data ghcr.io/jamjet-labs/engram-server:0.5.0 ``` Or as an MCP server in Claude Desktop / Cursor: ```json { "mcpServers": { "memory": { "command": "engram", "args": ["serve", "--db", "memory.db"] } } } ``` ## What JamJet is not - Not an agent authoring framework. Use LangGraph, CrewAI, Pydantic AI, OpenAI Agents SDK, Spring AI — JamJet wraps the runtime, not the prompts. - Not a generic workflow engine. Temporal handles general distributed workflows at massive scale; JamJet is agent-specific (memory, MCP/A2A, policy, approvals, cost caps). - Not an observability tool. LangSmith / Arize / Phoenix observe; JamJet enforces — block, halt, approve. - Not a closed-cloud platform. Apache 2.0 source available; runs anywhere. ## Contact - Website: https://jamjet.dev - Docs: https://docs.jamjet.dev - GitHub: https://github.com/jamjet-labs/jamjet - Discord: https://discord.gg/SAYnEj86fr - X / Twitter: https://x.com/jamjetdev - Email: hello@jamjet.dev