Agent orchestration
Coordinate planners, workers and tools as one flow, with clear hand-offs and retries.
Learn more
Open-source · AI infrastructure
An open-source, high-performance framework for building, chaining and running autonomous AI agent workflows.
Build
Targets we're building towards, not benchmarks yet.
Why NeuralFlow
Coordinate planners, workers and tools as one flow, with clear hand-offs and retries.
Learn moreChain load, prompt, validate and save steps into pipelines that batch and recover.
Learn moreBuilt in the open: read the code, run it anywhere, shape where it goes next.
Learn moreTry it
A mini demo of how a request moves through a NeuralFlow graph.
Product
Orchestrate agents, build pipelines, see every step and extend it all with plugins.
Define agents with a model and tools, then chain or branch them into a flow that plans, acts and answers.
from neuralflow import Flow, Agent, tool
@tool
def search_docs(query: str) -> list[str]:
return index.search(query, k=5)
planner = Agent("planner", model="any-llm", tools=[search_docs])
writer = Agent("writer", model="any-llm")
flow = Flow("answer-question")
flow.chain(planner, writer)
result = flow.run("How do refunds work?")
print(result.output)Compose load, prompt, validate and save steps into a pipeline that runs in batches and picks up where it failed.
from neuralflow import Pipeline, steps
pipe = (
Pipeline("enrich-leads")
.add(steps.Load("leads.csv"))
.add(steps.LLM("Summarise each company", model="any-llm"))
.add(steps.Validate(schema=LeadSummary))
.add(steps.Save("warehouse.leads"))
)
pipe.run(batch_size=32, retries=2)Every run produces a trace: which agent did what, which tools it called, how long it took and what it cost.
from neuralflow import Flow
from neuralflow.observe import Tracer
flow = Flow.load("answer-question")
tracer = Tracer(export="console")
with tracer.session("debug-run"):
run = flow.run("Draft a reply to ticket #4821")
for span in run.trace:
print(span.step, span.latency_ms, span.tokens)Plugins hook into the flow lifecycle, so you can add tools, providers, storage or alerts without forking.
from neuralflow import Flow
from neuralflow.plugins import Plugin, register
@register
class SlackNotify(Plugin):
name = "slack-notify"
def on_step_end(self, step, result):
self.post(f"{step.name} finished in {result.ms} ms")
flow = Flow.load("enrich-leads", plugins=["slack-notify"])How it works
Pick a model, describe the role, hand it plain Python functions as tools.
Chain, branch or loop agents and pipeline steps into one graph.
Run locally or at scale, read the trace, then tune prompts and steps.
Under the hood
Async by default, with batching and concurrency where it counts.
Designed to work with any LLM provider, hosted or local.
Small, typed, readable. Flows are just Python.
Traces, timings and token counts for every step, out of the box.
Hook into the lifecycle to add tools, providers and integrations.
Use cases
Filter by area, then open a card to see an example workflow.
Triage tickets, draft grounded replies and escalate what needs a human.
Read long PDFs and reports, extract facts and write cited summaries.
Let agents handle the judgement steps between your existing systems.
Answer questions about your codebase, runbooks and internal APIs.
Add LLM steps to data pipelines: classify, tag, summarise and validate rows.
Research leads, prep account briefs and keep the CRM up to date.
No use cases in this filter yet.
About
Make building with autonomous AI agents as simple and reliable as building a web app — in the open.
Values
The code, the roadmap and the decisions happen in public.
Small APIs, clear errors, good docs. If it's awkward to use, it's a bug.
The flow you prototype on a laptop should be the flow you run in production.
Founder
Founder
Speaks English, Hindi, Japanese and Telugu.
Connect on LinkedInRoadmap
Honest stages, no dates we can't keep.
Now In progress
Flows, agents, tools and pipelines: the core API is being built and tested.
Next
The repository goes public with guides, examples and an API reference.
Later
A place to find and share plugins for tools, providers and integrations.
Future
Optional hosted tools to run, trace and manage flows from one dashboard.
FAQ
Yes. NeuralFlow is open source and free to use.
It's designed to be model-agnostic, so you can plug in the provider or local model you prefer.
Follow the roadmap above, or join early access to hear first.
Yes. Community contributions are welcome once the repository is public.
Use the contact page to request it.
Contact
Tell us what you'd build. We'll be in touch as the release gets closer.
Follow the founder for build updates.
Open LinkedIn