Back to directory

Android Agent Harness

Android Agent Harness is a provider-neutral Kotlin SDK for building bounded AI agents on Android and the JVM, with a governed run kernel, budgeted context, an approval protocol for risky actions and a reference sample app.

Android Agent Harness

The SDK provides one shared run kernel with a cancellable, transactional lifecycle, deadlines, per-session isolation and deterministic replay checks, on top of which sit optional components for context compilation, state and memory, scheduling, feedback, approval and device access. Its context system tracks the trust, priority and privacy of each source, resolves conflicts, and compresses content within a token and item budget before it reaches the model; a general approval protocol binds any risky effect to its target, arguments, evidence and an expiry.

Android-specific adapters cover permissions, calendar, notifications, location, sensors, speech-to-text and text-to-speech, and a bounded Phone Use component lets an agent observe and act on a device's screen and accessibility tree with explicit approval.

The repository ships an installable sample app built on the SDK as a reference composition, not a second runtime. It is written in Kotlin and released under Apache-2.0.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.