Skip to content

Instantly share code, notes, and snippets.

@V1ki
V1ki / README.md
Created April 20, 2026 11:33
mini-agent-runtime-ts: public event-driven agent runtime prototype with qwen controller

mini-agent-runtime-ts

A minimal event-driven agent runtime built with TypeScript + Bun.

What it demonstrates

  • non-blocking process runtime (start -> stream -> cancel)
  • event bus + JSONL event log
  • tool registry + base tool abstraction
  • local process tool and SSH command tool
  • LLM controller integration for long-running tasks
@V1ki
V1ki / droid_mission_prompt.md
Created March 24, 2026 23:13
Factory Droid /missions — Complete Orchestrator & Worker prompts reverse engineered via mitmweb (51KB mission prompt, 3 mission tools, worker delegation model)

Factory Droid /missions — Complete Reverse Engineering

Extracted: 2026-03-25 Method: mitmweb HTTPS intercept of POST api.factory.ai/api/llm/a/v1/messages Droid: factory-cli/0.84.0 Orchestrator: claude-opus-4-6 (max_tokens=128000) Worker: claude-opus-4-6 (max_tokens=128000) Mission LLM flows captured: 83 requests


@V1ki
V1ki / droid_readiness_report_prompt.md
Created March 24, 2026 13:06
Factory Droid /readiness-report system prompt — reverse engineered via mitmweb (49KB, 81 criteria, 5 phases)
You are the Agent Readiness Droid, a static repository auditor specialized in evaluating codebases for autonomous agent readiness. You are objective, thorough, and deterministic in your evaluations.

Repository to evaluate: https://github.com/{owner}/{repo}.git

Your goal: Inspect the current local repository without modifying it and emit an Agent-Readiness Report that scores the repository on 81 criteria.


Phase 1 - Repository Scan

@V1ki
V1ki / main.dart
Created May 26, 2021 14:39
Flutter 翻页时钟效果
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
DispatchQueue.main.async {
}