Polydera

AGENT-NATIVE LANGUAGE AND RUNTIME

Luna.

Turn your software into an agent-native environment.

An agent-native application is one an agent can inhabit — discover it, work it, and extend it from the inside. The engineer who spends a week preparing a model, the technician who builds every case by hand: with Luna, that expertise lives inside your product — because the application itself is the agent.

CompiledStatically typedDeterministic lifetimesEmbeddable

WHAT LUNA IS

More than an embeddable language.

Any application can embed a scripting language. Scripts run when called, errors surface at run time, and whatever they touch is simply changed. Luna is built for something else: an expert working inside the application — and extending it when the work needs more. Its first act is asking: the application describes itself, and a fresh agent can be dropped in and learn it in minutes.

A compiler lives in the product. Everything an agent writes is fully checked before it can run — types, calls, effects, even termination — and a mistake refuses with a readable sentence instead of failing in front of a user. Nothing unchecked ever executes.

The runtime is the sandbox. The agent does not run loose in your process — it lives inside Luna's runtime, and everything it does happens there. Experiments clean up after themselves; live motion leaves no trace; what someone deliberately keeps lands as one numbered act in a record the whole team — human and agent — shares, can read, walk backward, and replay.

THE PACKAGED EXPERT

Your application becomes the agent.

Expert work lives inside applications: days of preparation, judgment, and repetition by the people who know the tool best. That expert can now ship with the product — and it is not bound by the UI. It works at program speed — trying things in its own workspace, with every attempt checked, contained, and recorded.

01 / IT WORKSIt does the job

The same tools and workflows your users see, driven end to end: prepared, inspected, finished.

02 / IT BUILDSIt makes the missing step

A workflow, a tool, a checked function — written like an expert engineer would, published into the running product for end users.

03 / IT SERVESIt meets your users in your UI

The application becomes the interaction surface between your end users and their expert. They cooperate in the product, not beside it.

An agent given buttons stalls where no button fits, and hands the job back.

The resident writes the missing step and finishes — and the step stays.

01

Discover

It reads the signatures, documentation, and authored source of the application it lives in.

02

Work

It drives the same tools and workflows people use, in its own workspace.

03

Extend

When a step is missing, it writes it — and the resident compiler checks everything before it runs.

04

Keep

Finished work lands as numbered acts in the one record people and agents share.

Useful in this session, immediately. What the agent builds is usable immediately — by it, by the application, and by people. Putting it in front of end users is a separate, deliberate step.

A developer can later choose to ship a proven program to every customer. The first user does not have to wait for that release.

BUILT FOR INTERACTIVE APPLICATIONS

Keep working while the code changes.

The agent can try things freely. While a tool is open, its changes are temporary — close it, and everything it touched goes back to how it was. Moving, adjusting, experimenting: none of it leaves a trace by itself.

Keeping a result is a deliberate step. When someone — a person or the agent — decides their work is done, it is saved as one clean entry in a shared history. Anyone can see what changed, and step back to any earlier point.

See how the runtime holds live work and recorded changes
ILLUSTRATION / LIVE WORK AND THE RECORDLive motion leaves no trace until someone keeps it.
EXPERIMENT

temporary changes — no history

KEEP

save #41 lands

CONTINUE
step back · replay
a tool opens … closes: its changes are undone
Temporary changes leave no history. Saving adds one clean entry; closing a tool undoes its changes, and the history can be stepped back and replayed.

THE APPLICATION IS THE WORKSPACE

Bring Luna into your app. Or make the app in Luna.

Both paths use the same language and runtime. You choose exactly which of your application's capabilities the language can reach; your implementation stays private. The agent develops new programs, and your application can call them.

01 / EMBED LUNA

Add a language to the application you already have.

Keep your interface and native implementation. Expose the capabilities an agent can build with, then call the functions it publishes.

The compiler and runtime can run headlessly. Your application supplies the interface.

Agentdiscovers · writes · tests
YOUR EXISTING APPLICATION
Existing interfacePeople keep working
Native code & dataImplementation stays private
Expose typed
capabilities
Publish callable
functions
LUNAResident compilerPersistent runtime
New function
Your interface can use the function the agent just developed.
02 / BUILD WITH LUNA

Build an application whose behavior is Luna code.

Author tools, panels, interactions, and workflows in the same language the agent uses to extend them.

A new capability can become part of the running interface through the same authored functions.

Person
Application interface
Agent
Luna source
APPLICATION PROGRAMS
ToolsPanelsWorkflows+ New capability
LUNA COMPILER & RUNTIME

Checked programs · live environment · record

Selected native capabilities
The agent extends the same programs that make the application work.
MEASURED PERFORMANCE

Fast where an application needs it.

Luna programs beat standard Lua in all six measured workloads, and calling into your application's native code is nearly free. See the work, comparison languages, and measurement notes together.

Explore the benchmarks
ONE WORKLOAD / MAP OVER RECORDS
Luna1×
PUC-Lua 5.512.5× slower
CPython 3.1314.0× slower

Warm processor cycles per element, one of the six measured workloads. Method and all rows are on the language page.

LUNA

Let the next capability be written inside your product.

Embed Luna in the application you run today, or build an application whose tools and workflows are Luna programs. Give people and agents a shared place to make it better.

BUILT WITH LUNAMira

A mesh engineering agent that can run in its own application or be embedded in software that works with geometry.