newsence
來源篩選

Nano Agent: A Minimalist Python Library for Building AI Agents Using DAGs

Hacker News

Nano agent is a new, minimalistic Python library designed for building AI agents. It leverages functional, immutable Directed Acyclic Graph (DAG) operations, allowing for clear conversation flows and parallel tool execution.

newsence

Nano Agent:一個使用 DAG 建構 AI Agent 的極簡 Python 函式庫

Hacker News
大約 1 個月前

AI 生成摘要

Nano agent 是一個新推出的極簡 Python 函式庫,專為建構 AI Agent 而設計。它利用函數式、不可變的有向無環圖(DAG)操作,實現清晰的對話流程和並行工具執行。

GitHub - NTT123/nano-agent: nano agent

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

nano agent

NTT123/nano-agent

Folders and files

Latest commit

History

Repository files navigation

nano agent

A minimalistic Python library for building AI agents using functional, immutable DAG operations.

Features

Functional & Immutable - The DAG is immutable. Every operation returns a new instance. No hidden state, no mutations, easy to reason about.

Conversation Graph - Everything is a node in a directed acyclic graph: system prompts, messages, tool calls, results. Branch and merge for parallel tool execution.

Built-in Tools - BashTool, ReadTool, WriteTool, EditTool, GlobTool, SearchTool, PythonTool.

Visualization - Print any DAG to see the conversation flow, or export to HTML:

Claude Code Auth - Reuse your Claude Code subscription. No API keys needed.

Quick Start

Installation

Documentation

nano-tui

Image

Simple terminal UI for debugging:

License

MIT

About

nano agent

Resources

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

Packages

0

Contributors

2

Uh oh!

There was an error while loading. Please reload this page.

Languages

Footer

Footer navigation