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

Nine standalone example applications from Bad Monkey AI, each a complete fleet of coordinating agents built on the shipped AgentSpaces libraries, with no orchestrator, no broker, and no central queue. They are written for Java developers learning AgentSpaces: each is a self-contained Maven project with a live demo and a flow test over real TCP, so any of them can be lifted into its own repository as-is.

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.
  • All nine run on a laptop with no API keys: scripted or fixture models stand in for the real ones.
  • The examples describes each one; experiment reports are published from docs/reports/.

Add it to your build

Every example builds 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