Skip to content

Feature: Implement distributed execution architecture and enhance agent system#159

Merged
tptpp merged 113 commits intomainfrom
feature/verification-20260310-01
Mar 12, 2026
Merged

Feature: Implement distributed execution architecture and enhance agent system#159
tptpp merged 113 commits intomainfrom
feature/verification-20260310-01

Conversation

@yhjun1026
Copy link
Collaborator

Summary

This PR introduces a distributed execution architecture for the agent system along with significant enhancements to monitoring, authorization, and frontend capabilities.

Key Changes

🚀 Core Features

  • Distributed Execution Architecture (v7-v8): Implemented a robust distributed execution framework for agent orchestration
  • Authorization System: Added comprehensive authorization audit logging and management
  • Monitoring Dashboard: Integrated real-time monitoring capabilities for agent operations

🔧 Backend Updates

  • Updated database schema (derisk.sql) with new tables and constraints
  • Enhanced coding agent and file explorer agent implementations
  • Improved core v2 adapter for better agent coordination
  • Added authorization audit database layer
  • Optimized unified context implementation

🎨 Frontend Enhancements

  • New Pages:
    • Audit logs page for tracking authorization events
    • Monitoring dashboard for agent performance
  • Application App: Enhanced with distributed execution and runtime tabs
  • API Client: Updated with authorization and monitoring endpoints
  • i18n: Extended English and Chinese localization support

🧹 Code Quality

  • Removed obsolete Next.js static chunks and build artifacts
  • Cleaned up stale build files
  • Improved code organization and structure

Technical Details

  • Files Changed: 241+ files
  • Additions: 20,000+ lines
  • Deletions: 1,000+ lines
  • Commits: 113 commits

Testing

  • Verified agent execution flow in distributed mode
  • Tested authorization audit logging functionality
  • Validated frontend routing and component rendering
  • Confirmed database schema compatibility

Breaking Changes

⚠️ Note: This PR includes schema changes. Please ensure database migrations are applied before deployment.

Checklist

  • Code compiles and runs without errors
  • Database schema updated and tested
  • Frontend builds successfully
  • Agent execution tested in distributed mode
  • Authorization flow verified

csunny and others added 30 commits May 27, 2025 22:08
* feat: add ai-sre agents

* fix: remove extra module

* feat: update static file

* fix: remove flow init

* fix: fix web static file

* fix: ignore file

* feat: re-compile web static assets

* fix: web error

* fix: build web static file error

* feat: add introduction for openderisk

* feat: add feature and arch intro
* chore: add vedio link

* fix: adjust new_max_token for ds-0528
* chore: add vedio link

* fix: adjust new_max_token for ds-0528

* chore: add en demo
* adjust the position of star-his

* fix: remove lint temp
* adjust the position of star-his

* fix: remove lint temp

* feat: add claude support and dynamic llm choose

* feat: add claude llm config
Co-authored-by: yangchuan <yangchuan@oppo.com>
Co-authored-by: neuqliu <1196932066@qq.com>
Co-authored-by: yanzhiyong <932374019@qq.com>
Co-authored-by: gallopxiong <gallopxiong@tencent.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
csunny and others added 27 commits February 28, 2026 14:48
Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
)

Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
…nels (#142)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
#145)

Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
Features implemented:
- P0: Product layer integration tests for distributed execution
- P1: Worker process pool with multi-process support, load balancing, auto-scaling
- P1: Monitoring dashboard API with WebSocket real-time events
- P2: Database storage support (PostgreSQL/MySQL/SQLite)
- v8: Interactive subagent sessions for multi-turn communication

New modules:
- worker_pool.py: Distributed worker process management
- monitoring_dashboard.py: Real-time task progress visualization
- database_storage.py: Database storage backends
- interactive_subagent.py: Interactive subagent communication
- test_distributed_integration.py: Integration tests

API exports updated in __init__.py for all new components.
…310-01

feat(core_v2): implement distributed execution architecture (v7-v8)

Features merged:
- Worker process pool with multi-process support, load balancing, auto-scaling
- Monitoring dashboard API with WebSocket real-time events
- Database storage support (PostgreSQL/MySQL/SQLite)
- Interactive subagent sessions for multi-turn communication
- Integration tests for distributed execution

New modules:
- worker_pool.py: Distributed worker process management
- monitoring_dashboard.py: Real-time task progress visualization
- database_storage.py: Database storage backends
- interactive_subagent.py: Interactive subagent communication
- test_distributed_integration.py: Integration tests
@tptpp tptpp merged commit 91abb74 into main Mar 12, 2026
1 of 3 checks passed
niiish32x added a commit to niiish32x/OpenDerisk that referenced this pull request Mar 12, 2026
…nt system (derisk-ai#159)

Co-authored-by: magic.chen <cfqsunny@163.com>
Co-authored-by: AnotherSola <38176179+anotherso1a@users.noreply.github.com>
Co-authored-by: 坐山客 <157097695@qq.com>
Co-authored-by: Aries-ckt <916701291@qq.com>
Co-authored-by: heyzcat <31226585+heyzcat@users.noreply.github.com>
Co-authored-by: yangchuan <yangchuan@oppo.com>
Co-authored-by: neuqliu <1196932066@qq.com>
Co-authored-by: yanzhiyong <932374019@qq.com>
Co-authored-by: gallopxiong <62653374+josehap@users.noreply.github.com>
Co-authored-by: gallopxiong <gallopxiong@tencent.com>
Co-authored-by: XinyueDu <51403464+XinyueDu@users.noreply.github.com>
Co-authored-by: duxinyue.dxy <duxinyue.dxy@antgroup.com>
Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: lpq131004 <66124950+lpq131004@users.noreply.github.com>
Co-authored-by: chenketing.ckt <chenketing.ckt@antgroup.com>
Co-authored-by: Aries-ckt <ariesketing@gmail.com>
Co-authored-by: Lin-Zhipeng <2542207527@qq.com>
Co-authored-by: zhipeng.lin <zhipeng.lin@shopee.com>
Co-authored-by: Claude (GLM-4.7) <noreply@anthropic.com>
Co-authored-by: tptpp <544016459@qq.com>
Co-authored-by: RichardoMu <44485717+RichardoMrMu@users.noreply.github.com>
Co-authored-by: RichardoMrMu <tianbowen.tbw@antgroup.com>
Co-authored-by: yhjun1026 <yhjun1026@users.noreply.github.com>
Co-authored-by: cozfrain <49066537+niiish32x@users.noreply.github.com>
Co-authored-by: 越鸿 <nishenghao.nsh@oceanbase.com>
# Conflicts:
#	assets/schema/derisk.sql
#	packages/derisk-app/src/derisk_app/static/web/404.html
#	packages/derisk-app/src/derisk_app/static/web/404/index.html
#	packages/derisk-app/src/derisk_app/static/web/_next/static/2nMk_Wd_BTkGpKCt20ikn/_buildManifest.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/2nMk_Wd_BTkGpKCt20ikn/_ssgManifest.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/AIFilzBpxyyTqM5VN7a7o/_ssgManifest.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1026-6da9f4f99dbc5238.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1458-498214dc14028b3e.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1483-517dc54723a97c29.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/1627-e4cade07eb0d2741.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/178-598e80057fed3345.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/2353-aca5af8ca8b31e4b.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/2467-3e39747e55047a6b.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/3685-91d78ded20586086.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/4162-fb439edbdaa6f954.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5423-563fb623f1538f7e.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/5423-646f6debd551a166.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/6174-7549a378eaa37e03.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/7187-05010e5c73e53743.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/7187-b9560a2747c199e3.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/7847-f36e5656cae98e0f.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-df5fd2a08392495c.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-eb26b6f7871f5ec8.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/797-ec0d5f0bc2b36b82.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8345-01e2f59c9242e3cb.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8345-bb048dccbbb46029.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8345-f18845fe1dfecafe.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8637-277445e4cf55230b.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8637-45c5031a6115d910.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8637-900dce183a7c3c87.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8647-75b1f53cce2faf20.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8674-627ec1aa1b2e73d0.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8687-b9556d54da5c880d.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/8687-d27c40143b558df8.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/9857-b2da0df325d53faa.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/agent-skills/detail/page-61c86e528cd26c27.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/agent-skills/page-224f0c0f3e3ce270.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/explore/page-2b1aedeb8baa5399.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/explore/page-69a1171d343080f5.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/application/explore/page-e2fb29d0341d0d40.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/create/page-2a18cf9ec575ab7e.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/create/page-5c76f3080f8f6439.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/create/page-9edd079ffb44061f.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/edit/page-54068487e7c3ee86.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/page-350a6fc1a823e3ed.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/page-452ab7e991c815d3.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/channel/page-6d30432dff60c32d.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/chat/page-4f6bb4139575e296.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/cron/edit/page-2ac6b3d68e8437c4.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/cron/edit/page-5d71befaf8387ff6.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/cron/edit/page-99e7908073e265b4.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/cron/page-ec73b07c9de410b9.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-0cb2e77368ede969.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-df3098c3ec72514f.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/chunk/page-f35dcc6c3f12a107.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-26299e1d2052b658.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-27723ee05b42e80e.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/knowledge/page-d5d492276ab45712.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/layout-1cb9ca2ef9b16900.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/mcp/page-dad31638dadc34aa.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-7169fc34ab64e1ef.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-8f132582c5e97bab.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/models/page-a56f46f364c3c083.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/page-c9a99d385556ecc6.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/prompt/[type]/page-ebf1d25789c672e3.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/scene/page-d9db1e9efbf9fff3.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/settings/config/page-ed5a335b358e9ea2.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/v2-agent/page-9f4dcfdf6f3bfcb9.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/v2-agent/page-d5c4a6e51f5b4bb2.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/v2-agent/page-e12210087c07d509.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/app/vis-merge-test/page-7625cad1ae7b93a9.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/chunks/webpack-accce15405c905c9.js
#	packages/derisk-app/src/derisk_app/static/web/_next/static/pKJooaiv_QjBnCHgm3NLg/_ssgManifest.js
#	packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.html
#	packages/derisk-app/src/derisk_app/static/web/agent-skills/detail/index.txt
#	packages/derisk-app/src/derisk_app/static/web/agent-skills/index.html
#	packages/derisk-app/src/derisk_app/static/web/agent-skills/index.txt
#	packages/derisk-app/src/derisk_app/static/web/application/app/index.html
#	packages/derisk-app/src/derisk_app/static/web/application/app/index.txt
#	packages/derisk-app/src/derisk_app/static/web/application/explore/index.html
#	packages/derisk-app/src/derisk_app/static/web/application/explore/index.txt
#	packages/derisk-app/src/derisk_app/static/web/application/index.html
#	packages/derisk-app/src/derisk_app/static/web/application/index.txt
#	packages/derisk-app/src/derisk_app/static/web/channel/create/index.html
#	packages/derisk-app/src/derisk_app/static/web/channel/create/index.txt
#	packages/derisk-app/src/derisk_app/static/web/channel/edit/index.html
#	packages/derisk-app/src/derisk_app/static/web/channel/edit/index.txt
#	packages/derisk-app/src/derisk_app/static/web/channel/index.html
#	packages/derisk-app/src/derisk_app/static/web/channel/index.txt
#	packages/derisk-app/src/derisk_app/static/web/chat/index.html
#	packages/derisk-app/src/derisk_app/static/web/chat/index.txt
#	packages/derisk-app/src/derisk_app/static/web/cron/create/index.html
#	packages/derisk-app/src/derisk_app/static/web/cron/create/index.txt
#	packages/derisk-app/src/derisk_app/static/web/cron/edit/index.html
#	packages/derisk-app/src/derisk_app/static/web/cron/edit/index.txt
#	packages/derisk-app/src/derisk_app/static/web/cron/index.html
#	packages/derisk-app/src/derisk_app/static/web/cron/index.txt
#	packages/derisk-app/src/derisk_app/static/web/index.html
#	packages/derisk-app/src/derisk_app/static/web/index.txt
#	packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.html
#	packages/derisk-app/src/derisk_app/static/web/knowledge/chunk/index.txt
#	packages/derisk-app/src/derisk_app/static/web/knowledge/index.html
#	packages/derisk-app/src/derisk_app/static/web/knowledge/index.txt
#	packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.html
#	packages/derisk-app/src/derisk_app/static/web/mcp/detail/index.txt
#	packages/derisk-app/src/derisk_app/static/web/mcp/index.html
#	packages/derisk-app/src/derisk_app/static/web/mcp/index.txt
#	packages/derisk-app/src/derisk_app/static/web/models/index.html
#	packages/derisk-app/src/derisk_app/static/web/models/index.txt
#	packages/derisk-app/src/derisk_app/static/web/not-found/index.html
#	packages/derisk-app/src/derisk_app/static/web/not-found/index.txt
#	packages/derisk-app/src/derisk_app/static/web/prompt/add/index.html
#	packages/derisk-app/src/derisk_app/static/web/prompt/add/index.txt
#	packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.html
#	packages/derisk-app/src/derisk_app/static/web/prompt/edit/index.txt
#	packages/derisk-app/src/derisk_app/static/web/prompt/index.html
#	packages/derisk-app/src/derisk_app/static/web/prompt/index.txt
#	packages/derisk-app/src/derisk_app/static/web/scene/index.html
#	packages/derisk-app/src/derisk_app/static/web/scene/index.txt
#	packages/derisk-app/src/derisk_app/static/web/settings/config/index.html
#	packages/derisk-app/src/derisk_app/static/web/settings/config/index.txt
#	packages/derisk-app/src/derisk_app/static/web/v2-agent/index.html
#	packages/derisk-app/src/derisk_app/static/web/v2-agent/index.txt
#	packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.html
#	packages/derisk-app/src/derisk_app/static/web/vis-merge-test/index.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.