Model card: how to use Carbon-X as a tool for an agent

#1
by danaaubakirova HF Staff - opened
Hugging Face Biology Research org
•
edited 1 day ago

Adds a Using Carbon-X as a tool for an agent section to the model card, placed before Limitations (and in the table of contents). It shows a short ask_carbon function that calls a Carbon-X vLLM server, links to ready-to-run examples, and lists tips for agent use.

New files:

  • examples/agent_tool.py: an OpenAI-style tool that passes DNA by reference, plus a minimal agent loop, for any chat model with tool calling.
  • examples/inspect_agent.py: an Inspect @tool and react() agent, with each sample's DNA kept in metadata.
  • skills/carbon-dna/: a skill for Claude Code and Codex CLI. SKILL.md plus a standard-library script with ask (a question about named DNA files) and compare (rank equal-length variants by sequence likelihood), configured with CARBON_BASE_URL.
danaaubakirova changed pull request status to merged

Sign up or log in to comment