Skip to content

ThinkEx-OSS/tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracer logo

Tracer

How it works

  • Monitors product health signals including user frustration, frontend reliability, web performance, file processing, AI turns, and tool usage.
  • Opens a durable investigation when it detects a real failure or meaningful change from the baseline.
  • Gives the investigator an isolated Linux sandbox with the ThinkEx repository, a full development toolchain, and bounded access to PostHog, Cloudflare, GitHub, and the web.
  • Produces an evidence-backed incident report and can open a tested, narrowly scoped draft pull request when the cause is in the code.

Cloudflare and agent stack

Technology Why Tracer uses it
Cloudflare Workers Runs the app and keeps models, telemetry, secrets, and privileged actions behind one trusted boundary.
Cloudflare Agents SDK Adds stateful agents, scheduled checks, RPC, and live client synchronization.
Cloudflare Think Provides the durable investigation loop: tools, memory, queued work, streaming, and recovery.
Durable Objects + SQLite Persist each monitor and incident thread, including history, transcripts, and reports.
Workers AI Runs the investigation model (@cf/moonshotai/kimi-k2.6) close to the Worker runtime.
Sandbox SDK + Cloudflare Containers Gives every investigation an isolated Linux machine where it can inspect, edit, build, and test the real repository.
Cloudflare Observability Records Tracer's own logs and traces for production debugging.

The investigation container never receives PostHog, Cloudflare, or GitHub credentials. Those remain Worker secrets and are only used by narrow server-side tools and actions.

Tools and integrations

Integration Why Tracer uses it
PostHog API Supplies live product evidence through bounded, read-only HogQL queries.
Cloudflare REST + GraphQL APIs Correlate runtime errors and traffic with versions and deployments.
Firecrawl Adds current public documentation and external context to investigations.
ThinkEx repository Lets the agent verify telemetry findings against the code and run real checks.
GitHub API Publishes a tested fix as a guarded draft PR without granting merge or deploy access.

Application stack

Technology Why Tracer uses it
React, Base UI, Tailwind CSS, and Lucide Build the monitoring and live-investigation interface.
Vite + Cloudflare Vite plugin Build the frontend and Worker as one application.
AI SDK Standardize model messages, streaming, and tool execution.
Zod Validate every tool, action, and provider input at runtime.
TypeScript, Node.js, and pnpm Provide one typed toolchain across the app and investigation container.
Vite+ Run repository checks and production builds.

About

Production monitoring and automated investigation service for ThinkEx

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages