Java SDK for AXME - send intents, poll for deliveries, resume workflows. Java 11+, clean exception hierarchy, no third-party HTTP dependencies.
Quick Start · Docs · Examples
<dependency>
<groupId>ai.axme</groupId>
<artifactId>axme</artifactId>
<version>0.1.2</version>
</dependency>Maven Central publication is in progress. Build locally until then:
git clone https://github.com/AxmeAI/axme-sdk-java.git
cd axme-sdk-java && mvn -q -DskipTests installimport dev.axme.sdk.AxmeClient;
import dev.axme.sdk.AxmeClientConfig;
import dev.axme.sdk.RequestOptions;
import java.util.Map;
AxmeClient client = new AxmeClient(
AxmeClientConfig.forCloud("axme_sa_...", null)
);
// Send an intent - survives crashes, retries, timeouts
Map<String, Object> intent = client.createIntent(
Map.of(
"intent_type", "order.fulfillment.v1",
"to_agent", "agent://myorg/production/fulfillment-service",
"payload", Map.of("order_id", "ord_123")
),
new RequestOptions("fulfill-ord-123-001", null)
);
System.out.println(intent.get("intent_id") + " " + intent.get("status"));var result = client.createIntent(Map.of(
"intent_type", "intent.budget.approval.v1",
"to_agent", "agent://myorg/prod/agent_core",
"payload", Map.of("amount", 32000),
"human_task", Map.of(
"task_type", "approval",
"notify_email", "approver@example.com",
"allowed_outcomes", List.of("approved", "rejected")
)
), new RequestOptions(null, null));8 task types: approval, confirmation, review, assignment, form, clarification, manual_action, override. Full reference: axme-docs.
Map<String, Object> events = client.listIntentEvents(intentId, null, RequestOptions.none());See examples/BasicSubmit.java. More: axme-examples
mvn test| axme-docs | API reference and integration guides |
| axme-examples | Runnable examples |
| axp-spec | Protocol specification |
| axme-cli | CLI tool |
| axme-conformance | Conformance suite |