Skip to content

Commit 64713aa

Browse files
Update readme (#849)
Co-authored-by: 班扬 <xingjun.wxj@alibaba-inc.com>
1 parent eb1ddb0 commit 64713aa

File tree

12 files changed

+8
-387
lines changed

12 files changed

+8
-387
lines changed

README.md

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -263,58 +263,6 @@ asyncio.run(main())
263263
</details>
264264
265265
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)
301-
302-
303-
**Result**:
304-
305-
<div align="center">
306-
<img src="https://github.com/user-attachments/assets/9d5d78bf-c2db-4280-b780-324eab74a41e" alt="FlowFieldParticles" width="750">
307-
<p><em>Agent-Skills: Flow Field Particles</em></p>
308-
</div>
309-
310-
311-
#### References
312-
- **README**: [MS-Agent Skills](projects/agent_skills/README.md)
313-
- **Anthropic Agent Skills Official Docs**: [Anthropic-Agent-Skills](https://docs.claude.com/en/docs/agents-and-tools/agent-skills)
314-
- **Anthropic Skills GitHub Repo**: [Skills](https://github.com/anthropics/skills)
315-
316-
317-
318266
### Agentic Insight
319267
320268
#### - Lightweight, Efficient, and Extensible Multi-modal Deep Research Framework

ms_agent/agent/agent.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ prompt:
3232
3333
7. Respond in the same language the user uses. If the user switches, switch accordingly.
3434
35-
For requests that require performing a specific task or retrieving information, using the following format **in user language**:
35+
For requests that require performing a specific task or retrieving information, using the following format:
3636
```
3737
The user needs to ...
3838
I have analyzed this request in detail and broken it down into the following steps:
@@ -48,6 +48,8 @@ prompt:
4848
I have carefully reviewed the tool's output. The result does/does not fully meet my expectations. Next, I need to ...
4949
```
5050
51+
**Important: Always respond in the same language the user is using.**
52+
5153
max_chat_round: 9999
5254

5355
callbacks:

projects/code_genesis/PR_ARTICLE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Code Genesis is built on three foundational pillars:
2929
Code Genesis provides **two configurable workflow modes** to balance between generation quality and execution speed, enabling users to select the optimal strategy based on project complexity:
3030

3131
#### Standard Workflow (Production-Grade)
32-
<img alt="Simple Workflow Diagram" src="asset/workflow_code_genesis.png" />
32+
<img alt="Workflow Diagram" src="asset/workflow.jpg" />
3333

3434
The standard pipeline implements a rigorous 7-stage process optimized for complex, production-ready projects:
3535

@@ -49,7 +49,7 @@ User Story → Architect → File Design → File Order → Install → Coding
4949
This workflow guarantees architectural coherence, eliminates reference errors through explicit dependency modeling, and produces enterprise-grade codebases with comprehensive documentation.
5050

5151
#### Simple Workflow (Rapid Prototyping)
52-
<img alt="Simple Workflow Diagram" src="asset/simple_workflow_code_genesis.png" />
52+
<img alt="Simple Workflow Diagram" src="asset/simple_workflow.jpg" />
5353

5454
For lightweight projects or quick iterations, the simple workflow condenses the pipeline into 4 core stages:
5555

3.53 MB
Loading
-261 KB
Binary file not shown.
2.62 MB
Loading
-335 KB
Binary file not shown.

requirements/webui.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ aiohttp
22
fastapi
33
pandas
44
uvicorn
5+
uvicorn[standard]

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,11 @@ def _build_and_copy_webui(self):
237237
extra_requires['research'], _ = parse_requirements(
238238
'requirements/research.txt')
239239
extra_requires['code'], _ = parse_requirements('requirements/code.txt')
240+
extra_requires['webui'], _ = parse_requirements('requirements/webui.txt')
240241
all_requires.extend(install_requires)
241242
all_requires.extend(extra_requires['research'])
242243
all_requires.extend(extra_requires['code'])
244+
all_requires.extend(extra_requires['webui'])
243245
extra_requires['all'] = all_requires
244246

245247
setup(

webui/README.md

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)