Intelligent software. Wild ideas.
Website · AgentSpaces · Developer guide · Examples
We build software for agents, services and people working together, from the edge to the enterprise. Our open-source foundation is AgentSpaces: a peer-to-peer coordination fabric that lets programs discover capabilities, share state and get work done together.
A peer is a process. A group is its workgroup. A space is the shared board where peers write typed records, take work and publish results. Each peer keeps its own replica; no central broker sits between them. Largely a combo of Jini and JXTA, prior P2P specs.
- Coordinate work: write, read, take and subscribe to records under leases.
- Discover capabilities: signed, leased cards describe the agents, data, tools, models and apps available to a group.
- Share what matters: content-addressed data moves through the swarm to the peers that need it.
- Bring your stack: use the languages and frameworks you already work with.
| Card | What it describes |
|---|---|
| AgentCard | An agent's goals, the work it takes, its actions and conversations. |
| AssetCard | Data, files and tools a peer offers, and how to read or call them. |
| ModelCard | A model's tasks, capabilities, provenance and serving peers. |
| AppCard | An application for people: its UI, actions and where to open it. |
Cards advertise capabilities. The group's runtime, permissions and policies determine what a caller can actually use.
Bad Monkey's enterprise product operationalizes all 4, providing a way to assemble P2P agents and processes that use one or more cards into groups and networks. Included in the enterprise version are configurable guard rails, rule processing, workflow across peers, and more. This leverages the same underlying AgentSpaces. The 1986 Bell Labs paper, Linda, our follow-on in 1996-2006 at Bell Labs with Sun Microsystems on Jini and JXTA showed us that this is a robust way to build distributed applications.
| I want to… | Start here |
|---|---|
| Build a peer or understand the fabric | AgentSpaces — the Java core, programming model and examples. |
| Explore in a notebook | Groovy console — Groovy and Clojure notebooks for data, models, cards and workflows. |
| See a fleet working together | Example applications — end-to-end examples to study and adapt. |
| Bring coding agents into a group | Harness plugins — integrations for coding-agent harnesses. |
| Publish interfaces for people | A2UI and React renderer — AppCards and agent-driven interfaces. |
| Implement or inspect the protocol | Specification — the shared wire contract. |
Languages · Java · Python · TypeScript · Ruby · Rust · Clojure · Groovy · Babashka
Frameworks · Spring AI · LangChain4j · Micronaut
Find your peers · Bootstrap discovery · Beacons
Build something small, connect a second peer, and see what they can do together. Questions, bug reports, examples and contributions are welcome in the relevant project's issues and pull requests.
Explore the repositories · Learn about Bad Monkey
AgentSpaces is licensed under Apache 2.0. See each repository for its license, supported features and release status.