Thank you for your interest in contributing. This repository packages Agent Core into a deployable Agent Service (HTTP + A2A). Contributions may target runtime code, adapters, documentation, or examples.
- Agent Core changes usually belong in agent-core-java. This repo should stay focused on service ingress, orchestration, and adapters.
- Read README.md and the development guide (Chinese) for architecture boundaries.
-
Install Java 17+ and Maven 3.9+.
-
Build and install agent-core-java per [Agent Core 依赖](documents/zh/2.开发指南/Agent Core 依赖.md) (versions in root
pom.xml). -
Clone and build this repository:
git clone https://gitcode.com/openJiuwen/agent-runtime-java.git cd agent-runtime-java mvn clean install -DskipTests
From the service directory:
cd service
mvn clean testRun a single module (with dependencies):
mvn -pl agent-service-app -am clean testRun the demo locally:
mvn -pl agent-service-demo -am spring-boot:runSome integration tests may require Redis or other middleware; check test class names (*IntegrationTest, *IT) and module READMEs if a test fails locally.
- Follow existing module boundaries:
spec→adapters→app(no reverse dependencies). - HTTP controllers must call
ServeOrchestrator, not CoreRunnerdirectly. - Match naming and style in the module you edit; avoid drive-by refactors.
- Keep public API changes in
agent-service-specdeliberate and documented.
- User-facing guides live under
documents/zh/. Update the relevant page and documents/zh/SUMMARY.md when adding new topics. - Update README.md / README.zh.md when changing scope, default behavior, or quick-start steps.
- Fork the repository and create a feature branch from
develop(or the branch indicated by maintainers). - Ensure
mvn clean testpasses inservice/. - Describe what changed and why; link related issues if any.
- For behavior changes, note impact on HTTP paths, A2A, or configuration keys.
When reporting bugs, include:
- Java and Maven versions
- Steps to reproduce (commands, config snippets)
- Expected vs actual behavior
- Relevant logs (trimmed)
For feature requests, explain the use case and whether it fits this repo vs agent-core-java.
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.