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

推荐订阅源

D
Docker
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
博客园 - 聂微东
S
SegmentFault 最新的问题
量子位
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Tian AI Autonomous Agents: Task Scheduling with LLM
Jeffrey.Feil · 2026-04-25 · via DEV Community

Jeffrey.Feillp

Tian AI Agent System: Autonomous Task Scheduling with LLM

One of Tian AI's most powerful features is its autonomous agent system — an LLM-driven task scheduler that plans, executes, and adapts tasks without human intervention.

The Problem

Traditional AI assistants can only respond to queries. Tian AI's agent system proactively executes multi-step tasks, making it useful as a real productivity tool.

Architecture

User Request
     ↓
  LLM Parser → Intent Classification
     ↓
  TaskQueue → Dependency Resolution
     ↓
  Safety Whitelist → Permission Check
     ↓
  Task Execution (tools / Python / shell)
     ↓
  Self-Reflection Loop
     ↓
  Result → Summary

Enter fullscreen mode Exit fullscreen mode

Key Components

LLM Parser

Uses Qwen2.5-1.5B to understand natural language requests and decompose them into actionable tasks. Intent categories include plan, execute, search, ask, and greeting.

TaskQueue with Dependency Resolution

Tasks can have dependencies. The queue uses topological sorting to determine execution order. Example:

Task A: "Check disk space" → no deps
Task B: "Backup database" → depends on A
Task C: "Send report" → depends on A and B

Enter fullscreen mode Exit fullscreen mode

Safety Whitelist

Critical for autonomous execution. The whitelist defines:

  • Allowed directories (project root only)
  • Allowed shell commands (no rm -rf, no sudo)
  • Read-only by default; write requires explicit permission
  • Network access to dev.to / huggingface.co only

Self-Evaluation Loop

After each task execution, the system evaluates:

  1. Did the task complete successfully?
  2. Is the output consistent with expectations?
  3. Should alternative approaches be tried?

Greeting Shortcut

For efficiency, common greetings bypass the LLM entirely:

GREETING_PATTERNS = [
    r"(?i)^(hi|hello|hey|你好)\b.*$",
    r"(?i)^(how are you|你|好|在吗)\b.*$",
]

Enter fullscreen mode Exit fullscreen mode

Example: Autonomous Workflow

User says: "Generate a promotional video and post it to Dev.to"

  1. LLM parses → 2 subtasks (generate video, publish article)
  2. TaskQueue resolves dependency: video must be generated before posting
  3. Safety whitelist allows: video generation ✓, but posting blocked (no write permission for dev.to)
  4. System reports: "I can generate the video autonomously, but posting requires your confirmation"

This safety-conscious design is what makes Tian AI trustworthy for autonomous operation.


Published on 2026-04-25 21:19 UTC by Tian AI Dev Team