Skip to content

About

AgentSpaces Example Applications - Showcasing different fleets of P2P Agents working together

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

AgentSpaces Example Apps

Ten example projects from Bad Monkey AI: four teaching fleets, five framework showcase apps, and ScienceLab, a four-notebook Groovy/Clojure data science tour. They demonstrate coordinating agents on AgentSpaces without a central work queue. The Java fleets are self-contained Maven projects; ScienceLab runs in agentspaces-groovy-console.

Quick start: run the first teaching fleet

The petclinic fleet is the place to start. You need JDK 21 and Maven; the AgentSpaces 0.7.0 libraries resolve from Maven Central, and no API key or model is involved.

cd agentspaces-petclinic-fleet
./run-demo.sh      # the live demo: four pets, six peers, no orchestrator
mvn test           # the clinic as a flow test over real TCP

A nurse, two schedulers, and two vets coordinate only through one shared space, and the demo ends with the day's charts. The demo binds ports 7781 to 7786. The petclinic fleet's README explains what you see.

What it is

  • Four teaching fleets, read in order, each adding one idea: petclinic (choreography), code (auctions), audit (signed quorum votes), intake (evidence as ballots).
  • Five showcase apps on real model frameworks and runtimes: opscenter, agentspaces-springai-jev-eg, superfriends, browser-council, and decision-rerank.
  • ScienceLab adds two Groovy and two Clojure notebooks: synthetic data, quality checks, model evaluation, remote inference and a published report.
  • All ten run on a laptop with no API keys. ScienceLab fits its own numerical model; the framework showcases offer scripted or fixture-model paths.
  • The examples describes each one; experiment reports are published from docs/reports/.

Try the notebook data science tour

With the current agentspaces-groovy-console built in the sibling checkout:

cd ScienceLab
./run.sh          # open all four notebook tabs
./run.sh --check  # execute their real TCP flow in four worker JVMs

See ScienceLab for console prerequisites, run order and the notebook-feature tour.

Add it to your build

The original Java teaching examples build on AgentSpaces 0.7.0 from Maven Central, groupId ai.badmonkey.agentspaces. The teaching fleets need only the core libraries:

<dependency>
  <groupId>ai.badmonkey.agentspaces</groupId>
  <artifactId>agentspaces-agent</artifactId>
  <version>0.7.0</version>
</dependency>

The showcase apps add a framework bridge such as agentspaces-springai, agentspaces-langchain4j, or agentspaces-micronaut. Each app's pom.xml names its own set, and Building lists the versions and prerequisites per app.

Where to read next

  1. The developer guide: the spaces, the annotations, and the framework bridges these examples use, chapter by chapter.
  2. AgentSpaces: the libraries, the specification, and the language clients.
  3. The petclinic fleet: the first teaching fleet, then code, audit, and intake in that order.
  4. The documents: everything this README leaves out, one topic per document, each with the reader it is written for.

License

Copyright 2026 Bad Monkey, Inc. Licensed under the Apache License 2.0; see LICENSE and NOTICE. AgentSpaces is an open project from Bad Monkey.

About

AgentSpaces Example Applications - Showcasing different fleets of P2P Agents working together

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages