Skip to content

AgentOS Developer Docs

This site is the unified entry point for developers building apps with AgentOS.

These docs now include not only traditional explanations and examples, but also reusable prompts and fact checklists you can send directly to Claude, Codex, Cursor, ChatGPT, and similar AI coding tools.

AgentOS Docs

Let developers spend their time on scenario innovation.

AgentOS is valuable because it brings the model gateway, agent assembly layer, multimodal capabilities, and RAG services together. Developers can validate their own vertical scenarios faster instead of first solving where models come from, how agents should be orchestrated, or how RAG should be built.

Before spending time on an Agent App, first decide whether your scenario truly needs an agent

AgentOS is great for helping developers build agent apps faster, but not every AI scenario should become an agent.
Based on two official OpenAI guides, agents are usually worth the investment only when your workflow combines multi-step decision making, tool or system interaction, and genuine ambiguity.

You can read the original guides here:

When an Agent App is a strong fit

It requires a multi-step workflowThe job is not “generate one answer and stop.” The system needs to decide what to do next, when to stop, when to retry, and when to hand control back to the user.
It needs tools or external systemsThe scenario goes beyond chat and must read documents, query data, call APIs, update records, or trigger actions across systems.
The problem is ambiguous and judgment-heavyIf the work looks more like an experienced analyst than a fixed rules engine, an agent is often a better fit.

When you should not rush into building an Agent App

It is only a single-step generation taskIf the feature is mainly Q&A, summarization, rewriting, translation, or classification, a regular LLM feature may be enough.
The workflow is deterministicIf your rules, branching logic, and approvals are already very clear, traditional workflow automation or a rules engine is often more reliable and cheaper.
The need is capability access, not agent orchestrationIf what you really need is TTS, ASR, embeddings, search, or document Q&A, start with those capabilities directly instead of building an agent first.

If it is not an agent scenario yet, what should you build instead?

In Identifying and scaling AI use cases, OpenAI groups many practical AI opportunities into six lower-level primitives:

  • Content creation
  • Research
  • Coding
  • Data analysis
  • Ideation and strategy
  • Automation

If your scenario looks more like one of these primitives than a system independently executing workflows, then an Agent App may not be the right next step.
In that case, it may be better to build:

  • a text or multimodal feature on top of modelkit
  • a direct tts / asr / embeddings capability page
  • a knowledge feature on top of ragkit
  • a regular workflow automation or rules-based system

Why developers typically choose AgentOS

  • They do not want to build a separate model platform first and would rather focus on their product-specific scenario
  • They already know their tools and domain flow well, but do not want to implement agent orchestration from scratch
  • They need more than text models, including image support, TTS, ASR, and embeddings, and want them behind one gateway
  • They need RAG, but do not want to start from embeddings, vector stores, and document lifecycle plumbing

Where to start

  • If you plan to hand the task directly to an AI coding tool, start with AI-Assisted Integration
  • If you already have your own complex agent and only need model access, start with TypeScript Quickstart
  • If you want to decide between ModelKit, AgentKit, and RagKit, start with Choose Your Stack
  • If you are building for Dart or Flutter, start with Dart Quickstart
  • If you want to see working code first, go straight to examples/

Common entry points

Doc structure

  • getting-started/: onboarding and quickstarts
  • concepts/: published concept pages
  • guides/: polished task-oriented guides
  • examples/: minimal and integration examples
  • draft/: work-in-progress references, outlines, and draft pages

Documentation sources

This repository only maintains the documentation source text and information architecture. Implementation details and API facts come from the following source repositories: