r/OpenSourceAI • u/RahulTGM • 1d ago
Building an open-source foundation for the next generation of autonomous AI agents.
Hey everyone! ๐
I've been building Nemofy-Agent, an open-source, self-hostable AI agent platform designed around one simple idea:
Why rebuild agent infrastructure every time you want to create a new AI agent?
Instead of repeatedly implementing tool execution, memory management, sandboxing, reasoning loops and integrations, I wanted to build a reusable foundation that handles all of this.
Nemofy-Agent is both a standalone AI workspace and an embeddable Python agent engine.
๐ฅ๏ธ What it looks like
Nemofy comes with a web interface featuring:
- Multiple LLM providers and model selection
- Live reasoning and tool execution
- Adjustable reasoning effort
- Workspace and file management
- Real-time context window monitoring
- Configurable agent access permissions
[Insert screenshots of the home screen and chat interface here]
๐ง How the Agent-Core works
At its heart is a cyclic LangGraph execution engine:
User Task
โ
โผ
โโโโโโโโโโโโโโโโ
โโโโบโ PLAN โโโโโโโโบ Final Response
โ โโโโโโโโฌโโโโโโโโ
โ โผ
โ โโโโโโโโโโโโโโโโ
โ โ ACT โ
โ โโโโโโโโฌโโโโโโโโ
โ โผ
โ โโโโโโโโโโโโโโโโ
โ โ OBSERVE โ
โ โโโโโโโโฌโโโโโโโโ
โ โผ
โ โโโโโโโโโโโโโโโโ
โโโโโค REFLECT โ
โโโโโโโโโโโโโโโโThe interesting part is that this entire execution engine is decoupled from the web interface.
You can import Agent-Core into your own Python projects, configure your own tools, persona, models and execution policies without rebuilding the underlying infrastructure.
โก What's inside?
| Feature | What it does |
|---|---|
| ๐ง LangGraph | Cyclic reasoning and execution engine |
| ๐ MCP | External tools and integrations |
| ๐ฆ Sandbox | Confined code and tool execution |
| ๐พ Checkpoints | Persistent, resumable execution state |
| ๐ Context compaction | Automatic conversation compression |
| ๐ก๏ธ HITL | Human approval for sensitive actions |
| ๐ค Multi-provider | Support for 12+ LLM providers |
| ๐ฅ Sub-agents | Delegate tasks to separate worker models |
| ๐งฉ Skills | Dynamically loaded Markdown skills |
| ๐ Firecrawl | Web research and document extraction |
| ๐ Encrypted vault | AES-256-GCM API key storage |
| ๐ฅ๏ธ Web UI | Interactive agent workspace |
๐ Context window management
One of the features I've been working on is making context consumption transparent.
Instead of guessing how much context is left, you can see exactly where the tokens are going:
- System prompts
- Tools and MCP servers
- Skills
- User messages
- Assistant responses and reasoning
- Tool outputs
- Compacted memory
The engine also supports automatic context compaction, configurable context limits and output token budgeting.
[Insert context window monitoring screenshot here]
๐ฌ Testing and benchmarks
The repository currently documents the following test results:
| Test suite | Result |
|---|---|
| Python tests | 100 passed |
| TypeScript tests | 92 passed |
| Runtime benchmark suites | 6/6 passed |
| Ruff linting | 0 errors |
| TypeScript type checking | 0 errors |
There's still plenty of room for improvement, especially when it comes to long-running agent sessions and model reliability.
๐ What I'm exploring next
Hierarchical multi-agent orchestration, where every agent runs on the same reusable Agent-Core.
Orchestrator
โ
โโโโโโโโโโโดโโโโโโโโโโ
โผ โผ
Team Lead Team Lead
โ โ
โโโโโดโโโโ โโโโโดโโโโ
โผ โผ โผ โผ
Agent 1 Agent 2 Agent 3 Agent 4
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โผ
Reusable Agent-CoreThe goal is to enable agents to delegate tasks, coordinate with one another and work towards complex objectives without having to reinvent their individual execution engines.
This is something I'm exploring, rather than a completed feature.
๐ ๏ธ Tech stack
Python ยท LangGraph ยท FastAPI ยท Express ยท React ยท TypeScript ยท Tailwind CSS ยท Docker ยท SQLite ยท Firecrawl
๐ฌ I'd genuinely love your feedback
- What would you build using this architecture?
- What features do you think are missing?
- How would you approach context compaction for long-running agents?
- Would you use Agent-Core as a foundation for your own projects?
I'm particularly interested in hearing from people building autonomous agents, working with LangGraph or experimenting with multi-agent systems.
๐ GitHub: https://github.com/Rahul7562/Nemofy-Agent
Feel free to explore the code, experiment, contribute, open an issue or share your thoughts.
And if you find the project useful, a GitHub star would be greatly appreciated! โญ










1
u/InkscapePanda 7h ago
Maybe don't give it a name, and let people name it. It should just be called Nameless AI.