JIT Code Generation
Define what you want, not how. Anvil generates working Python code from natural language intents.
Traditional AI agents suffer from Tool Rot - hardcoded integrations that break when APIs change. Anvil solves this by generating tool implementations at runtime using LLMs.
JIT Code Generation
Define what you want, not how. Anvil generates working Python code from natural language intents.
Self-Healing
When tools fail, Anvil automatically regenerates them with the error context. No manual intervention needed.
Framework Agnostic
Works with LangChain, CrewAI, AutoGen, OpenAI Agents SDK, or standalone. One tool, every framework.
Glass-Box Transparency
All generated code is visible, editable, and version-controlled. No black boxes.
from anvil import Anvil
anvil = Anvil()
# Define what you want, not howsearch_tool = anvil.use_tool( name="search_notion", intent="Search a Notion workspace for pages matching a query", docs_url="https://developers.notion.com/reference/post-search")
# Execute - code is generated automaticallyresult = search_tool.run(query="Project Roadmap")
# Use with any frameworklc_tool = search_tool.to_langchain()crew_tool = search_tool.to_crewai()pip install anvil-agentWith Claude support (recommended):
pip install "anvil-agent[anthropic]"