Use the first path to evaluate RSP from its source tree. The second explains which locally installed Maven artifacts an application needs.
- Java 25
- Maven 3.8.7 or newer
The project does not currently include a Maven wrapper.
git clone https://github.com/vadimv/server-components.git
cd server-components
mvn clean installStart with the counter:
mvn exec:java -pl examples -Dexec.mainClass=rsp.app.CounterOpen http://localhost:8080. Its complete source is Counter.java.
The full admin application adds routing, generated list and form UI, authentication, dashboards, and human-approved agent actions:
mvn exec:java -pl examples -Dexec.mainClass=rsp.app.posts.CrudAppOpen http://localhost:8085 and select Sign in. CrudApp uses the local,
deterministic RegexAgentService by default, so this path makes no external
model calls.
mvn install publishes the current 3.1.0-SNAPSHOT artifacts to your local
Maven repository. A minimal live application needs http; it brings in the
core runtime and browser client:
<dependency>
<groupId>io.github.vadimv</groupId>
<artifactId>http</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>Add compositions for routed admin applications:
<dependency>
<groupId>io.github.vadimv</groupId>
<artifactId>compositions</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>Optional features are separate artifacts: ai-agent, agent-ui, telemetry, dashboard,
and ui-shell. See the module map before adding them.
The repository currently documents source and locally installed snapshot use.
Check the root pom.xml for the current version when working from another
revision.
The admin example accepts regex, claude, or ollama through ai.agent:
mvn exec:java -pl examples -Dexec.mainClass=rsp.app.posts.CrudApp \
-Dai.agent=claude
mvn exec:java -pl examples -Dexec.mainClass=rsp.app.posts.CrudApp \
-Dai.agent=ollamaClaude reads ANTHROPIC_API_KEY. The optional rsp.agent.model property selects
the Claude or Ollama model, rsp.agent.url overrides the Ollama endpoint, and
rsp.agent.timeoutSeconds controls the backend timeout.
- Choose another runnable application from the examples catalog.
- Learn the core runtime.
- Continue with compositions for routed applications.
- Review the HTTP server's limits before deployment.