独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
R

RailtownAI/railtracks

An agentic framework that helps developers build resilient agentic systems

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:pip install 'railtracks[visual]'

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
235 ★ · RailtownAI/railtracks · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-30 · 最近见到 2026-11-14 · 共见到 16 次 · 被 1 个来源列出
评分构成
综合分 103 · 235 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 RailtownAI/railtracks;我们收录于 2026-10-30;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Railtracks

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Own the AI!
Assemble a custom agent harness in plain Python. The loop, the tools, the context, the controls, the record. All yours.
## What is Railtracks?
Railtracks is a Python agent framework for building your own agents and/or harness. Every piece is an ordinary Python object you assemble yourself: a tool-calling loop, a tool surface of functions, sub-agents and MCP servers, context management, permission and budget controls, and a replayable record of every run. No YAML, no DSL, no black-box runtime.
python
import railtracks as rt
# Define a tool (just a function!)
def getweather(location: str) -> str:
"""Get the current weather for a location."""
return f"It's sunny in {location}!"
# Create an agent with tools
# agentnode returns a class, so use PascalCase
WeatherAgent = rt.agentnode(
"Weather Assistant",
# Alternatively, use @rt.functionnode at def time
toolnodes=[rt.functionnode(getweather)],
llm=rt.llm.OpenAILLM("gpt-6-luna"),
systemmessage="You help users with weather information.",
# Run it
flow = rt.Flow(name="Weather Flow", entrypoint=WeatherAgent)
result = flow.invoke("What's the weather in Paris?")
# or await flow.ainvoke("What's the weather in Paris?") in an async context
print(result.content) # "Based on the current data, it's sunny in Paris!"
Execution order, branching, and looping are expressed using standard Python control flow.
## What is an agent harness?
Everything around the model call. The model brings judgment. The harness brings the loop that keeps calling it, the tools it can reach, what lands in its context, the limits on what it may do, and the record of what it did. Change your model tomorrow and the harness is what you still own.
Five parts. Take the ones your problem needs, wire them together in plain Python, leave the rest out.
| Part | What it decides | Railtracks primitives |
| Loop | When the agent keeps going, and when it's done | rt.agentnode runs the tool-calling loop; rt.Flow and rt.call drive multi-step work |
| Tool surface | What the agent can actually do | rt.functionnode, rt.ToolManifest for agents-as-tools, rt.connectmcp for MCP servers |
| Context | What the model sees on this turn | systemmessage, rt.context, todo and key-value memory toolsets, retrieval |
| Controls | What it's allowed to do, and how much of it | MaxCalls, Timeout, Retry, Lock, human-in-the-loop verifiers, guardrails |
| Record | What happened, and whether you can replay it | Session state, railtracks viz --beta, rt.evaluations.evaluate |
The shapes this usually takes:
Coding harness. Read, edit, and shell tools, a todo list that survives across turns, human approval on anything that touches the working tree. Runnable in examples/harness/codingharness.py.
Research harness. Search and fetch, retrieval over what it has gathered, memory for findings, a structured-output pass to force the report into a schema.
Operations harness. A few high-consequence tools, each behind a real approver, with an audit trail you can hand to someone else.
Start with the Agent Harness guide, or run the harness examples as they are: a read-only harness in under 80 lines, and a coding harness whose file writes and shell commands each stop for your approval.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/railtownai-railtracks/)
来源
github · https://github.com/RailtownAI/railtracks
按领域浏览
开源项目
Traction
235 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引