frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How are you using multi-agent AI systems in your daily workflow?

13•paifamily•22h ago
We've been running a 13-agent system (PAI Family) for a few months — specialized agents for research, finance, content, strategy, critique, psychology, and more. They collaborate, argue, and occasionally bet against each other on our prediction market.

Curious what others are building. Are you running multiple AI agents? What architectures work? What fails spectacularly?

Comments

Nancy0904•15h ago
It sounds complicated. Is your Agent trying to solve everything?
Irving-AI•15h ago
How well is your agent performing?
Horos•12h ago
I've set a fully async patern. blobs chunked into sqlite shards.

It's a blind fire n forget go worker danse.

wich can be hold as monitoreed or scale as multiple instances if needed by simple parameters.

Basicaly, It's a job as librairy patern.

If you dont need real time, its bulletproof and very llm friendly.

and a good token saver by the batching abilities.

leandot•12h ago
Curious about more details about this setup?
Horos•11h ago
The "job as library" pattern is simple: instead of wiring jobs into main or a framework, you split into 3 things.

Your queue is a struct with New(db) — it knows submit, poll, complete, fail, nothing else.

Your worker is another struct that loops on the queue and dispatches to handlers registered via RegisterHandler("type", fn). Your handlers are pure functions (ctx,payload) → (result, error) carried by a dependency struct.

Main just assembles: open DB, create queue, create worker, register handlers, call worker.Start(ctx). Result: each handler is unit-testable without the worker or network, the worker is reusable across any pipeline, and lifecycle is controlled by a simple context.Cancel().

Bonus: here the queue is a SQLite table with atomic poll (BEGIN IMMEDIATE), zero external infra.

The whole "framework" is 500 lines of readable Go, not an opaque DSL. TL;DR: every service is a library with New() + Start(ctx), the binary is just an assembler.

The "all in connectivity" pattern means every capability in your system — embeddings, document extraction, replication, MCP tools — is called through one interface: router.Call(ctx,"service", payload).

The router looks up a SQLite routes table to decide how to fulfill that call: in-memory function (local), HTTP POST (http), QUIC stream (quic), MCP tool (mcp), vector embedding (embed), DB replication (dbsync), or silent no-op (noop).

You code everything as local function calls — monolith. When you need to split a service out, you UPDATE one row in the routes table, the watcher picks it up via PRAGMA data_version, and the next call goes remote.

Zero code change, zero restart. Built-in circuit breaker, retry with backoff, fallback-to-local on remote failure, SSRF guard.

The caller never knows where the work happens.

That's the "job as library" pattern: the boundary between monolith and microservices is a config row, not an architecture decision.

https://github.com/hazyhaar/pkg/tree/main/connectivity

xpnsec•12h ago
More interestingly, what frameworks/harnesses/architecture are people using to drive multi-agent workflows?
guerython•10h ago
On our team we split the flow into six agents: scraper, classifier, context builder, summary writer, responder, and post-monitor. They never share a conversation; each pulls jobs tagged for it from a Postgres queue, locks the row with `SELECT ... FOR UPDATE`, hits a shared vector store for context, writes the result, and lets the orchestrator (n8n flow) enqueue the next job. We keep the prompts tiny and deterministic, so the only state is the job row and the vector hash. This async job-as-library + policy layer is the only architecture that scales; the thing that fails spectacularly is when we let them all talk on a single Slack channel, because they start racing to be decision-maker and race for tool calls. The trick was to treat every tool as a service call with capacity controls plus a watcher that unpicks deadlocks.
whattheheckheck•2h ago
To do what? How many users?
jlongo78•8h ago
I juggle multi-agents for persistent tasks like coding and debugging. Makes context-switching a breeze. How’ve you optimized yours?
formreply•8h ago
What fails spectacularly in our setup: agents that share a conversation thread and try to resolve conflicts in real time. They race to add the last word, produce verbose non-decisions, and eventually one agent just agrees with whatever was said last. Consensus is a bad protocol for async, unequal agents.

What works: role clarity + veto rights. One agent can only block, never propose. One agent makes calls, others can raise flags. You stop the chatbot parliament problem and actually get decisions.

The other pattern worth stealing from production systems: treat inbound events (emails, webhooks, form submissions) as the task boundary, not the conversation turn. An agent that owns a mailbox and processes messages one at a time is dramatically more auditable than one that's always-on and decides what to react to. You can replay it, diff its outputs, and understand why it did what it did.

stokemoney•42m ago
Built my own custom solution that is completely spec-driven. Have concepts of specs, plans, and then a kanban board to monitor all agents as it progresses

It takes a plan, breaks it into dependent tasks, has human-in-the-loop for approval, and then is fire-and-forget after the plan is started with parallel agent workers. Has complete code review loops and testing loops for accuracy and quality. Idempotent retries and restarts...Completely frontend-driven so I don't have to deal with dumb terminals like claude code...

I'm 60 years old. Claude Code has ignited a passion again

6•shannoncc•20m ago•1 comments

Turns out making games is the easy part

2•clamlotus•33m ago•1 comments

Ask HN: Anyone else feel this community has changed recently?

3•kypro•41m ago•2 comments

Ask HN: How many of you hold an amateur radio license in your country?

60•ToddWBurgess•3d ago•81 comments

Tell HN: The proposed KIDS Act (HR 7757) effectively mandates biometric browsing

6•fokdelafons•4h ago•0 comments

Self taught gen-xers with senior dev/pm exp. Where's my imposter syndrome team?

3•_hugerobots_•5h ago•2 comments

Ask HN: Why do we still buy things by browsing catalogs?

5•dannythecount•6h ago•4 comments

I started making money online in 10th grade – some lessons about capital

3•udit_50•7h ago•1 comments

Ask HN: Who wants to be hired? (March 2026)

126•whoishiring•4d ago•407 comments

Ask HN: How are you using multi-agent AI systems in your daily workflow?

13•paifamily•22h ago•11 comments

Ask HN: Anyone fought a big corp over IP theft courts?

6•NatalijaAAD•12h ago•0 comments

Ask HN: Do You Have a Homelab?

10•ricardbejarano•10h ago•5 comments

Ask HN: Do You Enjoy Your Career in Tech Nowadays?

25•karakoram•1d ago•24 comments

Ask HN: Who is hiring? (March 2026)

247•whoishiring•4d ago•392 comments

Ask HN: How are LLMs supposed to be used for warfare?

4•sirnicolaz•18h ago•7 comments

Ask HN: Has anyone noticed the fear-driven prompt suggestions that GPT5.3 makes?

14•cedarscarlett•1d ago•8 comments

Self-Learning Customer Marketing

3•davismartens•22h ago•0 comments

Aura-State: Formally Verified LLM State Machine Compiler

22•rohanmunshi08•5d ago•6 comments

Ask HN: How are you all staying sane?

150•throwaway53463•4d ago•159 comments

How do I get startups to use my open-code project?

5•ErezShahaf•1d ago•12 comments

Amazon degraded shopping- you have to put in cart to see the price

15•talkingtab•1d ago•13 comments

Ask HN: What sources like HN do you consume?

61•DavidHaerer•4d ago•37 comments

Tell HN: Digital Ocean has run out of GPU droplets

17•nathannaveen•2d ago•4 comments

Ask HN: If your project is free, what are you building and why keep it free?

11•LeanVibe•2d ago•22 comments

HATEOAS Works with an LLM in the Mix

2•charlieflowers•1d ago•1 comments

Why is arstechnica.com still running dev story advertorials for a game that...

6•chrisjj•1d ago•5 comments

I lost my ability to learn anything new because of AI and I need your opinions

22•dokdev•3d ago•28 comments

Ask HN: What's your experience self-hosting in 2026?

27•rustcore•3d ago•11 comments

Ask HN: How do you give AI agents real codebase context without burning tokens?

4•donhardman•1d ago•1 comments

We don't need continual learning for AGI. What top labs are currently doing

6•kok14•1d ago•6 comments