Open agent framework with CLI, terminal UI, and browser workspace for models, tools, skills, and multi-step workflows.
Overview
MS-Agent is a modular open-source agent framework aimed at complex, long-running tasks. It lets you combine models, tools, skills, and sub-agents with a customizable harness that handles planning, context, permissions, and execution feedback, backed by project memory and scheduling hooks.
A shared Python SDK powers the command-line interface, terminal UI, and Web UI so the same agent logic can run in different surfaces. The Web UI workspace and native TUI expose execution visibility, mid-run steering, branching sessions, and inline editing of workspace files.
Context is split between immutable session history, active model context, and persistent memory with pruning, compaction, and pluggable memory backends. The framework supports MCP connections, lifecycle hooks, permission approvals, encrypted credential storage, skills with install and rollback, sub-agent delegation, explicit workflows, and protocols such as ACP and A2A for editor and remote agent integration.
Built-in applications cover research, coding, finance, and content workflows, installable from PyPI with optional Web UI extras, Docker, or source. Documentation describes quick start, configuration, and domain application entry points.
Key features
- Shared Python SDK for CLI and UIs
- WebUI and terminal workspaces
- MCP tool and protocol integration
- Context pruning and memory adapters
- Skills install, diff, and rollback
- Sub-agents and workflow orchestration
- Permission and credential controls
- Deep research and code workflows
Use cases
- Build custom agents with tools and skills
- Run long research jobs with memory
- Operate agents from terminal or browser
- Integrate agents into editors via ACP