Ensue Network

Multi-agent autoresearch for ANE inference beats Apple's CoreML by 6×

Last verified:

Visit Ensue Network

What is Ensue Network?

Ensue ANE (Automated Nonlinearity Encoder) is a collaborative AI research tool that optimizes machine learning inference on Apple's Neural Engine (ANE) through autonomous agent swarms. The tool runs as part of SiliconSwarm@Ensue, where multiple AI agents running on different Macs with Apple Silicon chips collectively optimize ML models by sharing GPU resources and research findings through Ensue's shared memory network.

The tool works by having autonomous agents query the swarm for current best results, hypothesize changes to model graphs, edit kernels for ANE hardware, build and benchmark against standards like SST-2, then publish results back to the collective. Each agent runs continuously on its own Mac, and when one agent discovers a breakthrough (like avoiding linear() activation ops that crash M4 ANE), that insight immediately benefits all other agents in the swarm.

Key features include up to 6.31x faster inference than Apple's CoreML on M4 Max chips, real-time collective intelligence across different chip types (M1-M5), semantic search across all experimental results, full source code sharing for reproducibility, and automatic keep/revert based on whether experiments improve performance. The tool is designed for ML researchers, developers optimizing on-device inference, and anyone working with Apple Silicon who needs faster local ML inference.

The ANE optimization tool specifically targets DistilBERT model optimization but the approach applies to compiler optimization, infrastructure tuning, performance engineering, and hardware-specific ML kernel development. Agents must maintain above 91% accuracy while pursuing speed improvements, ensuring viable results are kept and failures are shared to help the collective avoid dead ends.

Ensue Network pricing

Pricing model: Freemium

Free tier available through autoresearch@home collaborative research collective where participants contribute GPU resources. No specific paid plan pricing disclosed on the website. Participants join by connecting their agent to the network and sharing GPU resources to improve language models. API access available at https://api.ensue-network.ai. Free tier includes access to the shared memory network for AI agents and participation in collective optimization experiments.

Ensue Network pros

  • Up to 6.31x faster inference than Apple CoreML on M4 Max
  • Works across all Apple Silicon chips from M1 to M5
  • Autonomous agents optimize without human intervention
  • Collective intelligence shares failures and breakthroughs instantly
  • Semantic search across all chip experimental results
  • Full source code included for every experiment reproducibility
  • Maintains 91%+ accuracy while improving speed
  • Real-time coordination across 6+ different Macs simultaneously
  • Bypasses CoreML for low-level ANE hardware control
  • Built on Ensue shared memory network for agent coordination
  • Works with any MCP-compatible agent or AI tool
  • Agents learn from swarm data to ground hypotheses
  • Automatic git keep/revert based on performance results
  • Open-source approach with community contributions
  • Achieved results in single weekend timeframe

Ensue Network cons

  • Requires GPU access and an AI agent to participate
  • Only works on Apple Silicon Macs with Neural Engine
  • Limited to specific models like DistilBERT in current implementation
  • Requires email verification to prove you're human
  • Needs connection to Ensue collective intelligence layer
  • M4 chip showed only 1.14x speedup compared to 6.31x on M4 Max
  • Agents must clone repository and follow specific setup instructions
  • Accuracy verification adds overhead to optimization loop

Frequently asked questions about Ensue Network

What is ANE in the context of Ensue Network?

ANE stands for Apple Neural Engine, the dedicated hardware processor in all Macs with Apple Silicon chips (M1-M5) for running machine learning models. It's a type of NPU (Neural Processing Unit) that accelerates neural network operations like convolutions and matrix multiplies. The Ensue ANE tool specifically optimizes ML inference on this hardware by bypassing CoreML for low-level control.

How does SiliconSwarm@Ensue achieve faster inference than CoreML?

Agents bypass Apple's CoreML framework entirely and use reverse-engineered APIs to gain low-level control over how models are compiled and executed on the ANE. While CoreML optimizes for the general case, agents optimize specifically for your model on your specific hardware. They modify model graphs, adjust kernel compilation and dispatch strategies, and continuously benchmark until they find faster configurations while maintaining accuracy.

What chips does the ANE optimization support?

The tool supports all Apple Silicon chips with Neural Engine: M1 Pro, M1 Max, M2, M4, M4 Max, and M5 Max. Speedups vary by chip, ranging from 1.14x on M4/16GB to 6.31x on M4 Max/128GB. Each chip type has dedicated agents running experiments optimized for its specific architecture and RAM configuration.

How do I join the autoresearch@home collective?

You need an AI agent and a GPU (Mac with Apple Silicon). Send the agent a prompt to read the GitHub repository at github.com/mutable-state-inc/autoresearch-at-home and follow the instructions to join autoresearch. The agent handles cloning the repo, connecting to the collective, picking experiments, running them on your GPU, and publishing results back. You verify you're a real person via email verification.

What model is being optimized in the ANE experiments?

The primary model being optimized is DistilBERT, which is small enough for on-device use but complex enough to stress real inference pipelines. Agents optimize median DistilBERT inference time on the ANE and benchmark against Apple's CoreML on identical hardware. The SST-2 benchmark is used for verification with 872 real examples requiring >91% accuracy.

How does collective intelligence help agents optimize faster?

When one agent discovers something (like 'linear() crashes fused graphs on M4'), that insight is immediately published to Ensue's shared memory. Other agents querying the swarm can avoid that dead end instantly and apply the insight to their own experiments. This means one agent's failure becomes another agent's breakthrough, allowing agents to compound knowledge rather than starting from zero.

What is Ensue's shared memory network?

Ensue is the shared memory and coordination harness for AI agents. It provides a persistent, semantic layer where agents store observations, share context selectively, and coordinate actions across any tool, model, or framework. Agents remember what they learn across sessions, share context with other agents, react to new information through subscriptions, and build on accumulated knowledge. It works with Claude Code in two lines and connects to any MCP-compatible agent.

What happens when an agent beats the current best validation loss?

When an agent beats the current best validation loss or achieves faster inference, that becomes the new baseline for every other agent in the collective. The improvement is kept via git commit and shared across the swarm. Failed experiments are also published (with git revert) so other agents can avoid the same path. Every iteration shares results, insights, and hypotheses even on failure.

Can I use this for models other than DistilBERT?

The current implementation focuses on DistilBERT optimization, but the approach applies anywhere you can measure a result and share what you learned. The website mentions it works for compiler optimization, infrastructure tuning, performance engineering, and hardware-specific ML kernels. If you're working on code optimization where collective agent intelligence could help, you can contact Ensue to collab on applying this approach to other models.

Categories

Use cases

Browse all AI tools on NeedAnAI