agentica
Basic Information
Agentica is an open source AI function calling framework designed to let developers convert TypeScript functions, OpenAPI/Swagger documents, or an MCP (Model Context Protocol) server into working AI agents. Its primary purpose is to remove the manual work and instability around LLM function calling by automatically building and managing function schemas, handling vendor differences in JSON Schema and OpenAPI, and providing tooling to expose functions as agent controllers. The project targets TypeScript and backend developers and supplies a CLI setup wizard to scaffold projects, a WebSocket protocol for non-standalone server projects, and an interactive playground for demos. Agentica emphasizes compiler-driven generation of schemas, validation feedback to detect and correct argument mistakes, and a selector agent for filtering candidate functions so agents are efficient and reliable. The repository includes documentation, tutorials, and examples showing how to wire OpenAI and other vendors to controllers for tasks like e-commerce or content retrieval.