
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@fiberplane/agents
Advanced tools
A toolkit for introspecting and debugging agents built with Cloudflare's Agents SDK.
A toolkit for introspecting and debugging agents built with Cloudflare's Agents SDK.
@fiberplane/agents
provides debugging and introspection capabilities for agents built with Cloudflare's Agents SDK. It allows you to monitor agent state, track messages, and view instance information in real-time.
npm install @fiberplane/agents
# or
yarn add @fiberplane/agents
# or
pnpm add @fiberplane/agents
Use the fiberplane
wrapper for your worker's fetch entrypoint:
import { fiberplane } from "@fiberplane/agents";
export default {
fetch: fiberplane(
async (request: Request, env: Env, ctx: ExecutionContext) => {
// Your existing worker logic...
return await routeAgentRequest(request, env) ||
new Response("Not found", { status: 404 });
}
),
};
Add the withInstrumentation
mixin to any agent class you want to introspect:
import { withInstrumentation } from "@fiberplane/agents";
import { Agent } from "agents";
class SpecialAgent extends Agent<MyEnv, MyState> {
// Your agent implementation...
}
const MySpecialAgent = withInstrumentation(SpecialAgent)
When you use Cloudflare's AI Gateway you can gain visibility into the most recent calls by adding an CLOUDFLARE_API_TOKEN
and CLOUDFLARE_ACCOUNT_ID
to your .dev.vars
file. The API token only needs AI Gateway:Read
permissions. See the Cloudflare documentation around Create API Token
/fp
to your worker's URLThis package is in early development and is considered a work in progress. APIs may change in future releases. Also, please do not use this package in production yet.
This package uses the changeset
workflow for versioning:
pnpm build:agents
from the root of the monorepopnpm changeset
from the root of the monorepopnpm changeset version
when happy with the change descriptionpnpm -F @fiberplane/agents publish
MIT/Apache-2.0
FAQs
A toolkit for introspecting and debugging agents built with Cloudflare's Agents SDK.
The npm package @fiberplane/agents receives a total of 90 weekly downloads. As such, @fiberplane/agents popularity was classified as not popular.
We found that @fiberplane/agents demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.