The Neoism Agent#
Neoism Agent is Neoism's AI runtime, used locally and as the same standalone engine in cloud workspace workers. It is not a hosted chat page embedded in the terminal. It owns model connections, conversations, tool execution, permissions, subagents, skills, MCP clients, compaction, and durable session history for the workspace.
Open an agent pane with Alt+A, or choose New Agent from the command palette. A pane may start with the model picker when no usable model has been selected. After a model is available, enter a request just as you would in a terminal composer.
How it fits into Neoism#
Neoism has three cooperating parts:
- Neoism renders the workspace and the agent timeline.
- Neoism Agent runs conversations, models, tools, and permissions.
- Neoism Daemon carries workspace and agent events between desktop, browser, and mobile clients.
Agent sessions survive a pane closing because they are server-owned rather than widget-owned. Opening the same session on another connected client replays its stored messages and then follows live events.
Architecture#
The agent is a versioned HTTP server with a plugin-first core:
- One API. Everything speaks
/v2/— the desktop pane, the browser, the SDK, and your own scripts hit the same endpoints. The contract is a committed OpenAPI document. See Server and API. - One event bus. Every event — token deltas, part snapshots, status, permissions — is delivered over SSE in strict publish order, as a typed union.
- Plugin-first. Providers, tools, MCP, LSP, PTY, VCS, and workflows are plugins in per-workspace generations that reload live on config changes. Third-party plugins install from npm and register tools and hooks through the same runtime. See Plugins.
- Durable by default. State changes and their events commit in one transaction to the local store; runs, queues, and execution activity survive restarts.
Cloud workers and self-hosting#
A headless application can self-host the same engine without the editor or workspace daemon:
Application / pipeline / SDK
-> application policy + workspace host broker
-> whole-workspace infrastructure provider
-> one workspace VM: Agent runtime + agents + project folders
One logical workspace shares one computer across multiple agents, sessions, repositories and Git worktrees; cloning a project does not allocate another VM. The declared workspace directory remains authoritative, while session/terminal cwd stays local. Whole-worker isolation is established by the infrastructure provider, not by per-tool remote execution or directory scopes. A shared tenant-aware control plane stays execution-disabled and routes authorized execution to the admitted worker.
The generic launch manager, controller signing, authenticated readiness, lifecycle and connection broker are implemented, with a passed real Docker development end-to-end run. Docker is an opt-in container backend with CPU/memory limits but no enforced disk budget, not a production VM guarantee. The application owns accounts, membership/private-workspace policy, billing and production gateway/TLS; private signing seeds stay outside workers and guest user filesystems are never implicitly mounted. See Server and API, SDK, and the authoritative source hosted architecture and status guide.
A turn#
A normal turn is:
- Neoism stores your user message.
- The selected agent assembles instructions and recent session context.
- The selected model produces text or tool calls.
- Neoism checks each tool call against the effective permission rules.
- Allowed tools run;
askrules create a visible permission request. - Tool output is added to the conversation and sent back to the model.
- The turn settles as complete, interrupted, or failed.
The timeline is made of messages and typed parts. Parts include text, reasoning, files, tool calls, step boundaries, patches, snapshots, and compaction summaries. This is why a tool can stream progress without becoming a separate chat message.
Built-in agents#
| Agent | Role |
|---|---|
build |
Default implementation agent with normal workspace tools. |
plan |
Read-oriented planning agent. It can ask questions and enter plan mode but does not edit by default. |
general |
General-purpose subagent for multi-step delegated work. |
explore |
Fast, read-only subagent for codebase discovery. |
Neoism also uses hidden internal agents for tasks such as title generation, summaries, compaction, and session handoff. They are implementation details and are not normal picker choices.
Tools and extensions#
The native runtime includes shell, file, patch, search, web, notes, skill, LSP, question, planning, and subagent tools. MCP servers can add more tools, resources, and prompts. Tool availability is filtered by global configuration, the selected agent, and permission rules.
See Tools and Background Tasks, Tool Composition, Permissions, Skills, and MCP Servers.
Local data and external data#
Session records, permissions, configuration, and stored provider credentials are kept locally by Neoism. Credentials are written to the agent state directory; on Unix the credential file is created with owner-only permissions.
Prompts, attachments, tool results, and any instructions included in model context are sent to the selected model provider. A local agent does not mean the selected model is local. Review the provider's data policy and avoid attaching secrets unnecessarily.
First useful workflow#
- Open an agent pane with
Alt+A. - Run
/connect, choose a provider, and complete its API-key or OAuth flow. - Pick a model with
/model. - Ask the agent to inspect the workspace before changing it.
- Review permission requests rather than approving them blindly.
- Use
/modelto switch models,/agentto switch agents, and/statusto inspect the session. - Press
Escto interrupt active generation or use a task's Stop action for a background command.
Continue reading#
- Configure for configuration sources and precedence.
- Providers and Models for connecting a model.
- Agents and Subagents for delegation.
- Sessions and Sharing for persistence and cross-device behavior.
- Server and API for the HTTP surface, events, and hosted mode.
- Plugins for extending the runtime, including third-party serve plugins.
- SDK for typed TypeScript clients.
- Scheduled Workflows for date-driven and recurring agent automations.
- Troubleshooting when startup, authentication, or tools fail.