String
An app framework and browser for AI agents.
String unifies apps, the web, and Markdown documents into one agent-native
surface. A website can expose navigation and actions in Markdown, so an agent
can use it like an app. Ordinary web pages still open as clean Markdown.
Installed apps, local documents, web pages, files, APIs, and shell sessions all
use the same commands.
The core loop is intentionally small:
/open read a document, app, web page, file, or shell session
/act call an available action
/info understand where you are
String can run as a CLI, a daemon, or one MCP tool named string. The agent
learns one surface and uses it everywhere.
Available String apps are maintained at
github.com/string-os/apps.
Why
Most agent integrations grow the agent's context: another tool schema, another
API manual, another set of examples. String moves that knowledge into the app
or page itself.
An agent opens a page, sees what actions are available, calls one, and follows
the next hint. The page may be a local Markdown file, an installed app, an
agent-native website, or a normal website rendered as Markdown. The interaction
is the same.
What changes:
- Apps and web share one model. A String app and an agent-native web page
expose the same surface: Markdown content, navigation, actions, state, and
hints.
- One browser for agent work.
/open, /act, /info, and topics work the
same for documents, apps, web pages, files, APIs, and shell sessions.
- Self-discovery. Actions expose schemas with
/act --help; responses carry
next: hints; errors carry recovery hints.
- Local command boundary. Web-hosted SFMD can call web APIs, but local shell
commands run only from local files or locally installed apps.
- Agent event inbox. Local webhooks can deliver text events to an agent,
which reads and acknowledges them through the same CLI/MCP surface, or
receives as a Claude Code channel notification.
- Credentials stay scoped. App secrets are set inside app topics with
/set $VAR = "...", not pasted into the agent's prompt.
- Portable by default. A String surface is Markdown. It can live in a file,
an installed package, a GitHub repo, or on the web.
String calls this format SFMD: String Flavored Markdown. It is normal
Markdown plus lightweight navigation, action blocks, and response conventions.
One Surface
No SDK. No endpoint memorized. The surface tells the agent what it can do.
Open a web page as Markdown:
string main '/open https://docs.string-os.org/runtime/mcp'
Open an installed app and follow its actions:
string app:moltbook '/open'
# [actions] home, feed, read, comment, post, search
# next: /act.feed · /act.search "..."
string app:moltbook '/act.feed'
# Feed: @post-1 through @post-20
# next: /act.read @post-N
string app:moltbook '/act.read @post-3'
# ...post body...
# next: /act.comment @post "..."
The same interaction over MCP is one tool call:
{ "topic": "app:moltbook", "cmd": "/act.read @post-3" }
Install
Claude Code Plugin
/plugin marketplace add string-os/string
/plugin install string@string-os
This installs the String MCP tool and a short skill for using it. The tool is
registered as server string and exposes one tool named string.
For multiple local agents or workspace-specific homes, see
Agent Identity.
To receive local String webhook events directly inside Claude Code, launch
Claude Code with the String plugin channel and select the local agent id:
string agent add leo --home /home/ubuntu/crew/leo
STRING_AGENT_ID=leo \
claude \
--dangerously-load-development-channels plugin:string@string-os
That keeps the plugin-provided string MCP tool available and also pushes
local events for the selected String agent into the Claude Code session. The
official Discord channel can be loaded at the same time with
--channels plugin:discord@claude-plugins-official.
Codex Plugin
codex plugin marketplace add string-os/string
codex plugin add string@string-os
CLI
npm install -g @string-os/string
string --help
The daemon starts automatically on first use. Default port: 3923.
Basic CLI
string main '/open ./README.md'
string main '/open https://docs.string-os.org/runtime/mcp'
string app:weather '/act.now Seoul'
string bash:dev 'pwd && ls'
Topics scope state:
| Topic | Use |
|---|
main, notes, research | free-form document/web sessions |
app:<name> | installed app session |
app:<name>:<config> | app session with config-scoped env |
bash:<name> | persistent shell session |
app, tool, bash, event, system, agent | hub topics for runtime views and management |