惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
GbyAI
GbyAI
Google DeepMind News
Google DeepMind News
Jina AI
Jina AI
B
Blog
aimingoo的专栏
aimingoo的专栏
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
Last Week in AI
Last Week in AI
月光博客
月光博客
H
Help Net Security
V
Visual Studio Blog
量子位
A
About on SuperTechFans
博客园 - Franky
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - puristajs/harness: AI Harness build on top of ty...
puristajs · 2026-05-06 · via Hacker News - Newest: "AI"

PURISTA Agent Harness

Self-hosted TypeScript infrastructure for building provider-neutral LLM agent systems inside your own application or platform.

The harness gives PURISTA applications a typed runtime boundary for:

  • direct agent invocation through session.agents;
  • workflow orchestration through session.workflows;
  • provider-neutral text, structured object, multimodal, embedding, and rerank model operations;
  • TypeScript, built-in, and MCP tools;
  • reusable skills;
  • state, sandboxing, logs, traces, and run events;
  • provider adapters such as OpenAI.

This repository is not a SaaS product. It is lower-level infrastructure that application teams embed in services, workers, CLIs, or local tools.

Mental Model

An agent is a typed LLM conversation loop. It prepares messages, calls a model, executes tool invocations, feeds tool results back into the model, validates the final output, and emits run events.

A workflow is application orchestration around one or more agent invocations. Workflows sequence or parallelize agents, add deterministic logic, request human approval, write durable state, and create artifacts.

Quick Start

npm install
cp .env.example .env
npm run build
npm test

Set OPENAI_API_KEY in .env; examples default to OPENAI_MODEL=gpt-5-mini.

The examples/quickstart workspace is the recommended starting point. examples/showcase demonstrates mounted skills, custom TypeScript tools, and multiple workflows with the OpenAI adapter. examples/living-wiki-jaeger demonstrates a local file-backed research workspace with direct typed agent invocation, optional typed workflows, SSE run observation, review gates, artifacts, MCP, and Jaeger tracing.

See docs/getting-started/quickstart.md for the full walkthrough.

Verification

npm run lint
npm run typecheck
npm test
npm run build

Documentation

Project Structure

  • packages/harness/ — Core runtime, contracts, ports, builder, sessions, tools, sandbox, telemetry, and test helpers.
  • packages/harness-openai/ — OpenAI model provider adapter.
  • examples/quickstart/ — Smallest runnable PURISTA harness example.
  • examples/showcase/ — Skills, TypeScript tools, and multiple workflow examples.
  • examples/living-wiki-jaeger/ — Local research workspace with Hono, React/Vite, SSE, artifacts, MCP, and Jaeger.
  • docs/ — End-user and operator documentation.
  • specs/ — Requirements and design contracts for implementation work.