← Research fields

RESEARCH / AI

Make AI work as an inspectable program.

Generating, reading code and learning from an environment are different tasks. Give each intelligence explicit inputs, responsibilities and a place for its results.

Research question

What lies between a model answering and a system doing dependable work?

Design stance

Do not hide AI behavior inside an ever-longer prompt. Express inputs, tools, authority, intermediate results and stopping conditions as a program. Integrating AI starts by distinguishing what a model decides from what its runtime must enforce.

Research themes and projects

Lines connect research themes to the projects exploring them. Select a project to read more.

  • AI as a controllable programTyped workflows · Runtime policy
  • Navigate to relevant implementationTree-sitter · Code intelligence
  • Connect intent to inputSwiftUI · Composer
  • Learning for embodied controlAdaptive control · Core · Reflex

Technical investigations

  1. Typed workflows / Runtime

    SwiftAgent treats an agent as a program with typed inputs, outputs and composable work. Permissions, cancellation and resource limits are runtime contracts, not requests in a prompt. Observable events are part of that design surface.

    Read the primary design

    SwiftAgent · PHILOSOPHY.md ↗
  2. Tree-sitter / Context

    What should enter a finite context, and what should remain outside? swift-skeleton uses Tree-sitter to map declarations and source locations, providing a route into relevant implementation. Study access to the right evidence rather than packing in all source text.

    Read the primary design

    swift-skeleton · README.md ↗

The research thread

SwiftAgent composes typed work; swift-skeleton maps the implementation worth reading; manas explores adaptive control toward a body. Toolbar provides a human input surface. The common thread is visible boundaries between intention, judgment and execution.

RESEARCH / AI

Projects in this field

Open a project to explore its purpose, design choices and architecture.

AI4 projects
AI AGENT / WORKFLOW01
SwiftAgent

Make AI a flow you can work with.

Prepare information, call a model, check its output. Compose AI around the job your app needs to do.

Swift · AI agents · Typed workflows
Explore the system
AI CHAT / COMPOSER UI02
Toolbar

Keep the thought moving.

Speak, write, attach. Bring the ways of expressing an idea into one natural input surface.

SwiftUI · Composer UI · Liquid Glass
Explore the system
ROBOTICS / ADAPTIVE CONTROL03
manas

Bring learning into a moving world.

From sensing to action. Explore how learning Core and Reflex components can feed deterministic motor output.

Swift · Mojo · Robotics · Adaptive control
Explore the system
CODE INTELLIGENCE04
swift-skeleton

Find the structure before reading the code.

Turn a large codebase into a map of declarations and relationships. Give coding agents an index to the implementation that matters.

Swift · Tree-sitter · CLI / JSON-RPC
Explore the system

ENGINEERING NOTES

Open the reasons behind the work.

  1. 01
    SWIFT AI AGENT FRAMEWORK

    Swift AI agents — Make AI work a program you can reason about.

    A model call becomes useful when its result fits the next piece of work. SwiftAgent composes AI processing into the application’s own typed execution flow.

  2. 02
    APPLE FOUNDATIONMODELS AI AGENT

    Apple FoundationModels — Turn generation into the next action.

    Move beyond a paragraph that an app must interpret. SwiftAgent’s Generate connects a FoundationModels-style session to the typed processing the application needs.

  3. 03
    CODEBASE INDEXING / MCP

    Codebase indexing and MCP — Carry a map before reading.

    In a large repository, the first problem is choosing where to look. swift-skeleton extracts declarations and source locations so agents and people can navigate back to implementation.