One-stop, static API entry point for integrating with both microservices that run on the mim OE runtime (Runtime) and backend microservices (Backend) that run in the traditional cloud.
ClientGatewayAccess organizes APIs into two categories:
Runtimeβ microservices that run on themim OEruntime.
These can run locally on devices or on cloud instances (e.g., AWS/GCP VMs) that host the runtime and act like runtime-enabled nodes.Backendβ traditional backend microservices that run in the cloud.
These do not use themim OEruntime.
This API is used by the mimik Access app and is available for integration in third-party applications.
All functions are static and called directly:
// Runtime microservice call (mim OE-based)
let nodes = try await ClientGatewayAccess.Runtime.discoverNodes()
// Traditional backend microservice call (no mim OE)
let profile = try await ClientGatewayAccess.Backend.fetchUserProfile()- All APIs are asynchronous (
async) and safe to call from concurrent contexts. - Some operations require authentication or prior runtime initialization.
APIs for interacting with runtime microservices from a mimik Access client or third-party apps.
Runtime microservices run on the mim OE runtime.
They may run:
- On devices (typical case)
- On cloud instances (e.g., AWS/GCP VMs) that host the runtime and behave as runtime-enabled nodes
Examples include:
- Content sharing via beams (
mBeam) - Node discovery (
mSuperdrive) - File storage (
mDrive)
Each runtime microservice provides a namespace of static methods for endpoint calls.
APIs for integrating with traditional mimik backend microservices.
Backend microservices run in the mimik cloud and do not use the mim OE runtime.
They provide user- and app-centric functionality such as:
- User profile management (
mPO) - Friend relationships (
mFD) - Thumbnail storage (
mTS)
Each backend microservice exposes a namespace of static methods for API operations.
The fastest way to get started:
-
Follow the onboarding tutorial
π Step-by-Step Tutorial -
Add the required pods to your
Podfile:platform :ios, '16.0' source 'https://github.com/CocoaPods/Specs.git' source 'https://github.com/mimikgit/cocoapod-edge-specs.git' use_frameworks! inhibit_all_warnings! def mimik pod 'EdgeCore' pod 'mim-OE-ai-SE-iOS-developer' pod 'EdgeService' end target 'YourAppTarget' do mimik() end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['VALID_ARCHS'] = '$(ARCHS_STANDARD_64_BIT)' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0' config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' end end end
-
Get your mim OE license key from the mimik Developer Console
mim OE (Operating Environment) is the runtime platform powering edge microservices and AI workloads. It can run on iOS devices, simulators, or macOS using Catalyst. The Client Library gives you direct control over:
- Service deployment
- Runtime lifecycle
- AI model execution
- Secure communication and auth
The mimik Client Library provides a unified API to:
- Start, stop, and monitor the mim OE runtime
- Configure logging, runtime health, and startup parameters
- OAuth2-compliant developer and user login
- Support for token exchange, scopes, signup/login flows
- Handle account recovery, password changes, and deletions
- Auto-discover available edge nodes
- Route requests across hybrid clusters
- Register and manage services
- Deploy microservices or full use-case workflows
- Package using container-style config and update dynamically
- Scale, tear down, or update services via API
- List available AI models across device, edge, and cloud
- Use a single interface to prompt vision and language models
- Send prompts and receive streaming replies
- Handle user-initiated prompt cancellations cleanly
- Unified output handling via
AssistantOutput - Supports chat UI, system automation, and batch processing
Use the table below to choose the CocoaPods that best match your use case:
| Pod | Includes | AI Support | Recommended For |
|---|---|---|---|
EdgeCore |
Core | Always include | |
mim-OE-SE-iOS-developer |
Core + mim OE | β | Lightweight, non-AI apps |
mim-OE-ai-SE-iOS-developer |
Core + mim OE + AI | β | Vision/Language AI support |
EdgeService |
Deployment tools | For managing custom microservices |
β Recommended Default: Add
EdgeCoreandmim-OE-ai-SE-iOS-developerto your Podfile.
- iOS Devices: iOS 16.0+
- iOS Simulators: iOS 16.0+
- Mac Catalyst: macOS 14.0+
-
API Reference (EdgeCore):
EdgeClient Reference
EdgeEngineClient Protocol -
EdgeService Reference:
ClientGatewayAccess Docs -
All APIs are also documented in Xcode with built-in method and struct descriptions.
- Creating a Simple iOS App Using an Edge Microservice
- Integrating the mimik Client Library into Your iOS Project
To initialize mim-OE-ai-SE-iOS-developer, obtain a license key at:
π mimik Developer Console
For enterprise projects or commercial distribution, contact:
πΌ mimik Support
mimik
Learn more at mimik Developer Documentation