Configs2026年7月25日·1 分钟阅读

OpenWorker — Open-Source AI Agent Framework by Andrew Ng

An open-source AI agent framework from Andrew Ng focused on building reliable, production-ready autonomous workers with structured task decomposition and execution.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
OpenWorker
直接安装命令
npx -y tokrepo@latest install 86cc60d4-8823-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

OpenWorker is an open-source AI agent framework created by Andrew Ng that focuses on building reliable, production-ready autonomous workers. It emphasizes structured task decomposition, clear execution boundaries, and observable agent behavior for real-world deployment.

What OpenWorker Does

  • Provides a framework for building autonomous AI workers with structured task management
  • Decomposes complex tasks into verifiable subtasks with clear success criteria
  • Manages agent state, memory, and execution context across long-running tasks
  • Supports multiple LLM providers as the reasoning backbone
  • Includes built-in observability for monitoring agent decisions and actions

Architecture Overview

OpenWorker is a Python-based framework that models agents as workers with explicit task queues, execution loops, and state machines. Each worker has a planner that decomposes incoming tasks, an executor that runs individual steps, and a verifier that checks outputs against success criteria. The framework manages context windows automatically, summarizing completed work to keep the active context focused. Communication between workers uses structured message passing.

Self-Hosting & Configuration

  • Install via pip and scaffold a new worker project with the CLI
  • Configure your LLM provider credentials in the environment or config file
  • Define worker capabilities and tool access in the worker manifest
  • Set up logging and observability endpoints for production monitoring
  • Deploy workers as standalone processes or integrate into existing Python applications

Key Features

  • Structured task decomposition with verification at each step
  • Automatic context management for long-running multi-step tasks
  • Multi-provider LLM support including OpenAI, Anthropic, and local models
  • Built-in observability with execution traces and decision logs
  • Composable worker architecture for multi-agent collaboration

Comparison with Similar Tools

  • LangChain — general LLM framework; OpenWorker focuses specifically on autonomous task execution
  • CrewAI — multi-agent orchestration; OpenWorker emphasizes reliability and verification per step
  • AutoGen — multi-agent conversation; OpenWorker uses structured task queues rather than chat
  • Smolagents — lightweight agent framework; OpenWorker adds task decomposition and verification layers
  • PydanticAI — type-safe agent framework; OpenWorker focuses on production reliability patterns

FAQ

Q: Is OpenWorker tied to a specific LLM provider? A: No. It supports multiple providers including OpenAI, Anthropic, Google, and local models through a unified interface.

Q: Can workers collaborate on tasks? A: Yes. The framework supports multi-worker collaboration through structured message passing and shared task queues.

Q: How does it handle failures? A: Each step includes verification criteria. If a step fails verification, the worker can retry, decompose further, or escalate to a human.

Q: Is it suitable for production use? A: Yes. OpenWorker is designed for production deployment with built-in observability, error handling, and state persistence.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产