You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -41,6 +41,7 @@ MS-Agent is a lightweight framework designed to empower agents with autonomous e
41
41
-**Code Generation**: Supports code generation tasks with artifacts.
42
42
-**Short Video Generation**:Support video generation of about 5 minutes.
43
43
-**Agent Skills**: Implementation of [Anthropic-Agent-Skills](https://docs.claude.com/en/docs/agents-and-tools/agent-skills) Protocol.
44
+
-**WebUI**: Modern web interface for agent interaction with real-time WebSocket communication.
44
45
-**Lightweight and Extensible**: Easy to extend and customize for various applications.
45
46
46
47
@@ -262,6 +263,58 @@ asyncio.run(main())
262
263
</details>
263
264
264
265
266
+
### Agent Skills
267
+
268
+
**MS-Agent Skills** is an **Implementation** of the [**Anthropic-Agent-Skills**](https://docs.claude.com/en/docs/agents-and-tools/agent-skills) protocol, enabling agents to autonomously explore and execute complex tasks by leveraging predefined or custom "skills".
269
+
270
+
271
+
#### Key Features
272
+
273
+
- 📜 **Standard Skill Protocol**: Fully compatible with the [Anthropic Skills](https://github.com/anthropics/skills) protocol
274
+
- 🧠 **Heuristic Context Loading**: Loads only necessary context—such as `References`, `Resources`, and `Scripts` on demand
275
+
- 🤖 **Autonomous Execution**: Agents autonomously analyze, plan, and decide which scripts and resources to execute based on skill definitions
276
+
- 🔍 **Skill Management**: Supports batch loading of skills and can automatically retrieve and discover relevant skills based on user input
277
+
- 🛡️ **Code Execution Environment**: Optional local direct code execution or secure sandboxed execution via [**ms-enclave**](https://github.com/modelscope/ms-enclave), with automatic dependency installation and environment isolation
278
+
- 📁 **Multi-file Type Support**: Supports documentation, scripts, and resource files
279
+
- 🧩 **Extensible Design**: The skill data structure is modularized, with implementations such as `SkillSchema` and `SkillContext` provided for easy extension and customization
280
+
281
+
282
+
#### Quick Start
283
+
284
+
> 💡 Note:
285
+
> 1. Before running the following examples, ensure that you have set the `OPENAI_API_KEY` and `OPENAI_BASE_URL` environment variables to access the required model APIs.
286
+
> 2. Agent Skills requires ms-agent >= 1.4.0
287
+
288
+
289
+
**Installation**:
290
+
291
+
```shell
292
+
pip install ms-agent
293
+
```
294
+
295
+
**Usage**:
296
+
297
+
> This example demonstrates how to configure and run an Agent Skill that generates generative art code based on p5.js flow fields.
298
+
299
+
300
+
Refer to: [Run Skills](projects/agent_skills/run.py)
#### - Lightweight, Efficient, and Extensible Multi-modal Deep Research Framework
@@ -340,36 +393,40 @@ For more details, refer to [Doc Research](projects/doc_research/README.md)
340
393
341
394
<br>
342
395
343
-
### Code Scratch
396
+
### Code Genesis
344
397
345
-
This project provides a framework for **Code Scratch**, enabling agents to autonomously generate code projects.
398
+
**Code Genesis** is a production-ready multi-agent framework that orchestrates specialized AI agents to autonomously generate complete software projects from natural language requirements.
346
399
347
400
#### Features
348
401
349
-
- 🎯 **Complex Code Generation** - Support for complex code generation tasks, especially React frontend and Node.js backend
350
-
- 🔧 **Customizable Workflows** - Enable users to freely develop their own code generation workflows tailored to specific scenarios
351
-
- 🏗️ **Three-Phase Architecture** - Design & Coding Phase followed by Refine Phase for robust code generation and error fixing
352
-
- 📁 **Intelligent File Grouping** - Automatically groups related code files to minimize dependencies and reduce bugs
353
-
- 🔄 **Auto Compilation & Fixing** - Automatic npm compilation with intelligent error analysis and iterative fixing
402
+
- 🎯 **End-to-End Project Generation** - From requirement analysis to deployment-ready artifacts with minimal human intervention
403
+
- 🔧 **Dual Workflow Modes** - Standard 7-agent pipeline for production systems, or streamlined 4-agent mode for rapid prototyping
- 📁 **LSP-Integrated Validation** - Real-time Language Server Protocol checks ensure syntactic correctness and import resolution
406
+
- 🔄 **Self-Healing Refinement** - Automated runtime verification and deployment
354
407
355
408
#### Demo
356
409
357
-
**AI Workspace Homepage**
410
+
**Homepage**
358
411
359
-
Generate a complete ai workspace homepage with the following command:
412
+
Generate a complete homepage with the following command:
360
413
361
414
```shell
362
-
PYTHONPATH=. openai_api_key=your-api-key openai_base_url=your-api-url python ms_agent/cli/cli.py run --config projects/code_genesis --query 'Build a comprehensive AI workspace homepage' --trust_remote_code true
415
+
PYTHONPATH=. openai_api_key=your-api-key openai_base_url=your-api-url python ms_agent/cli/cli.py run --config projects/code_genesis --query 'Build a static site to display skills, projects, and contact info' --trust_remote_code true
MS-Agent provides a modern web interface for interacting with agents. Built with React frontend and FastAPI backend, featuring real-time WebSocket communication.
Singularity Cinema is an Agent-powered workflow for generating short videos, capable of producing high-quality complex short videos using either a single-sentence prompt or knowledge-based documents.
0 commit comments