Agent-native Cache Layer

Caching for
AI Agents

Make your agents perform at their peak. Slash latency and get sub-second responses with a multi-layer caching engine designed for agentic workloads.

agent.ts
import OpenAI from "openai";
import { Alchymos } from '@alchymos/openai';

const openai = new OpenAI(process.env.OPENAI_API_KEY);
const alchymos = new Alchymos(process.env.ALCHYMOS_API_KEY);

alchymos.withLlm(openai);

const response = await openai.chat.completions.create(params);

Platform capabilities

Infrastructure for agent workflows

Caching, observability, and integrations for teams building and operating AI agents.

Simple integration

Integrate with a lightweight SDK and keep your existing application architecture.

Lower infrastructure load

Reuse repeated model and tool responses to reduce unnecessary upstream requests.

Inference cost controls

Manage inference spend by serving eligible repeated requests from cache.

Global edge delivery

Distribute cached responses across regions to serve users closer to the edge.

Workflow observability

Review workflow activity, cache behavior, latency, and usage in one place.

Developer-ready SDK

Use TypeScript-first integrations with typed configuration and familiar client APIs.

One layer across the agent workflow

Connect model and tool requests to caching, delivery, and runtime visibility through a focused integration.

Explore the platform

Layered Edge Cache

Agent-aware caching

A multi-layer cache for model and tool requests. Configure reuse behavior to reduce repeated work while preserving control over relevance.

Cache Performance

Monitor cache effectiveness and performance in real-time with detailed hit rate analytics and bandwidth savings.

Auto-refresh enabled
Cache Hit Rate
74.2%
Illustrative data
Cache Hits vs Misses
1,240
Requests served from cache

Fine-Grained Cache Rules

Configure exactly what gets cached and for how long. Create rules based on provider, model, user, or custom metadata.

Granular Configuration

Define precise rules with TTLs, priority levels, and custom tags for powerful cache control.

Semantic Matching

Cache based on meaning, not just exact string matches.

Active Rules
Rules are evaluated in priority order when cache operations occur
OpenAI LLM
Cache responses generated by OpenAI LLM provider
EnabledOPENAILLM600S100
MCP Client
Cache requests coming from client to MCP provider
EnabledMCPCLIENT600S100
MCP Server
Cache server-side requests to MCP provider
DisabledMCPSERVER600S100
MCP Server | Cache Rule
Generated from event alc_hfgl83dxsklb0sdm4m54l
EnabledMCPSERVERTOOLGET_BOOK_BY_TITLE{"title": "Building Agentic AI Systems"}60S100

Workflow observability

Understand agent activity

Stop flying blind. Alchymos gives you deep visibility into your AI traffic. Track costs, debug latency spikes, and audit agent decisions in real-time.

Actions-Level Insights

Track token usage, latency, and error rates by user, team, or agent. Drill down into specific timeframes to identify usage patterns and anomalies.

Activity reporting
Action metrics
Top actions by event count (hover for details)
523
OperationRequests
search_books
20038.2%
search_by_isbn
5610.7%
get_trending_books
5510.5%
get_book_by_id
509.6%
get_book_by_title
479.9%

Latency Pulse Monitoring

Monitor request latency and cache hit/miss durations in real time. Drill into p50 and p90 response times, identify cache misses, and correlate upstream latency to improve agent performance.

Response Time Analytics

Hit vs Miss Duration

Average duration (ms) for cache hits and misses

p50
p90

Detailed Execution Traces

Debug failures by replaying exact request sequences. Identify cache misses and optimize your prompt chains with full visibility into every request step.

Real-time log streaming
workflow chat.completions.create
Nov 25, 2025, 14:42:40
Request ID
req_mieml8ij_sa912r
P95 Latency
4.00 s
Cache Outcome
HIT
Steps Timeline
1
OPENAILLMprompt • chat.completions.create
2.51 s
HIT
Prompt
Do this,
1. Find more information about the book with title 'Building Agentic AI Systems'.
2. Find more information about the author...
2
MCPCLIENTtool • get_book_by_title
0.48 s
HIT
3
OPENAILLMprompt • chat.completions.create
0.33 s
HIT
Tool call: get_author_info
4
MCPCLIENTtool • get_author_info
1.68 s
MISS
5
MCPSERVERtool • get_author_info
0.35 s
HIT

Usage and cost

Understand usage and estimated savings.

Review token consumption and cache reuse in one focused view. Connect repeated work to its effect on billed usage without switching between separate dashboards.

Illustrative product data
Tokens processed
1.3M
Illustrative original usage
Tokens avoided
974K
Illustrative cache reuse
Estimated cost avoided
$29.24
Illustrative period total

Token usage over time

Original and billed usage by day

OriginalBilled

Framework integrations

Integrates with your existing stack

Drop-in compatibility with the most popular AI frameworks and providers. No complex migration required. Just change the base URL or use our lightweight SDK.

Built for Developers

  • Type-safe SDK for TypeScript/Node.js
    Full Intellisense support
  • Zero-config middleware for Python
    Works with FastAPI & Django
  • Drop-in replacement for the most popular frameworks
    No code changes needed
  • Edge-first with minimal overhead
    Engineered for sub-second response times
agent.ts
import OpenAI from "openai";
import { Alchymos } from '@alchymos/openai';

const openai = new OpenAI(process.env.OPENAI_API_KEY);
const alchymos = new Alchymos(process.env.ALCHYMOS_API_KEY);

alchymos.withLlm(openai);

const response = await openai.chat.completions.create(params);

Supported Ecosystem

Connect OpenAI compatible clients, MCP tools, and the Vercel AI SDK. Python support is in development; custom integrations are available on request.

OpenAI

TypeScript

MCP

TypeScript

Vercel AI

TypeScript

LangChain

Python (coming soon)

LangGraph

Python (coming soon)

Custom Framework

Any Language (upon request)

Get started

Operationalize your agent workflows.

Add caching and observability to your AI workflows with a focused integration.

* Illustrative metrics highlighting core system capabilities and potential performance