Skip to main content
Open Source

POJO-actor: Lightweight Actor Model for Java

Turn any Plain Old Java Object into a concurrent actor. Define workflows in minimal YAML with natural conditional branching—simple enough that AI agents generate correct code on the first try.

TaskRunner.java
// Define any POJO as an actor
public class TaskRunner {
public String execute(String command) {
return Runtime.exec(command);
}
}

// Use it with the actor system
IIActorRef<TaskRunner> runner =
new IIActorRef<>("runner", new TaskRunner(), system);

// Call methods asynchronously
String result = runner.ask(r -> r.execute("deploy")).get();
Why POJO-actor?

Simple yet powerful actor model

No complex frameworks. No boilerplate. Just your Java classes with superpowers.

📦

Zero Dependencies

Use any POJO as an actor. No base classes to extend, no interfaces to implement.

Virtual Thread Native

Built for Java 21+. Each actor runs on its own virtual thread for massive concurrency.

🤖

Automaton-Based Workflows

Simple enough to get right the first time—by humans or AI agents.

🌐

Distributed Actor System

Scale across multiple nodes with location-transparent messaging. (Coming Soon)

deploy.yaml
name: deploy-workflow
steps:
- states: ["0", "1"]
actions:
- actor: nodeGroup
method: apply
arguments:
actor: "node-*"
method: executeCommand
arguments: ["./deploy.sh"]
Built on POJO-actor

actor-IaC: Actor-Based Parallel Infrastructure Automation

Apply POJO-actor's workflow engine to infrastructure automation. Execute commands across distributed nodes via SSH, with every action logged to an H2 database for full traceability.

  • SSH-based remote execution with Ansible-compatible inventory
  • Parallel execution across node groups
  • Overlay system for environment customization
  • Full audit trail with structured logging
Learn actor-IaC
Support the Project

Help us build better tools

Your support helps us maintain and improve these open source tools.

Star on GitHub

Show your support and help others discover the project.

💬

Enterprise Support

Priority assistance and dedicated support for your team.

🛠️

Custom Development

Tailored solutions and workflow development for your needs.

❤️

Sponsor

Help fund ongoing development and new features.

Ready to simplify your infrastructure?

Get started with POJO-actor and actor-IaC today.