{"id":23246,"library":"amplifier-core","title":"Amplifier Core","description":"A Rust kernel with Python bindings for the Amplifier modular AI agent framework, providing high-performance agent execution, tool management, and memory systems. Current version: 1.4.1, requires Python >=3.11. Release cadence is irregular, primarily driven by Microsoft Research.","status":"active","version":"1.4.1","language":"python","source_language":"en","source_url":"https://github.com/microsoft/amplifier-core","tags":["ai","agent-framework","rust","microsof","amplifier"],"install":[{"cmd":"pip install amplifier-core","lang":"bash","label":"Install from PyPI"},{"cmd":"pip install amplifier-core==1.4.1","lang":"bash","label":"Pin specific version"}],"dependencies":[{"reason":"Required for tensor/matrix operations in agent memory and embeddings.","package":"numpy","optional":false},{"reason":"Rust-Python bridge, but installed automatically with the package.","package":"pyo3","optional":true}],"imports":[{"wrong":"from amplifier import Agent","symbol":"AmplifierSession","correct":"from amplifier_core import AmplifierSession"},{"symbol":"ChatRequest","correct":"from amplifier_core import ChatRequest"},{"symbol":"ChatResponse","correct":"from amplifier_core import ChatResponse"}],"quickstart":{"code":"import os\nfrom amplifier import Agent, Tool\nfrom amplifier.tools import Tool\nfrom amplifier.memory import MemorySystem\n\n# Define a custom tool\ndef search(query: str) -> str:\n    return f\"Search result for {query}\"\n\nsearch_tool = Tool(name=\"search\", func=search)\n\n# Initialize agent\nagent = Agent(\n    name=\"my_agent\",\n    system_prompt=\"You are a helpful assistant.\",\n    tools=[search_tool],\n    memory=MemorySystem()\n)\n\n# Run the agent\nresponse = agent.run(\"What is the weather?\")\nprint(response)","lang":"python","description":"Demonstrates setting up a basic agent with a custom tool and memory system."},"warnings":[{"fix":"Replace all 'import amplifier_core' with 'import amplifier' and adjust submodule imports accordingly.","message":"In version 1.0.0, the import path changed from 'amplifier_core' to 'amplifier'. All code using 'amplifier_core' will break.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Run 'pip install --upgrade pip setuptools' and consider installing 'maturin' if building from source.","message":"The library uses Rust for performance; on some platforms (e.g., M1/M2 Macs) you may need to install Rust toolchain or use pre-built wheels. If installation fails, ensure you have the latest pip and setuptools.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace 'AsyncAgent' with 'Agent' and call agent.run_async() if needed.","message":"The 'AsyncAgent' class is deprecated in version 1.4.0 and may be removed in future releases. Use 'Agent' with async methods instead.","severity":"deprecated","affected_versions":">=1.4.0"}],"env_vars":null,"search_vec":"'1.4.1':29 '3.11':32 'agent':14,20,44 'agent-framework':43 'ai':13,42 'amplifi':1,11,48 'bind':8 'cadenc':34 'core':2 'current':27 'driven':38 'execut':21 'framework':15,45 'high':18 'high-perform':17 'irregular':36 'kernel':5 'manag':23 'memori':25 'microsof':47 'microsoft':40 'modular':12 'perform':19 'primarili':37 'provid':16 'python':7,31 'releas':33 'requir':30 'research':41 'rust':4,46 'system':26 'tool':22 'version':28","created_at":"2026-05-01T08:06:43.635613+00:00","updated_at":"2026-05-01T08:06:43.635613+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.6.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/microsoft/amplifier-core","docs":"https://github.com/microsoft/amplifier-core/tree/main/docs","changelog":null,"pypi":"https://pypi.org/project/amplifier-core/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}