
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@t2000/engine
Advanced tools
Agent engine for conversational finance — AISDKEngine (wraps Vercel AI SDK v6 `streamText`) with 26 tools (18 read, 8 write), 12-guard runner across 3 priority tiers, silent intelligence layer, streaming, canvas, BlockVision-backed pricing. Chat-first by
The agent harness library for conversational finance on Sui. It ships 26 financial tools, a 12-guard reasoning pipeline, a USD-aware permission resolver, 4-layer prompt assembly, MCP client/adapters, and the host-composition primitives a host wires into Vercel AI SDK's agent loop. Powers Audric.
[S.391 — 2026-06-09] The runnable
AISDKEngineloop was retired. The engine no longer ships a runnable agent (theAISDKEngine.submitMessage()async-generator loop + itsEngineEventSSE/checkpoint/event-bridge transport had zero live consumers — audric composes AI SDK'sExperimental_Agentdirectly; the CLI/MCP are wallet surfaces with no chat loop). The engine is now a library of tools/guards/permissions/prompt-assembly/internal-context that hosts compose. SeeSPEC_AUDRIC_CODEBASE_AUDIT.md§1.2A.
Not a chatbot. A financial agent. Four systems work together to understand the user's money (Memory), reason about decisions (Reasoning Engine), act through 26 financial tools in one conversation (Agent Harness), and remember what it told them (AdviceLog). Every action it triggers still waits on user confirmation.
npm install @t2000/engine @t2000/sdk
Requires Node.js 18+ · TypeScript 5+ recommended.
The host owns the AI SDK loop and wires the engine's primitives into it: build the tool set, build the per-turn ToolContext + InternalContext, and run guard state + post-write refresh via the step-finish handler.
import { Experimental_Agent as Agent } from 'ai';
import { gateway } from '@ai-sdk/gateway';
import {
READ_TOOL_SET,
WRITE_TOOL_SET,
buildToolContext,
buildInternalContext,
buildStepFinishHandler,
DEFAULT_GUARD_CONFIG,
} from '@t2000/engine';
import { T2000 } from '@t2000/sdk';
const agent = await T2000.create();
const config = { agent, anthropicApiKey: process.env.ANTHROPIC_API_KEY };
const toolContext = buildToolContext(config, { signal: AbortSignal.timeout(60_000) });
const messages: { role: string; content: unknown }[] = [];
const internalContext = buildInternalContext({
toolContext,
walletAddress: agent.address,
guards: DEFAULT_GUARD_CONFIG,
getMessages: () => messages,
});
const llm = new Agent({
model: gateway('anthropic/claude-sonnet-4-5'),
tools: { ...READ_TOOL_SET, ...WRITE_TOOL_SET },
experimental_context: internalContext,
onStepFinish: buildStepFinishHandler(internalContext, { sessionSpendUsd: 0 }),
});
for await (const part of llm.stream({ prompt: 'What is my balance?' }).fullStream) {
if (part.type === 'text-delta') process.stdout.write(part.text);
}
Write tools yield through AI SDK's native needsApproval round-trip (every write taps to confirm under zkLogin). See the host contract for the full pattern.
| System | One-line |
|---|---|
| 🎛️ Agent Harness | 26 tools (18 read + 8 write), one agent. Parallel reads via the AI SDK step model; serial writes via a needsApproval round-trip. |
| ⚡ Reasoning Engine | Thinks before it acts. Adaptive thinking effort, 12 guards across 3 priority tiers (Safety > Financial > UX), preflight validation, prompt caching. |
| 🧠 Memory | Knows your finances. Vector-search-backed MemoryStore (recall + write) interface; the host assembles the 4-layer system prompt (base → <memory_recall> → skill recipe → conversation) in its prepareStep. |
| 📓 AdviceLog | Remembers what it told you. Host-side log (record_advice); last 30 days hydrate every turn so the chat never contradicts itself. |
The engine package owns Agent Harness and Reasoning Engine, plus the MemoryStore interface. Vector backends (e.g. MemWal) and the AdviceLog model live host-side.
Tool surface, USD-aware permission resolver, guard pipeline, memory injection, MCP client + adapters, host composition contract → developers.t2000.ai/agent-engine
MIT — see LICENSE.
FAQs
Agent engine for conversational finance — AISDKEngine (wraps Vercel AI SDK v6 `streamText`) with 26 tools (18 read, 8 write), 12-guard runner across 3 priority tiers, silent intelligence layer, streaming, canvas, BlockVision-backed pricing. Chat-first by
The npm package @t2000/engine receives a total of 678 weekly downloads. As such, @t2000/engine popularity was classified as not popular.
We found that @t2000/engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.