Cognitive Flow Oriented · Local-first AI
Stop chaining prompts. Start engineering systems. Axon gives you a runtime, a memory model, and a flow language. Process data locally, build focused context, and put models to work where they add value.
Paradigm shift
Each era solved the problem of its time. Axon solves the one of this era.
Runtime
Axon doesn't run on top of another language. It has its own runtime compiled in C++17 — with a thread scheduler, an execution graph with cycle detection, and a finite state machine per actor.
Each actor moves through well-defined states. Execution budgets and failures stay visible. Combine task contracts with explicit error handling to decide how your application should recover.
What an operating system does for processes, Axon does for actors: lifecycle, memory, communication and concurrency — managed by the runtime, not written by hand.
Build locally. Coordinate clearly. Grow deliberately.
Powered by the Axon Runtime
Philosophy
Most frameworks evolve by changing their foundations. Axon will evolve by expanding them.
main {} is code you write. Both live in the same file. Neither gets in the way of the other.Universal Computational Graph
Every node has a role and an explicit connection.
Define inputs, call agents and tasks, and compose results through functions and pipelines.
The visualization shows the broader graph model guiding Axon’s evolution.
Memory System
Choose named key-value scopes for working context and persistence, or use semantic retrieval to find relevant text. Access is explicit; your application decides what to retain and what to send to a model.
Parallel Runtime
parallel {} is not a promise.When you write parallel {} in Axon, the C++17 scheduler runs independent branches on a bounded worker pool. Functions, HTTP requests, data processing and agent calls can share the same orchestration.
Independent branches run on native workers with isolated variable snapshots. Results join in source order; an unhandled failure cancels sibling work. Actual throughput depends on worker limits, native operations and the model backend.
Inside a parallel {} block you can prepare independent pieces of context before joining them for a model. Local filtering and aggregation can reduce how much raw data needs to become tokens.
Compute
Keep data preparation on local CPU workers and configure model inference per agent. Axon passes compute options to Ollama; the model, backend and available hardware determine how those requests execute.
compute = auto for a GPU-oriented request or compute = cpu to request CPU inference. Keep hardware choices close to the agent that needs them.num_gpu, or CPU inference with compute = cpu and a thread setting such as num_thread = 4.try/catch with execution budgets and an explicit recovery path instead of treating a failed request as a generated answer.num_ctx, num_batch and GPU-layer requests to fit the workload. Additional backend options such as f16_kv are passed to Ollama; actual support and memory use depend on its model backend.Transport Layer
Use HTTP/HTTPS to connect local tools and remote APIs today. Dedicated gRPC, MCP and distributed transports extend the longer-term design, while local data processing keeps control of what reaches a model.
Consensus in design · discuss
Consensus explores how multiple actors could debate a decision with distinct context and recorded evidence. The proposed design investigates how past outcomes might inform a traceable collective result.
The goal is more than a "yes" or a "no": a record of positions, supporting evidence and dissent. The simulation illustrates that direction while the module remains in design.
Collective intelligence with full traceability. Not a black box — a panel with minutes.
Use cases: evaluate whether to ship a feature · audit code from multiple perspectives · validate strategy with specialized actors · hiring decisions · risk analysis
Working in Progress
A working runtime today, with a public path toward richer data, tool and distributed integrations.