AgentOS
A TypeScript agent framework for persistent sessions, multi-agent orchestration, and runtime-generated tools.
- Source repo
- framerslab/agentos
- Stars
- ★ 690
- Last updated
- 1d ago
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 64/100 · Some gaps
At a glance
- How it runs
- 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
- 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.
- A learning-product engineer building a tutor that follows one learner over multiple turns with session('student-1') plus episodic, semantic, and working memory.
- An engineering team assembling a research-to-draft-to-review pipeline with agency(), graph coordination, and dependsOn relationships between researcher, writer, and reviewer roles.
- 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.
- 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().
- 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_KEYANTHROPIC_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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
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 ↗ -
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?
Will it silently switch providers if one fails?
Do runtime-generated tools get unrestricted Node.js access?
What does it cost?
Is AgentOS open source?
Is AgentOS safe to use?
Is AgentOS still maintained?
Who makes AgentOS?
What is AgentOS's official website?
Thanks — we use this to improve the page.