AgentOS

A TypeScript agent framework for persistent sessions, multi-agent orchestration, and runtime-generated tools.

Stars
★ 690
Last updated
1d ago
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
Library / SDKFramework
Works with
Universal · cross-platformClaude Code · OpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.jsNetwork accessLocal filesystem
Typical use
A learning-product engineer building a tutor that follows one learner over multiple turns with session('student-1') plus episodic, semantic, and working memory.
Not a fit if
  • Teams wanting a ready-made chat UI or hosted service
  • Apps needing lossless retention of unbounded session history
Website
docs.agentos.sh ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-15latest release v0.19.0 (2026-11-15)+0.7 ★/day over 7 days
Source review
64/100 · Some gaps

What does this agent do, and when should you use it?

AgentOS is a TypeScript framework delivered as an npm package, with agent(), agency(), workflow(), AgentGraph, and mission() as its primary authoring surfaces. Its session() API preserves conversation transcripts and can combine episodic, semantic, and working memory; a SOUL.md workspace can also use a Markdown wiki as the source of truth for long-term memory. When a capability gap is detected, an agent can generate a TypeScript function with a Zod schema, submit it to an LLM judge, and run the approved result in a restricted node:vm sandbox for the current session. The framework documents 11 LLM providers alongside RAG, guardrails, voice and telephony, and six coordination strategies for agent teams. It is a developer library intended to be embedded in a Node.js application, not a separately hosted chat product described by the repository.

A developer creates an agent with agent({...}), opens a named conversation through agent.session('id'), and submits work with session.send('...'). Sessions retain assistant tool calls, tool results, and thinking blocks; by default, history is evicted in whole blocks beyond an approximately 120K-token estimate, while session.reseed(snapshot) replaces history atomically and session.messages() provides checkpoint material. agent() invokes a configured LLM provider with memory and tools, while agency() coordinates roles using sequential, parallel, debate, review-loop, hierarchical, or graph strategies. With emergent tooling enabled, the runtime produces a TypeScript function and Zod schema, sends it to a separate LLM judge, and executes approved code in node:vm with a five-second wall-clock limit and no eval, require, or process.

  1. A learning-product engineer building a tutor that follows one learner over multiple turns with session('student-1') plus episodic, semantic, and working memory.
  2. An engineering team assembling a research-to-draft-to-review pipeline with agency(), graph coordination, and dependsOn relationships between researcher, writer, and reviewer roles.
  3. A developer prototyping an automation flow whose static toolset has gaps, using judged TypeScript tools with Zod input schemas that can be reused during the session.
  4. A builder of personal or workspace agents who wants inspectable long-term memory in a SOUL.md directory and memory/ Markdown wiki, wired through souledAgent().
  5. A TypeScript application team that needs one runtime surface for provider selection, RAG, guardrails, or voice and telephony integrations.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
OPENAI_API_KEY ANTHROPIC_API_KEY

How do you install or deploy this agent?

Install with: npm install @framers/agentos. Configure credentials for the selected provider by passing apiKey inline, calling setDefaultProvider() at boot, or using environment-variable detection; the documentation explicitly names OPENAI_API_KEY and ANTHROPIC_API_KEY. The runtime tool sandbox uses node:vm, so it requires Node.js; no minimum Node.js version is documented in the supplied material.

How do you use this agent?

Minimal invocation: import { agent } from '@framers/agentos'; const tutor = agent({ provider: 'anthropic', instructions: 'You are a patient CS tutor.', personality: { openness: 0.9, conscientiousness: 0.95 }, memory: { types: ['episodic', 'semantic'], working: { enabled: true } } }); const session = tutor.session('student-1'); await session.send('Explain recursion with an analogy.'); await session.send('Can you expand on that?'); If provider is omitted, the runtime auto-detects a provider from environment variables. For a stateless session, set both memory: false and history: false; disabling memory alone does not disable the default session transcript.

What are this agent's strengths and limitations?

Pros
  • agent(), agency(), workflow(), AgentGraph, and mission() cover single agents, teams, and graph-style orchestration on one runtime.
  • Runtime tool forging has a defined control path—TypeScript function, Zod schema, LLM-judge approval, and restricted node:vm execution—rather than directly running arbitrary generated code.
  • The transcript is independent of the memory subsystem and exposes reseed(), messages(), and configurable history bounds for checkpointed tool-driving loops.
  • Eleven LLM providers are documented, and cross-provider fallback is explicit through fallbackProviders rather than silently changing providers.
Limitations
  • Adoption requires API credentials or a local CLI provider; model availability, pricing, and behavior remain dependent on the selected integration.
  • Runtime tool forging adds an LLM-judge dependency and is constrained by node:vm, a five-second wall-clock limit, and disabled eval, require, and process access.
  • Default session history is evicted in blocks beyond roughly 120K estimated tokens, so applications requiring full long-lived context need to manage limits or reseed state.
  • The reported LongMemEval figures use a specified gpt-4o reader/judge and benchmark setup, so they do not establish performance for every model or production workload.

How does this agent compare with similar options?

The repository positions AgentOS against LangChain/LangGraph, Vercel AI SDK, CrewAI, and Mastra, highlighting cognitive memory, HEXACO personality, runtime tool forging, six team strategies, vector backends, guardrails, and its published LongMemEval methodology. Practical fit still depends on the target model, workload, and required integrations.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
AgentOS This agent 64 · Some gaps Library / SDKFree + model costs ★ 690 1d ago TypeScript Claude Code · OpenAI API · Claude API
OpenAI Agents SDK (JavaScript/TypeScript) 52 · Major gaps Library / SDKFree + model costs ★ 4k 4d ago TypeScript OpenAI API
VoltAgent 50 · Major gaps CLIFreemium ★ 11k 10d ago TypeScript ChatGPT · OpenAI API · Claude API
Squad 64 · Some gaps CLIFree + model costs ★ 3.4k 1d ago TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
64/ 100 5-point scale 3.2 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 12 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 14/29
Reliability 9/14
Adaptability 15/18
Convention 14/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

The README says code mode is disabled until the host explicitly enables it, and describes test cases, an LLM review, the limits of node:vm, and QuickJS isolation. Config export redacts secrets by default; the OAuth guide describes PKCE, sealed storage, and state validation. Per-action user confirmation for powerful tools and a general rollback mechanism are not evidenced, so these do not earn full marks. Dependency security is mainly addressed through optional or peer dependency guidance; this packet does not show dependency audit evidence. Attribution is limited to the Apache license and repository documentation, while publisher identity and maintenance responsibility remain unclear.

Reliability9 / 14 · 3.2/5

The README gives concrete distinctions among the lightweight agent, GMI, and full runtime, and notes that agency guardrails and RAG options are not applied. Installation and CI workflows are described. Error documentation includes specific OAuth status handling and import failures, but the sample does not show failure handling for every execution path, so full marks are not justified.

Adaptability15 / 18 · 4.2/5

Documentation covers one-shot generation, stateful sessions, multi-agent work, memory, databases, and multiple deployment backends, with concrete configuration examples. It also states boundaries, such as capabilities absent from the lightweight path and the APIs to which certain options apply. Some triggers still depend on model judgment or configuration, and the packet does not fully document limits for every capability.

Convention14 / 18 · 3.9/5

The repository map, API entry points, guides, config export/import, storage, and memory documentation are clearly organized. Installation, TypeScript settings, and environment variables are specific; limitations, partial-import behavior, and the license are documented. AGENTS.md describes versioning and automated release behavior, but it is primarily contributor guidance and does not establish a complete user-facing changelog. Maintainer responsibility and identity are unclear in this sample.

Effectiveness7 / 13 · 2.7/5

The framework exposes session memory, multiple providers, orchestration, tools, and storage APIs with examples that can be adapted directly. The README's benchmark claims are not independently verified by an executed run or the full benchmark materials in this packet, and the cost, complexity, and operational burden of the broad feature set are not quantified, limiting the marginal-value and cost-benefit scores.

Verifiability5 / 8 · 3.1/5

Many behaviors are tied to named APIs, options, and source paths; the README and the setup, storage, and OAuth guides corroborate some capabilities. Benchmark, coverage, and release claims are mostly textual assertions in this packet, without their corresponding run results. Descriptions often separate configuration facts from caveats, but inferences and promotional claims cannot all be independently checked from the supplied material.

Risks and how to mitigate them
  • Do not treat default node:vm tool execution as a security boundary; the README says it is not one, and the host must enable code mode.
  • Config export redacts secrets by default, but metadata is not redacted; check data retention against the actual storage and session configuration.
  • Benchmark figures and coverage badges were not independently verified in this static packet; treat them as repository claims.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 04902297c89c New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agentos.svg)](https://followagents.com/en/agents/agentos)
<a href="https://followagents.com/en/agents/agentos"><img src="https://followagents.com/badge/agentos.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.19.0
    Release notes excerpt
    [0.19.0](https://github.com/framerslab/agentos/compare/v0.18.0...v0.19.0) (2026-11-15) ⚠ BREAKING CHANGES * runtime: A full runtime whose orchestrator config names no promptProfileConfig sends no built-in concise preset; pass DEFAULT_PROMPT_PROFILE_CONFIG to keep it. * runtime: AgentOS.create keeps the runtime's ENABLE_PERSISTENCE value when a host's orchestratorConfig does not set enableConversationalPersistence; before, it was on. * runtime: The full runtime registers no getCurrentDateTime tool of its own; add createCurrentDateTimeTool() to tools to offer it. …
    View on GitHub ↗
  2. v0.18.0
    Release notes excerpt
    [0.18.0](https://github.com/framerslab/agentos/compare/v0.17.3...v0.18.0) (2026-11-14) ⚠ BREAKING CHANGES * memory: require a retention choice for a souled store more than one person or session shares, and sweep expired traces and their pages Features * avatar: take a caller's acceptance check, emotion list and angles in AvatarPipeline ([#802](https://github.com/framerslab/agentos/issues/802)) ([2e5df25](https://github.com/framerslab/agentos/commit/2e5df25f36acadb31bd8aa95244f3513c70ad142)) …
    View on GitHub ↗
  3. v0.17.3
    Release notes excerpt
    [0.17.3](https://github.com/framerslab/agentos/compare/v0.17.2...v0.17.3) (2026-11-13) Features * safety: planted-instruction probes and the runner that checks what ran ([78d20e7](https://github.com/framerslab/agentos/commit/78d20e7bfb7863e678ceba88cfdc740eecc753f1)) * voice: a published speech track carries a machine-readable AI-generated mark ([#816](https://github.com/framerslab/agentos/issues/816)) ([c24b4c5](https://github.com/framerslab/agentos/commit/c24b4c56c8c32509082c106dba17f5347cb5bdaa)) Bug Fixes …
    View on GitHub ↗

FAQ

Can it work with OpenAI and Anthropic?
Yes. The README lists both as supported API-key providers, selectable through provider configuration, inline apiKey, setDefaultProvider(), or environment variables.
Will it silently switch providers if one fails?
No. Cross-provider fallback is enabled only when configured explicitly with agent({ fallbackProviders: [...] }).
Do runtime-generated tools get unrestricted Node.js access?
The README describes a hardened node:vm sandbox with a five-second wall-clock limit and no eval, require, or process. A separate LLM judge must approve a generated tool first.
What does it cost?
The repository reports $0.0090 per correct answer for one LongMemEval-S gpt-4o configuration. Actual cost depends on provider, model, call volume, and features such as tool forging.
Is AgentOS open source?
Yes. The source code is on GitHub (framerslab/agentos) under the Apache-2.0 licence.
Is AgentOS safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored AgentOS 14/29 on trust and safety. None of the eight safety controls the review checks for was missing outright. The repository has changed since that review.
Is AgentOS still maintained?
Yes. The latest commit on GitHub is from 2026-11-15, within the last 30 days. The latest release is v0.19.0 (2026-11-15).
Who makes AgentOS?
AgentOS is published on GitHub by the account framerslab. FollowAgents has not verified which person or company is behind that account.
What is AgentOS's official website?
The project's GitHub repository lists https://docs.agentos.sh as its website. That link is set by the repository owner; the source code itself is on GitHub (framerslab/agentos).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts