Catalog npm
PACKAGE EXPLORERView in registry

5to1r

npm

Observability and tracing for AI agents.

agentsaillmobservabilitytracing
Versions collected1
Direct dependencies2From release 0.1.0
Last observed20 Oct, 20:40 UTC

README

Current package documentation

@5to1r/sdk

Observability and tracing for AI agents. Gain full visibility into your agent's decision-making process, tool usage, and LLM costs.

Installation

npm install @5to1r/sdk
# or
yarn add @5to1r/sdk

Quickstart

  1. Get your API Key from the 5to1r Dashboard.
  2. Set it as an environment variable:
export FIVETOONE_API_KEY=your_sk_live_...
  1. Instrument your agent:
import { traceAgent, llmCall, toolCall } from '@5to1r/sdk';

const agent = traceAgent(async (query: string) => {
  // LLM Call
  await llmCall({
    input: query,
    output: "Thinking...",
    modelId: "gpt-4o",
    costUsd: 0.002,
    latencyMs: 800
  });
  
  // Tool Use
  await toolCall({
    toolName: "web_search",
    input: { q: query },
    output: "Found results...",
    latencyMs: 1200
  });
  
  return "Final Answer";
});

Features

  • traceAgent Wrapper: Automatically captures run lifecycle and errors.
  • Granular Spans: Manually record LLMs, tools, and custom decisions.
  • Environment Aware: Automatically picks up API keys from process.env.
  • Lightweight: Minimal dependencies, optimized for Node.js and Edge runtimes.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0Registry latest16 May 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:28bc64d5b6c38cc87efbdf7c01a524546efbc33be6f2d0420d23389eadf261c5