Download the PHP package memcode/neuron-ai without Composer
On this page you can find all versions of the php package memcode/neuron-ai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download memcode/neuron-ai
More information about memcode/neuron-ai
Files in memcode/neuron-ai
Package neuron-ai
Short Description Durable long-term memory tools for Neuron AI agents, powered by Memcode.
License MIT
Homepage https://memcode.in
Informations about the package neuron-ai
Memcode for Neuron AI
Durable long-term memory tools for Neuron AI, powered by Memcode.
The package follows Neuron's toolkit extension pattern. It keeps Neuron's current chat history intact while giving agents explicit tools to save, inspect, search, and retrieve durable memory across conversations.
Install
Requires PHP 8.1+ and Neuron AI 3.x.
Configure
Create an API key in Memcode and expose it to your application:
The constructor accepts any valid Memcode bearer credential, including a server-issued OAuth access token.
Add durable memory to an agent
Neuron automatically registers the toolkit guidelines and these tools:
| Tool | Purpose |
|---|---|
save_memory |
Start a durable asynchronous memory ingest job |
get_memory_ingest_status |
Check the status of an ingest job |
list_memories |
Page through stored memories |
search_memories |
Search extracted memories and original chunks |
retrieve_answer |
Answer a question from memory with ranked sources |
Select tools
Neuron toolkits support only() and exclude():
Self-hosted API
Pass a different API base URL as the second argument:
Authentication and attribution
Identity and integration attribution are derived by the Memcode authorization server from the bearer credential. This package intentionally does not accept or send caller-controlled user_id, integration_id, channel, or verification fields.
- API-key requests are attributed as direct API usage.
- OAuth access tokens retain the server-issued integration attribution associated with the authorization flow.
Never put credentials in prompts or tool arguments. Configure the token only when constructing the toolkit.
Development
The tests use Guzzle's mock handler and do not call the live Memcode service.
License
MIT