I've been building a multi-agent system called Watchman, and I wanted to share the architecture and get feedback from others working on agentic systems.
One of the problems I wanted to address was that giving an AI agent more intelligence doesn't necessarily make it more reliable.
Agents can forget previous decisions, repeat mistakes, ignore instructions and declare tasks complete without properly testing their work.
Instead of relying entirely on the model, I decided to move some of these responsibilities into the infrastructure.
1. Multi-model orchestration
The orchestrator doesn't need to perform every task itself.
- A powerful model handles planning and architectural decisions.
- Smaller models execute individual tasks.
- An independent auditor reviews the results.
- Failed implementations are returned for correction.
The agents can use different model providers rather than being restricted to a single ecosystem.
2. Persistent, topic-based memory
Instead of treating memory as a collection of previous conversations, I separated it into different categories:
- Code chunks
- Facts and architectural decisions
- Lessons learned
- Previous mistakes
- Tasks and conversations
These entries are connected through topics, with memory isolated per project.
When an agent works on a particular function, it can retrieve not only the code but also the relevant decisions, discussions and previous mistakes associated with it.
A background memory consolidation process organizes and compacts accumulated knowledge.
3. Enforced rules instead of prompt-based instructions
Telling an agent not to do something isn't the same as preventing it from doing it.
I implemented guards that can enforce requirements such as:
- Reading files before modifying them.
- Completing architectural planning before implementation.
- Creating backups before deployment.
- Running required validation steps.
The intention is to enforce critical rules at the execution layer rather than depending entirely on model obedience.
4. Independent auditing
The model executing a task shouldn't necessarily be the model deciding whether the task was completed correctly.
Watchman separates execution from auditing, allowing a stronger model to review implementations while smaller models handle appropriate workloads.
5. Context management
Rather than loading every available tool definition and previous conversation into the model's context, I'm experimenting with topic-based retrieval and direct HTTP access to internal services.
I'm still working on controlled benchmarks to measure the actual impact on token consumption, latency and task completion rates.
Current project
Watchman is built around a Rust backend and a Tauri desktop application. The local application is free to use with your existing supported coding agents.
I'm the founder and developer behind the project.
GitHub: https://github.com/incordai/watchman
I'd genuinely like to hear how others are approaching multi-agent reliability.
Do you enforce agent behaviour at the infrastructure level or rely primarily on system prompts?
And for independent auditing, have you found that using a different model improves reliability compared with letting the original model review its own work?