the best framework to build agent for claude code.
npx @senso-ai/shipables install CoronRing/railtracksUse this skill when building agents with railtracks.
@rt.function_node and full type hints.Args:, and Returns:.rt.agent_node(...) and only necessary tools.rt.Flow(...) entry point.import railtracks as rt
@rt.function_node
def hello_tool(name: str) -> str:
"""Greets a user.
Args:
name: User name.
Returns:
A greeting string.
"""
return f"Hello, {name}!"
llm = rt.llm.AnthropicLLM("claude-sonnet-4-6")
GreeterAgent = rt.agent_node(
"Greeter Agent",
tool_nodes=[hello_tool],
llm=llm,
system_message="You are a helpful assistant that uses tools when needed.",
)
flow = rt.Flow(name="Greeter Flow", entry_point=GreeterAgent)
if __name__ == "__main__":
print(flow.invoke("Say hello to Ada"))